xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] JDK 1.5 with xom and no external parser
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <whoschek AT lbl.gov>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] JDK 1.5 with xom and no external parser
- Date: Sun, 15 Aug 2004 11:50:42 -0400
I don't want to distribute two different versions of XOM, one with and one without the class. Chances are too good that someone will use the wrong distro with the wrong version.
For the moment I've added a separate source15 tree that contains just this one class. By keeping it in a separate source directory I can keep it out of the way of tools that only support Java 1.4 (e.g. Eclipse).
I've also added a compile15 target to the build.xml file that builds just this one class and puts it in a separate classes15 directory. The regular compile target just copies the .class file from the classes15 directory into the finished build/classes directory from which the jars and other files are built. I'll distribute the classes15 directory and the JDK15XML1_0Parser class in the zip and .tar.gz files. Otherwise I don't distribute the individual compiled .class files.
This seems to work under both Java 1.4 and 1.5. However, it will need to be tested more thoroughly during the beta period.
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
-
[XOM-interest] JDK 1.5 with xom and no external parser,
Wolfgang Hoschek, 08/13/2004
- Re: [XOM-interest] JDK 1.5 with xom and no external parser, Elliotte Rusty Harold, 08/13/2004
-
Re: [XOM-interest] JDK 1.5 with xom and no external parser,
Elliotte Rusty Harold, 08/14/2004
-
Re: [XOM-interest] JDK 1.5 with xom and no external parser,
Wolfgang Hoschek, 08/14/2004
- Re: [XOM-interest] JDK 1.5 with xom and no external parser, Elliotte Rusty Harold, 08/15/2004
-
Re: [XOM-interest] JDK 1.5 with xom and no external parser,
Wolfgang Hoschek, 08/14/2004
Archive powered by MHonArc 2.6.24.