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]> |
See comments below...
At 10:11 AM 12/1/2002 +0100, you wrote:
>Hi,
>
>Ok, I did it the clean way this time (for jdk 1.3.1) :
>
>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.
>>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
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.
>> > 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
>>
>>Not sure about above. Try the stuff I mentioned first and then see if
>>you get the same issues.
>Yes, I get the same issue.
>Source code of the test is (from
>src_tests/org/enhydra/barracuda/taskdefs/TestFileNames.java):
>
>baseFilename = "\\base";
> packageDir = "a/";
> expectedBaseFileName = "a/" + "base";
> newBaseFileName = xmlcUtils.buildFullBaseFileName( null,
> packageDir, baseFilename );
> assertEquals("Name 2 should be as expected",
> expectedBaseFileName,
> newBaseFileName );
>
>I don't understand what this means...
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".
>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?
later,
Jake
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/barracuda
>FAQ - http://www.jguru.com/faq/Barracuda