Ah ha...I already do that, so all is well. It seems my lack of Ant knowledge
is showing. Are we ready to move to Maven 2 yet? :)

> -----Original Message-----
> From: Tim Ellison [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 03, 2006 4:14 AM
> To: harmony-dev@incubator.apache.org
> Subject: Re: [classlib] build file stuff
> 
> Nathan Beyer wrote:
> > Cool, I'll use that instead. Is there any way to eliminate the junit
> library
> > dependency from the command-line?
> 
> Put the JUnit library into your Ant installation's 'lib' directory.
> 
> Regards,
> Tim
> 
> >> -----Original Message-----
> >> From: George Harley [mailto:[EMAIL PROTECTED]
> >> Sent: Saturday, July 01, 2006 10:26 AM
> >> To: harmony-dev@incubator.apache.org
> >> Subject: Re: [classlib] build file stuff
> >>
> >> Nathan Beyer wrote:
> >>> Occasionally I use make/build-tests.xml to access the 'gen-reports'
> >> target.
> >>> I only do this when I run a test from within a single module, instead
> of
> >> a
> >>> full test run. Maybe there is a better or easier way.
> >>>
> >>> -Nathan
> >>>
> >>>
> >> Hi Nathan,
> >>
> >> Maybe this isn't exactly what you mean, but running tests for a single
> >> module from the "top level" build.xml file (the one in
> >> enhanced/classlib) and setting the "build.module" property always runs
> >> the "gen-report" target at the end.
> >>
> >> e.g. to run just the nio tests and get an HTML report while working in
> >> enhanced/classlib directory ...
> >>
> >>  > ant -lib depends\jars\junit_3.8.2\junit.jar -Dbuild.module=nio test
> >>
> >>
> >> ... and to build the nio jar and then run just the nio tests with an
> >> HTML report generated at the end ...
> >>
> >>  > ant -lib depends\jars\junit_3.8.2\junit.jar -Dbuild.module=nio build
> >> test
> >>
> >>
> >> The build.module property means that I rarely have to venture out of
> the
> >> enhanced/classlib folder.
> >>
> >> Best regards,
> >> George
> >>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to