ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lothar Krenzien <lkrenz...@web.de>
Subject Re: running junit from ant
Date Tue, 17 Jan 2006 14:58:32 GMT

You're right. I didn't realised the difference. Now it works as it should ;)

Thanks, Lothar


> 
> On Mon, 16 Jan 2006, Lothar Krenzien <lkrenzien@web.de> wrote:
> > 		<fileset dir="${out.dir}/web/WEB-INF/classes">
> > 			<include name="**/*.class"/>
> > 		</fileset>			
> 
> should be <pathelement location="${out.dir}/web/WEB-INF/classes"/> or
> otherwise you are placing your classes on the classpath and not the
> directory.
> 
> > And as I said earlier I tried also using the package name and even
> > only the classname as test name.
> 
> There is no reason why either should work 8-)
> 
> > But I have notified that I have two junit.jars in the above
> > classpath. One in the ANT/lib dir (so that Ant knows of the junit
> > task) and one in the project classpath (WEB-INF/lib) . Could that
> > cause any problems ?
> 
> No, at least not as long as both are the same version.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message