<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文件,給出代碼提示,非常棒。。。

    主站蜘蛛池模板: 嫖丰满老熟妇AAAA片免费看| 国产精品美女免费视频观看| 日本黄网站动漫视频免费| 亚洲日韩小电影在线观看| 一级毛片免费毛片毛片| 亚洲人AV永久一区二区三区久久| 亚洲AV成人无码网天堂| 四虎成人精品在永久免费| 在线观看免费亚洲| 日韩亚洲国产综合久久久| 国产精品观看在线亚洲人成网| 国产精品无码一二区免费 | 亚洲精品综合久久| 美女羞羞免费视频网站| 免费A级毛片在线播放不收费| 羞羞的视频在线免费观看| 亚洲国产精品不卡毛片a在线| 一级毛片免费毛片毛片| 国产亚洲精品a在线观看app | 亚洲AV无码成人精品区狼人影院 | 国产亚洲精品福利在线无卡一| 国产成人精品免费大全| 亚洲AV无码一区东京热久久| 亚洲午夜免费视频| 亚洲视频一区二区三区四区| 午夜影视在线免费观看| 成人精品综合免费视频| 亚洲爆乳精品无码一区二区三区| 久久精品无码专区免费青青| 国产精品亚洲精品| 亚洲精品美女久久久久99小说| 成人A片产无码免费视频在线观看| 久久久久久久亚洲Av无码| 在线观看的免费网站| 国产精品亚洲综合| 亚洲国产成人私人影院| 国产福利在线免费| h视频免费高清在线观看| 精品亚洲麻豆1区2区3区| 国产美女无遮挡免费网站| 国产真人无码作爱免费视频|