IMO we simply should remove everything but build.xml
You can download it using the get task...
<get
src="http://repo.mergere.com/maven2/junit/junit/3.8.2/junit-3.8.2.jar"
dest="tools/lib/junit.jar" usetimestamp="true" />
...but it won't work because optional.jar has already been loaded and
the junit task will search junit in its classpath: this is a known
problem and the solution is that junit.jar must be in the same place you
have optional.jar/ant.jar and must be present BEFORE you start ant.
I thought we could add to build.xml an "initialize" target to be
manually called at start to download everything is needed, but I think
we should better remove all of this stuff: we expect people to already
have the Jdk installed, we can expect they also have ant. The same would
be for maven.
Stefano
Bernd Fondermann (JIRA) wrote:
[ http://issues.apache.org/jira/browse/JAMES-506?page=comments#action_12412757 ]
Bernd Fondermann commented on JAMES-506:
----------------------------------------
minor note: tools/lib/junit.jar is not yet in svn. the idea was to download it
from a public repository but I did not work out how to achieve this using ant.
Remove ant from the repository
------------------------------
Key: JAMES-506
URL: http://issues.apache.org/jira/browse/JAMES-506
Project: James
Type: Improvement
Components: Build System
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
Fix For: 2.4.0
We can remove the tools/bin, tools/etc and the tools/lib/ant.jar,
tools/lib/junit.jar, tools/lib/optional.jar from our repository.
Ant is a build tool, we can expect developers already have it installed, or
being able to install it separately.
Eventually we could add ant, build.bad, build.sh, and the needed libraries only
to the source distribution.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]