> -----Original Message----- > From: Thomas SMETS [mailto:[EMAIL PROTECTED] > Sent: Friday, 10 February 2006 11:01 AM > To: Ant Users > Subject: Usage of JBlanket > > > Dear, > > I would like to define a target to use JBlanket but the > default install advises to copy the needed jars in the > ${ANT_HOME}/lib while I would prefere to place the jar's in a > external directory like "wrongly" shown herebelow with 2 > different configs : > > <path id="jblanket.path"> > <fileset dir="${jblanket.basedir}"> > <include name="**/*.jar" /> > </fileset> > </path> > <taskdef name="jblanket" > classname="csdl.jblanket.ant.JBlanketModifyTask"> > <path refid="jblanket.path" /> > </taskdef>
Remove the path element and add the 'classpathref' attribute to the taskdef element. See typedef task usage docs for an example. /Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]