<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Let's go inside

    this blog is deprecated as a result of laziness.
    posts - 59, comments - 2, trackbacks - 0, articles - 0

    XMLBuddy配置

    Posted on 2006-07-17 13:18 Earth 閱讀(1015) 評論(0)  編輯  收藏 所屬分類: Java

    XmlBuddy使手寫ant,spring, hibernate等具有DTD文件的xml配置文件成為可能!是Eclipse下不可多得的插件。
    下載XMLBuddy的配置文件及本例中出現的DTD文件
    download
    D:\eclipse\myplugins\xmlbuddy\eclipse\plugins\com.objfac.xmleditor_2.0.72\.cache\meta.xml中加入

    < file >
    < pub > -//SPRING//DTD?BEAN//EN </ pub >
    < abs > http://www.springframework.org/dtd/spring-beans.dtd </ abs >
    < rel > spring-beans.dtd </ rel >
    </ file >

    < file >
    < pub > -//Hibernate/Hibernate?Mapping?DTD?3.0//EN </ pub >
    < abs > http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd </ abs >
    < rel > hibernate-mapping-3.0.dtd </ rel >
    </ file >

    < file >
    < pub > -//Hibernate/Hibernate?Configuration?DTD?3.0//EN </ pub >
    < abs > http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd </ abs >
    < rel > hibernate-configuration-3.0.dtd </ rel >
    </ file >

    < file >
    < pub > -//ANT?1.6.5/DTD//EN </ pub >
    < abs > http://xmlbuddy.com/DTD/ant165.dtd </ abs >
    < rel > ant165.dtd </ rel >
    </ file >


    前三者DTD直接到網上下并copy到.cache目錄

    Where Is Ant's DTD?
    One of the first things I noticed about Ant was that it didn't have an explicit DTD available in the archives I downloaded, either the binary or source archive. I wanted to see Ant's DTD so I could figure out what went into a build file. Then I discovered the antstructure task. This task in essence extracts a DTD from Ant's source code.

    The following snippet is a simple Ant build file that uses the antstructure task (build-dtd.xml in the example archive):

    <? xml?version="1.0" ?>
    < project? default ="dtd" >
    ?
    < target? name ="dtd" >
    ??
    < antstructure? output ="ant.dtd" />
    ?
    </ target >
    </ project >

    OK,接下來,選擇window->preferences->XMLBuddy->XML->Validation->DTD然后new 三個"assume DTD if root matches"分別是hibernate-mapping, hibernate-configuration, beans這樣在寫xml文件時只要指定了root名,XMLBuddy就會自動關聯到預先指定的DTD文件,給出代碼提示,非常棒。。。

    主站蜘蛛池模板: 亚洲av中文无码| 永久在线毛片免费观看| 久久久青草青青亚洲国产免观| 免费人成大片在线观看播放电影| 免费无码又爽又刺激高潮| 亚洲午夜无码久久| 好男人视频在线观看免费看片| 亚洲熟伦熟女专区hd高清| 日韩精品免费一区二区三区| 人人狠狠综合久久亚洲| 亚洲va中文字幕无码| 中文永久免费观看网站| 亚洲av中文无码乱人伦在线咪咕| A级毛片高清免费视频在线播放| 亚洲精品亚洲人成在线观看| 一个人免费视频在线观看www| 亚洲成a人片77777老司机| 在线观看www日本免费网站| 亚洲人成网站日本片| 日本免费人成黄页在线观看视频| 成a人片亚洲日本久久| 亚洲熟女少妇一区二区| 免费看又黄又无码的网站| 亚洲不卡1卡2卡三卡2021麻豆| 国内自产少妇自拍区免费| 337p日本欧洲亚洲大胆人人 | www亚洲精品少妇裸乳一区二区| 一区二区免费在线观看| 亚洲欧洲日产国码av系列天堂| 国产成人精品免费视频大| 亚洲爆乳AAA无码专区| 国产av无码专区亚洲av果冻传媒 | 色噜噜噜噜亚洲第一| 成年人免费的视频| 亚洲人片在线观看天堂无码 | 精品亚洲综合在线第一区| 五月婷婷在线免费观看| 亚洲hairy多毛pics大全| 国产成人精品日本亚洲网站 | 59pao成国产成视频永久免费 | 国产免费黄色大片|