<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 閱讀(1006) 評論(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文件,給出代碼提示,非常棒。。。

    主站蜘蛛池模板: 久久精品a亚洲国产v高清不卡 | 成年性羞羞视频免费观看无限| 亚洲色精品vr一区二区三区| 免费一级全黄少妇性色生活片| 日本xxwwxxww在线视频免费| 亚洲国产成人手机在线观看| 日韩免费视频网站| 污视频网站免费观看| 亚洲国产一区明星换脸| 国产久爱免费精品视频 | 亚洲国产成人高清在线观看| www免费黄色网| 亚洲欧洲∨国产一区二区三区 | 国产成人精品久久免费动漫| 亚洲冬月枫中文字幕在线看| 成人黄动漫画免费网站视频 | 亚洲人成色7777在线观看| 日韩精品在线免费观看| 久久亚洲精精品中文字幕| 最近2019中文字幕免费大全5| 亚洲成人福利在线观看| 成人毛片免费视频| 草久免费在线观看网站| 亚洲爆乳精品无码一区二区三区| 最近中文字幕完整免费视频ww| 国产成人精品日本亚洲11| 国产精品黄页在线播放免费| 国产精品九九久久免费视频| 久久久婷婷五月亚洲97号色| 最近中文字幕mv免费高清视频7 | 亚洲国产日韩在线人成下载| 精品国产免费观看久久久| h在线看免费视频网站男男| 久久夜色精品国产嚕嚕亚洲av| 18禁免费无码无遮挡不卡网站| 亚洲AV无码AV吞精久久| 国产偷v国产偷v亚洲高清| 色se01短视频永久免费| 一边摸一边桶一边脱免费视频| 亚洲高清中文字幕综合网| 国产真人无遮挡作爱免费视频|