You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <la...@accor-hotels.com> on 2003/07/17 08:51:05 UTC

Adding a jar dependency to the maven-classpath or to the ant loader classpath

Hi all,
I want to define an ant task as this :
<ant:taskdef name="jag_connect"
classname="com.sybase.jaguar.management.jagtool.ant.ConnectTask">
<ant:classpath>
<ant:path refid="maven-classpath"/>
</ant:classpath>
</ant:taskdef>

In my project.xml, I set :
    	<dependency> 
    	 	<id>jagtool</id>
      		<groupId>sybase</groupId>
      		<jar>jagtool.jar</jar>
			<properties>
				<classloader>root</classloader>
			</properties>
    	</dependency>

But i see a class not class not found error.
Is there any way to fix it ??
Olivier


This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
********************************************************************** 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org