Re: Barracuda: Howto build with 1.3.1 + a question

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi Franck,

Because, at least under j2sdk1.4.x, the JUnit jar must exist in 
ANT_HOME/lib in order for things to work properly.  Putting it in a custom 
build.xml specified classpath doesn't cut it.  Were you actually able to 
run the unit tests with JUnit jar in WEB-INF/jars and only reference via 
the custom build.xml classpath?  Try commenting that back out and put the 
JUnit jar in ANT_HOME/lib.  That is really where it should go anyway.  Let 
me know if the tests run properly.  Sorry, I have no experience using Ant 
or Barracuda with IBM's JDK and haven't used Sun's JDK 1 3.x for quite a 
while.  I currently use j2sdk1.4.1_01.

BTW, you are right to have downloaded Ant-1.5.1.  That is required for the 
current CVS and you were also right to replace the XercesImpl.jar with the 
Xerces that comes with Barracuda.  In j2sdk1.4.x you could solve the Xerces 
issue by leaving the ones that come with Ant alone and just put 
Xerces-1.4.1-xmlc-2.1.jar in JAVA_HOME/jre/lib/endorsed.

Jake

At 02:03 PM 11/30/2002 +0100, you wrote:
>Hi all,
>
>I just checked out a clean fresh CVS version of Barracuda, as my local 
>directory was quite screwed up.
>
>I'm using jdk 1.3.1 from IBM.
>So no endorsed directory...
>
>What I had to do is :
>
>1) download and install ant's latest version (was 1.5.1).
>2) replace xercesImpl.jar in $ANT_HOME/lib with 
>Barracuda/WEB-INF/jars/xerces-1.4.4-xmlc-2.1.jar
>3) uncomment references to junit.jar in Barracuda/src/build.xml
>
>I also created a build.properties file in Barracuda/src with 
>build.compiler=jikes in it, but of course, this is only an option 
>(although jikes is free and fast, mucu faster than sun's javac).
>
>Just a question, is there a reason why references to junit.jar are 
>commented out in build.xml ?
>
>
>Franck
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/barracuda
>FAQ - http://www.jguru.com/faq/Barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.