----- Original Message ----- From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 3:05 PM Subject: difference b/w pathelement location= vs. pathelement path=
> What is the difference b/w the following > > <classpath> > <pathelement path="${env.J2EE_HOME}/lib/j2ee.jar"/> > <pathelement location="${env.J2EE_HOME}/lib/j2ee.jar"/> > </classpath> >From the manual (http://jakarta.apache.org/ant/manual/using.html): "The location attribute specifies a single file or directory relative to the project's base directory (or an absolute filename), while the path attribute accepts colon- or semicolon-separated lists of locations." > > Is there anyway to say: > > <classpath> > get me all the jars in this directory > </classpath> > > ? >From same: "In addition, FileSets can be specified via nested <fileset> elements. The order in which the files building up a fileset are added to the path-like structure is not defined. <classpath> <pathelement path="${classpath}"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> <pathelement location="classes"/> </classpath>" hope that helps, Todd > > Please respond to [EMAIL PROTECTED] as I am not subscribed to this > list. > > Thanks, > > Matt > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>