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,

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


> 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 ?

> > 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...

C'est grave docteur ?*

Franck


*just a stupid joke I was unanble to translate. Sorry.

_______________________________________________
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.