commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <SCo...@sportvision.com>
Subject RE: [NET] Re: dependency dilemma
Date Sun, 02 Mar 2003 04:41:52 GMT
Whoa, that works!  I had been running simply 

ant test

so maven java:jar works
but 
ant test 
doesn't.  I think there IS a problem with the ant build.xml generation.

Oh well, at least I am on the right track.  This maven stuff is mostly pretty new to me.



-----Original Message-----
From:	Jeffrey D. Brekke [mailto:jbrekke@wi.rr.com]
Sent:	Sat 3/1/2003 10:26 PM
To:	Jakarta Commons Developers List
Cc:	
Subject:	Re: [NET] Re: dependency dilemma


Does using maven fail running the tests also?

maven java:jar

There may be a problem with the ant build.xml generation.  If using
maven for builds can get you buy for now, once you check in I'll try
to see if maven's ant plugin needs to be altered.  Otherwise if you
don't/can't use maven for your builds, you could add the xml jars to
the deps and regen the ant build.xml I guess.  I no longer use ant.

>>>>> On Sat, 1 Mar 2003 21:57:13 -0600, "Steve Cohen" <SCohen@sportvision.com>
said:

> Jeff - I hadn't known that I wasn't supposed to touch build.xml
> directly.  I didn't know maven could generate it for me.  That's a
> cool feature.  Simply adding oro to the dependency list as you
> indicated does get it into the build file and allows the project to
> build.  However, the xml-parsing jars are NOT in the classpath when
> the test goal is run and the test target fails.  I can get it to
> succeed either by manually changing the build.xml to run the test
> target with fork false, or by adding xml-apis.jar and xercesImpl.jar
> to the get-deps list.  But out of the box, it fails.

> So something is wrong.  The tests won't run without these jars and
> there's nothing in the build.xml file as created by maven that puts
> them there.  (These jars are not needed to compile the tests, only
> to run them).  So I would assume that there are some maven
> configuration options we need to change to do to get them there.

> I will take a look at the maven docs that deal with genning the
> build.xml and see if I can find an answer.

-- 
=====================================================================
Jeffrey D. Brekke                                   jbrekke@wi.rr.com
Wisconsin,  USA                                     brekke@apache.org
                                                    ekkerbj@yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message