Hi,

I presume someones knows/is going to fix the default.properties entry
for xmlrpc.jar - the update-jars task downloads version 1.1 - which
then doesn't get found...

> > 
> > When running the stratum unit tests on a freshly checked out
> stratum,
> > all the xo.* tests are failing:
> > 
> > loader constraints violated when linking
> org/xml/sax/EntityResolver
> > class 
> > 
> > java.lang.LinkageError: loader constraints violated when linking
> > org/xml/sax/EntityResolver class
> > at org.dom4j.io.SAXReader.read(SAXReader.java:298)
> > at org.dom4j.io.SAXReader.read(SAXReader.java:246)
> > at org.apache.stratum.xo.Mapper.map(Mapper.java:378)
> > at org.apache.stratum.xo.Mapper.map(Mapper.java:358)
> > 
> > 
> > I presume this is an existing problem.
> 
> Are you are using Java 1.4? There are two copies of the SAX
> interfaces
> in your classpath somewhere.

Nope - 1.3.1_02 on XP and classpath not set before running ant:

F:\cvslocal\jakarta\jakarta-turbine-stratum>java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

F:\cvslocal\jakarta\jakarta-turbine-stratum>set classpath
Environment variable classpath not defined


I am using ant 1.4.1, which uses jaxp, crimson and have xalan in the
ant/lib.

I see that jaxp and crimson are referenced by the build-tests.xml -
but are not in my repo.lib.   I copied them into my repo.lib and
voila - no errors/failures.


> 
> You should also get used to using maven as the old build systems
> are
> going to disappear. And the maven build takes care of everything
> you
> need.
>  

I added

maven.home = .

to my stratum build.properties and ran this to do my tests:

ant -f build-maven.xml maven:test

Is that how I use maven?

Chris

=====
------------------------------------------
http://www.soccer2002.org.uk

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to