logo       

Re: Build problem: msg#00007

java.enhydra.xmlc

Subject: Re: Build problem


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
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise