Introduction to the JDOM project
================================
Please see the JDOM web site at http://jdom.org/.
How to use JDOM
===============
Please see the web site http://jdom.org/downloads/docs.html. It has links to
numerous articles and books covering JDOM.
Installing the build tools
==========================
The JDOM build system is based on Jakarta Ant, which is a Java building tool
originally developed for the Jakarta Tomcat project but now used in many other
Apache projects and extended by many developers.
Ant is a little but very handy tool that uses a build file written in XML
(build.xml) as building instructions. For more information refer to
"http://ant.apache.org".
The only thing that you have to make sure of is that the "JAVA_HOME"
environment property is set to match the top level directory containing the
JVM you want to use. For example:
C:\> set JAVA_HOME=C:\jdk1.2.2
(or jdk1.3.1, etc.)
or on Unix:
% setenv JAVA_HOME /usr/local/java
(csh)
> JAVA_HOME=/usr/java; export JAVA_HOME
(ksh, bash)
That's it!
Building instructions
=====================
Ok, let's build the code. First, make sure your current working directory is
where the build.xml file is located. Then type
./build.sh (unix)
.\build.bat (win32)
if everything is right and all the required packages are visible, this action
will generate a file called "jdom.jar" in the "./build" directory. Note, that
if you do further development, compilation time is reduced since Ant is able
to detect which files have changed and recompile them as needed.
If for some crazy reason you're still using JDK 1.1, please note that JDOM no
longer supports JDK 1.1 compiles. If you're despreate for JDK 1.1 support,
you can retrieve the CVS code from April 2nd, 2003, (use the -D flag). This
was the last day JDK 1.1 was supported. Then run the "build11" scripts.
If something went wrong, go to the FAQ at http://www.jdom.org/docs/faq.html.
Build targets
=============
The build system is not only responsible for compiling JDOM into a jar file,
but is also responsible for creating the HTML documentation in the form of
javadocs.
These are the meaningful targets for this build file:
- package [default] -> creates ./build/jdom.jar
- compile -> compiles the source code
- samples -> compiles example code
- javadoc -> generates the API documentation in ./build/javadocs
- clean -> restores the distribution to its original and clean state
For example, to build the samples, type
build samples
(Windows)
build.sh samples
(Unix)
To learn the details of what each target does, read the build.xml file. It is
quite understandable.
Bug Reports
===========
Bug reports go to the jdom-interest list at jdom.org. But *BEFORE YOU POST*
make sure you've tested against the LATEST code available from CVS (or the
daily snapshot). Odds are good your bug has already been fixed. If it hasn't
been fixed in the latest version, then when posting *BE SURE TO SAY* which
code version you tested against. For example, "CVS from October 3rd". Also
be sure to include enough information to reproduce the bug and full exception
stack traces. You might also want to read the FAQ at http://jdom.org to find
out if your problem is not really a bug and just a common misunderstanding
about how XML or JDOM works.
Searching for Information
=========================
The JDOM mailing lists are archived and easily searched at
http://jdom.markmail.org.
没有合适的资源?快使用搜索试试~ 我知道了~
jdom-1.1最新版
共167个文件
java:89个
xml:27个
class:13个
5星 · 超过95%的资源 需积分: 12 49 下载量 106 浏览量
2009-02-02
14:46:07
上传
评论
收藏 3.38MB ZIP 举报
温馨提示
jdom-1.1 jdom-1.1 jdom-1.1 jdom-1.1 jdom-1.1
资源推荐
资源详情
资源评论
收起资源包目录
jdom-1.1最新版 (167个子文件)
antRun 124B
build.bat 703B
XMLReaderBase.class 10KB
XMLWriter.class 9KB
XMLFilterBase.class 6KB
DataUnformatFilter.class 3KB
WarReader.class 3KB
DataFormatFilter.class 3KB
ReaderTest.class 3KB
XPathReader.class 3KB
DescendantDemo.class 2KB
FilterTest.class 2KB
SAXBuilderDemo.class 2KB
XSLTransform.class 1KB
DocumentReader.class 1023B
SAXBuilderTestEntity.dtd 217B
SAXBuilderTestEntity.dtd 217B
package.html 602B
package.html 514B
package.html 419B
package.html 351B
package.html 267B
package.html 177B
package.html 153B
xalan.jar 1.23MB
xerces.jar 937KB
ant.jar 715KB
jaxen-core.jar 157KB
jdom.jar 150KB
xml-apis.jar 122KB
saxpath.jar 23KB
jaxen-jdom.jar 6KB
Element.java 57KB
XMLOutputter.java 57KB
Verifier.java 52KB
SAXOutputter.java 51KB
XMLReaderBase.java 40KB
XMLReaderBase.java 40KB
SAXBuilder.java 38KB
XMLWriter.java 36KB
XMLWriter.java 36KB
SAXHandler.java 35KB
ContentList.java 31KB
Document.java 27KB
XMLFilterBase.java 26KB
XMLFilterBase.java 26KB
Attribute.java 25KB
JDOMResult.java 23KB
Format.java 21KB
DOMOutputter.java 19KB
XPath.java 18KB
JDOMSource.java 17KB
AttributeList.java 17KB
ProcessingInstruction.java 17KB
DOMBuilder.java 13KB
JDOMException.java 13KB
IllegalAddException.java 12KB
JDOMFactory.java 12KB
JaxenXPath.java 12KB
DataFormatFilter.java 12KB
DataFormatFilter.java 12KB
XSLTransformer.java 12KB
ContentFilter.java 11KB
Namespace.java 11KB
DataUnformatFilter.java 11KB
DataUnformatFilter.java 11KB
UncheckedJDOMFactory.java 10KB
JDOMAbout.java 10KB
DocType.java 9KB
Text.java 9KB
Parent.java 9KB
EntityRef.java 8KB
JAXPDOMAdapter.java 8KB
CDATA.java 8KB
JAXPParserFactory.java 7KB
XML4JDOMAdapter.java 7KB
AbstractDOMAdapter.java 7KB
XercesDOMAdapter.java 7KB
TextBuffer.java 7KB
DefaultJDOMFactory.java 7KB
JDOMParseException.java 7KB
ElementFilter.java 7KB
Content.java 7KB
OracleV2DOMAdapter.java 6KB
OracleV1DOMAdapter.java 6KB
CrimsonDOMAdapter.java 6KB
DescendantIterator.java 6KB
NamespaceStack.java 5KB
Comment.java 5KB
DOMAdapter.java 5KB
SAXBuilderDemo.java 5KB
SAXBuilderDemo.java 5KB
WarReader.java 5KB
WarReader.java 5KB
DescendantDemo.java 5KB
DescendantDemo.java 5KB
IllegalNameException.java 5KB
IllegalDataException.java 5KB
AndFilter.java 5KB
XPathReader.java 5KB
共 167 条
- 1
- 2
资源评论
- yj4279112016-10-18不错,挺好用的
coolszy
- 粉丝: 2662
- 资源: 34
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功