You can specify e.g. a lib directory with a classpath id. <path id="xdoclet.class.path"> <fileset dir="./lib"> <include name="**/*.jar"/> </fileset> </path>
In other sections you can reference this id. <taskdef name="ejbdoclet" classpathref="xdoclet.class.path" classname="xdoclet.modules.ejb.EjbDocletTask"/> Manfred Struts goes mobile: http://www.strutsme.org. Now 1.0Beta3 available. Medicherla Lakshmi wrote: > Hi All, > > Can anyone tell me how to include classpath in build.xml file. > Actually i want to run database script file using build.xml file for which > i need to set the classpath with .jar file of the particular database java > connector. > > <target name="classpath"> > <path> > <pathelement location="${dbconnectorname}"/> > <fileset dir="${dbconnectorname}"> > <include name="*.jar"/> > </fileset> > </path> > </target> > > where dbconnectorname is the path of the directory where this .jar file is > located. > > Please tel me how to run database scripts using build.xml file. > > Thanks in Advance. > > Thanks and Regards, > Lakshmi MSV. > > > --------------------------------- > Find out what India is talking about on - Yahoo! Answers India > Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get > it NOW > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]