zoukankan      html  css  js  c++  java
  • eclipse(xmlbuddy插件)为xml文件自动提示(同MyEclipse编辑XML的提示功能),以spring配置文件为例

    先上一张图,

    window -> Preference... -> XML ->XML Catalog

    选择:选中“User Specified Entries”,点击“Add...”按钮

    点“File System”按钮,选择“spring-beans-3.0.xsd”文件

    key type:选择Schema Location
    按OK

    eclipse将这些配置保存在文件:

    eclipse工作空间workspace\.metadata\.plugins\org.eclipse.wst.xml.core\user_catalog.xml文件中:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
      <system systemId="http://www.springframework.org/schema/beans" uri="file:///D:/eclipse3.6/eclipse/dropins/com.objfac.xmlbuddy-V2.0.9/spring/spring-beans-3.0.xsd"/>
      <system systemId="http://www.springframework.org/schema/aop" uri="file:///D:/eclipse3.6/eclipse/dropins/com.objfac.xmlbuddy-V2.0.9/spring/spring-aop-3.0.xsd"/>
      <system systemId="http://www.springframework.org/schema/jee" uri="file:///D:/eclipse3.6/eclipse/dropins/com.objfac.xmlbuddy-V2.0.9/spring/spring-jee-2.5.xsd"/>
      <system systemId="http://www.springframework.org/schema/security" uri="file:///D:/eclipse3.6/eclipse/dropins/com.objfac.xmlbuddy-V2.0.9/spring/spring-security-3.0.xsd"/>
      <system systemId="http://www.springframework.org/schema/jdbc" uri="file:///D:/eclipse3.6/eclipse/dropins/com.objfac.xmlbuddy-V2.0.9/spring/spring-jdbc-3.0.xsd"/>
    </catalog>
  • 相关阅读:
    设备接入项目杂记
    用lucene替代mysql读库的尝试
    node(ActiveMq)
    mysql集群(双主)
    mysql集群(主从)
    DoraCMS 源码知识点备注
    Flex使用Scroller组件实现以鼠标为中心的缩放
    JQuery Mobile Popup窗口定位
    Flex Builder 不能Profile的另一个原因:不能使用中文用户名
    STM32407入门笔记
  • 原文地址:https://www.cnblogs.com/jifeng/p/2398071.html
Copyright © 2011-2022 走看看