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

    主站蜘蛛池模板: 亚洲伊人精品综合在合线| 免费一看一级毛片| 亚洲人成在线电影| 国产一区二区三区免费| 亚洲国产精品无码久久久蜜芽| 一级特黄录像免费播放中文版| mm1313亚洲国产精品美女| 亚洲av日韩综合一区久热| 国产免费午夜a无码v视频| 色网站在线免费观看| 亚洲日韩中文字幕日韩在线| 2022国内精品免费福利视频| 亚洲中文字幕无码中文字在线| 久久久WWW免费人成精品| 久久久久亚洲AV成人无码| 99热在线免费播放| 国产精品亚洲四区在线观看| 青青青国产免费一夜七次郎| 大桥未久亚洲无av码在线| 亚洲国产精品碰碰| 久久美女网站免费| 亚洲影视一区二区| 日本不卡免费新一二三区| 七次郎成人免费线路视频| 亚洲成av人影院| AV片在线观看免费| 老湿机一区午夜精品免费福利| 国产成人精品久久亚洲| 久久国产精品一区免费下载| 亚洲精品中文字幕无码AV| 永久黄网站色视频免费观看| 一级毛片免费毛片毛片| 亚洲国产香蕉碰碰人人| 24小时日本在线www免费的| 理论秋霞在线看免费| 亚洲AV中文无码字幕色三| 成年免费大片黄在线观看岛国| 精品一区二区三区免费毛片| 亚洲AV无码不卡在线播放| 久久精品a一国产成人免费网站| 色多多www视频在线观看免费|