commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] NumberRange contribution
Date Thu, 28 Feb 2002 04:17:49 GMT
Thanks Christopher,

making a build.properties and changing that worked :) My apologies for my
slowness. I'll get to work on making StringsTest stop failing now :)

On Wed, 27 Feb 2002, Christopher Elkins wrote:

> On Wed, Feb 27, 2002 at 10:11:34PM -0500, Henri Yandell wrote:
> >
> > Took a second to actually look at the test part of the build script. Why
> > is the following in there:
> >
> > <property name="junit.home"              value="/usr/local/junit3.7"/>
> >
> > with a comment to change it to your local position? This seems a bit of a
> > pain to maintain. Everytime I grab an apache build.xml I have to go change
> > that to my value?
> >
> > There must be a nicer solution, though I admit I could just symlink
> > junit3.7 to javalib.
> >
> > I guess it's important that a test-run doesn't have lots of other jars
> > messing it up, but it also seems messy to either have a localised version
> > of junit.jar (and thus many copies), or to hard code in (or mandate) an
> > external directory structure.
> >
> > I assume I'm missing something :)
>
> The idea behind that is if your local installation of JUnit is somewhere
> other than the hard-coded default location, it should be set inside one of
> the build.properties files sourced on lines 13-15 (since Ant ignores attempts
> at variable redefintion).
>
> However, defining default values for _both_ ${junit.home} and ${junit.jar}
> in build.xml seems silly given that ${junit.home} is only used in defining
> ${junit.jar}. I don't see any reason why they shouldn't be consolidated,
> especially given that the Jakarta "standard" (such as it exists) is to
> reference ${foo.jar} in the build file.
>
> --
> Christopher Elkins
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message