Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Cocoon - MVC web framework based on XML/XSL
Lucene - Full-featured text search engine APIs
Log4J - A log library
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Running junit tests fails

Running junit tests fails

2003-12-10       - By Simon Pepping

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Wed, Dec 10, 2003 at 02:28:23PM +0100, Jeremias Maerki wrote:
> junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use
> JUnit 3.8.1 or later to be sure.
>
> The JUnit task is included in Ant's optional.jar but only works if
> junit.jar is present in %ANT_HOME%/lib.
>
> Actually, I don't understand why the JUnit suport is recognized but the
> test cases don't work.

junit-3.8.1.jar is the lib subdirectory of the checked out
distribution. The build script declares this directory to be
ANT_HOME. When I put the junit jar file there, the JUnit support was
recognized.

The build script does not add the junit jar file to the
LOCALCLASSPATH. But when I did that it made no difference.

Ant's failure message mentions optional.jar. I do not have that
because it does not come with the checkout. Could that be the cause?

I run Sun's java version "1.4.2_01" on linux.

> On 10.12.2003 12:44:08 Chris Bowditch wrote:
> > Whats the name of the jar containing the junit ant task definition then?
> >
> > Ive added the junit.jar, there is also a test.jar and a src.jar in my
> > junit directory (no lib sub dir though!)
> >
> > The junit.present condition in the build.xml file doesnt let you procced
> > without the junit.jar. However, I'm not sure if junit.jar contains the
> > ant task definition.
>
> Jeremias Maerki

Regards, Simon

--
Simon Pepping
email: spepping@(protected)
home page: http://www.leverkruid.nl


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: fop-user-unsubscribe@(protected)
For additional commands, e-mail: fop-user-help@(protected)




Earn $52 per hosting referral at Lunarpages.