[jdom-interest] jdom-contrib

JS smartt at dcs.kcl.ac.uk
Mon Mar 31 00:43:02 PST 2003

Hi there Brad,
many thanks for your reply. Indeed, I was able to download the nitely
drop. But the jar won't build. I try executing build.bat but no response.I have Ant 1.5 installed on my C:\ant
The ant.jar is in my classpath and I have jdom-b8 installed as well.
Any idea what I'm missing in order to create the jdom-contrib jar file?

I get a response when I enter "ant package"
The build starts and then fails during the compile. I cant capture all of
the ant output, but heres some of it.

C:\Project\jdom-contrib>ant package -v >logfile.txt
Apache Ant version 1.5 compiled on July 9 2002
Buildfile: build.xml
Detected Java version: 1.4 in: C:\J2SDK1.4.1_01\JRE
Detected OS: Windows 98
parsing buildfile build.xml with URI = file:C:/Project/jdom-contrib/build.xml
Project base dir set to: C:\Project\jdom-contrib

[available] Unable to load class com.sun.java.util.collections.Collection
to set property coll.present


  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
     [java] The jvmargs attribute is deprecated. Please use nested jvmarg
     [java] The args attribute is deprecated. Please use nested arg elements.
     [java] Executing 'C:\J2SDK1.4.1_01\JRE\bin\java.exe' with arguments:
     [java] '-classpath'
     [java] 'antlr.Tool'
     [java] '-o'
     [java] './build/src/org/jdom/contrib/xpath/parser/'
     [java] './build/src/org/jdom/contrib/xpath/parser//xpath.g'
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
    C:\Project\jdom-contrib\build\src\org\jdom\contrib\beans\DateUtils.java:89: warning: Date(java.lang.String) in java.util.Date has been deprecated
    [javac]         date = new Date(s);
    [javac]                    ^
    [javac] 7 errors
    [javac] 4 warnings

file:C:/Project/jdom-contrib/build.xml:186: Compile failed; see the
compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 49 seconds

All advice appreciated.


> "JS" writes:
>> Hi there,
>> does anyone have access a current copy of the jdom-contrib package to
>> hand. I'm after the resultSetBuilder class but cannot get my CVS to
>> run.
>> It is kind of urgent, any other ideas on how to get hold of the
>> package would be greatly appreciated. I have searched everywhere and
>> have had no results.
>> Thanks in advance.
>> JS
> There is also a nitely drop of jdom-contrib at
> http://www.jdom.org/dist/nightly.
> Brad
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list