Update of /cvsroot/mocklib/gwtmocklib/tools/ant-junit
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23230/tools/ant-junit
Added Files:
README.txt ant-junit.jar junit.jar
Log Message:
first commit of gwtmocklib module.
--- NEW FILE: junit.jar ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: ant-junit.jar ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: README.txt ---
Why put ant optional tasks here. Well first read the FAQ at
ant.apache.org http://ant.apache.org/faq.html#delegating-classloader.
I am following option 2. If I don't, I have to put junit.jar in two places
tools/ant/lib with the ant-junit task
AND
input/lib for application developers to use the junit.jar
Instead, I separate out the ant-junit.jar and put it in the
tools/ant-optional folder.
Then I taskdef junit against the ant-junit.jar with junit in it's classpath
which I put in
input/lib/tools
If anyone has a better suggestion, I am all ears as this is not the optimal
solution I think. nonetheless, it works for now.
Also, junit.jar is a special version of junit. It is 3.8.1 plus a change that
Kent Beck made for me. IT should be checked into cvs though the change he
checked in was not mine and broke junit very badly. I have to request a
fix from him. The break was every test passing no matter what.
thanks,
dean
|