Stefano Bagnara wrote:
Bernd Fondermann wrote:

I am with you regarding jdk, ant, maven.
But JUnit is a not a build tool like ant + maven, it is a bunch of java classes our code directly dependents on (is linked to) through import-statements. this is true for all other libraries in lib and tools/lib. (do you want them be removed, too?) JDK classes are also linked by import statements, but the junit.jar is a little bit more lightweight ;-)

We should not impose additional hurdles for users by requiring them to download stuff before the tests can be run. Remember, the same applied to activation.jar and mail.jar. They had to be downloaded, extracted and placed by hand. They are now present in the repository and this is a great relief, I think.

  Bernd


The problem is that junit, in the "ant build" aspect, is not a dependency of James but a dependency of the ant-junit task.

I am not sure that I understand this sentence.

For me, junit is a jar like any jar in lib/ except that it is needed only in the test classes and thus resides in tools/lib but could very well be in lib/. I see the unit test classes as an integral part of the sources, not just an add-on, even if they don't ship in binary distributions.

If you can find a simple solution for that I would be happy to include it: I pasted the "<get>" code, and as I said there is a classpath issue.

Agreed, the downloading is not a solution as long as we are using ant. I tried this myself a few weeks ago. Isn't this "only" a license issue? If we could put junit into svn we would do it, wouldn't we?

Since we can't put junit in anyway the whole discussion is somewhat academic.

What I'd really like to understand more: What is the benefit of removing ant and the build scripts? Is it just a clean-up or is there a next step after it? Sorry to re-iterate this topic. I feel like I don't see the obvious here.

PS: We still don't include activation and mail jars in our repository.

yes, I must have been dreaming ;-)

  Bernd

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

Reply via email to