|
Re: Build problem: msg#00009java.enhydra.xmlc
I don't know which "root" you talked about. Let me copy the error messages which I run under three different directories: /******1********/ D:\Programs\cvs\XMLC\xmlc>ant Buildfile: build.xml prepare: [mkdir] Created dir: D:\Programs\cvs\XMLC\xmlc\classes copy: BUILD FAILED file:D:/Programs/cvs/XMLC/xmlc/build.xml:55: Must specify a file not a directory in the filtersfile attribute:D:\Programs\cvs\build\runtime.filters Total time: 2 seconds D:\Programs\cvs\XMLC\xmlc>cd .. D:\Programs\cvs\XMLC>ant Buildfile: build.xml lib: call-subprojects: init: BUILD FAILED file:D:/Programs/cvs/XMLC/libraries/util/modules/junitTivano/build.xml:79: taskd ef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found Total time: 1 second /******2********/ D:\Programs\cvs\XMLC\xmlc>ant Buildfile: build.xml prepare: copy: BUILD FAILED file:D:/Programs/cvs/XMLC/xmlc/build.xml:55: Must specify a file not a directory in the filtersfile attribute:D:\Programs\cvs\build\runtime.filters Total time: 2 seconds /******3********/ D:\Programs\cvs\XMLC\xmlc\modules\xmlc>ant Buildfile: build.xml init: BUILD FAILED file:D:/Programs/cvs/XMLC/xmlc/modules/xmlc/build.xml:111: taskdef class org.apa che.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found Total time: 2 seconds --- Jacob Kjome <hoju@xxxxxxxx> wrote: > > I take that back. There does seem to be something > wrong with running the > tests. However, if you just do cd to the root of > the project build and > type "ant", that will run the "lib" target which > will succeed under > Ant-1.5.1 and ant-1.5.2beta1. > > Don't bother with the cygwin environment. Just do > it from the normal > command line. > > Jake > > At 03:17 PM 3/1/2003 -0600, you wrote: > > >Are you sure? What makes it incompatible? I use > Ant-1.5.1 to build > >XMLC. As far as the JUnit stuff goes, you need to > put the JUnit jar file > >in ANT_HOME/lib in order for it to work. This is > because the JUnit task > >is part of the optional task which are in > ANT_HOME/lib. The JUnit > >libraries must come from the same classloader (or > higher...such as > >jre/ib/ext) as the optional tasks. I use > JUnit-3.8.1. > > > >Jake > > > >At 02:18 AM 3/2/2003 +0800, you wrote: > >>The XMLC build.xml isn't compatible with the > 1.5.1. The 1.4 Ant is > >>included with the source and you can take a look > at the build.sh and > >>maybe write a build.bat for building on Windows. > >> > >>By the way, the binary distribution of the XMLC > 2.2 Alpha 3 is at: > >> > >>http://homepage.mac.com/taweili/XMLC.html > >> > >>David > >> > >> > >>On Sunday, Mar 2, 2003, at 01:51 Asia/Shanghai, > Xue-Feng Yang wrote: > >> > >>>I tried to chechout the source by pserver, but no > >>>luck. > >>> > >>>The error message is attched. > >>> > >>>The problem may be the version of the ant. Could > >>>anyone please tell me what version of ANT for > building > >>>XMLC? If anyone met this before, please help me. > >>> > >>>I use JDK 1.4.1 and Ant 1.5.1. > >>> > >>>Thanks > >>> > >>>/******************************/ > >>> > >>>D:\XMLC>ant > >>>Buildfile: build.xml > >>> > >>>lib: > >>> > >>>call-subprojects: > >>> > >>>init: > >>> > >>>BUILD FAILED > >>>file:D:/Programs/cvs/XMLC/libraries/util/modules/junitTivano/ > build.xml:79: > >>>taskdef class > >>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask > >>>cannot be found > >>> > >>>Total time: 1 second > >>> > >>> > >>> > >>>______________________________________________________________________ > >>>Post your free ad now! http://personals.yahoo.ca > >>>_______________________________________________ > >>>XMLC mailing list > >>>XMLC@xxxxxxxxxxx > >>>http://www.enhydra.org/mailman/listinfo.cgi/xmlc > >> > >>_______________________________________________ > >>XMLC mailing list > >>XMLC@xxxxxxxxxxx > >>http://www.enhydra.org/mailman/listinfo.cgi/xmlc > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Build problem, Xue-Feng Yang |
|---|---|
| Next by Date: | Re: Build problem, David Li |
| Previous by Thread: | Re: Build problem, Jacob Kjome |
| Next by Thread: | Re: Build problem, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |