Re: Barracuda: Howto build with 1.3.1 + a question

franck routier <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

Jacob Kjome wrote:
> 
>> 1) Downloaded and install ant 1.5.1
>> 2) Downloaded xalan from xml.apache.org
>> 3) Copied xalan.jar from xalan in $ANT_HOME/lib
>> 4) Copied junit-3.8.1.jar from Barracuda/WEB-INF/jars in $ANT_HOME/lib
>> 5) Replaced xercesImpl.jar in $ANT_HOME/lib with 
>> xerces-1.4.4-xmlc-2.1.jar from Barracadu/WEB-INF/jars
>
> 
> I actually put the latest Xalan in the WEB-INF/jars directory as well.  
> Just updated it from 2.4.0 to 2.4.1 a day or two ago.
>
Yep

> 
>>> In addition, javax.sql.* is in the standard java libraries.  You 
>>> don't need the J2EE jar file for that.
>>
>>
>> Are you sure about that one ? java.sql is standard, but I think 
>> javax.sql belongs to j2ee...
>>
>> Anyway, if I comment out 'import javax.sql.*' in TestStringUtil.java, 
>> it still compiles and runs, so we should probably remove it, shouldn't 
>> we ?
> 
> 
> Quite sure...at least in j2sdk1.4.1_01.  It is in the rt.jar (runtime 
> jar file).  See the javadoc:
> http://java.sun.com/j2se/1.4.1/docs/api/javax/sql/package-frame.html
> 
Ok, it's in j2sdk since 1.4.0
It's not in j2sdk but in j2ee for 1.3.1  (as stated in API at 
http://java.sun.com/apis.html#j2se)

We're both right :-)

> Either way, I guess if it isn't used, it can be removed.  I'll just 
> comment it out.  Consider it done and ready to go in CVS.
> 
> 
Cool.
>>> > Every test passed, but one :
>>> testPackageDirBuildFullBaseFileNameFailureName 2 should be as 
>>> expected expected:<......> but was:<...\...>
>>> junit.framework.ComparisonFailure: Name 2 should be as expected 
>>> expected:<......> but was:<...\...>
>>> at 
>>> org.enhydra.barracuda.taskdefs.TestFileNames.testPackageDirBuildFullBaseFileName(TestFileNames.java:160)
>>> 0.010
> 
> Hmm.... I don't understand what that means either, but I'm not getting 
> it when I run the tests.  Might be something locale specific?  Can you 
> send me a zip file containing the html output of the <junitreport> 
> task?  It should be in Barracuda/unit_tests/reports/html after you run 
> "ant tests".
>

Here it is.

>> C'est grave docteur ?*
>>
>> Franck
>>
>>
>> *just a stupid joke I was unanble to translate. Sorry.
> 
> 
> Lucky my wife is a former French teacher.... "Is it serious, doctor?".  
> Was that right?
> 
Yes, I was not sure about the 'doctor', since in french it mostly means 
a physician, and was not sure it was the case in english (it could also 
be a university grade). Anyway we're both lucky you're wife is here !

Regards,

Franck
tests-htmlreport.zip (application/zip, 268.8 KB) - not displayed
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.