ok thanks.LOL:) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 12:37 PM To: user@ant.apache.org Subject: RE: Classpath reference
You will generally get a better response if you start a new thread for your question (with a subject that somehow describes your question/problem), rather than replying to someone else's question. > -----Original Message----- > From: Singh, Arti [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 11:05 AM > To: Ant Users List > Subject: RE: Classpath reference > > > hi all, > I am an ant newbie with a silly question.I have > a set of jar files that I need to get compiled.Should I > unzip each jar file to compile It??OR can I get ant to > automatically unzip each jar while compile it > > -----Original Message----- > From: Mark Harris [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 5:33 AM > To: 'user@ant.apache.org' > Subject: RE: Classpath reference > > > >> <path id="classpath"> > >> <pathelement location="/myjar.jar"/> > >> <pathelement location="/myotherjar.jar"/> > >> <pathelement location="/my3rdjar.jar"/> > >> </path> > > > >> <target name="test"> > >> <junit printsummary="no"> > >> <classpath> > > <path refid="classpath"/> > >> <pathelement > >> location="/myadditionaljar.jar"/> > >> </classpath> > >> ... etc... > > > >Fore more information on reusing paths using refid see > >[1]. > > This was half the solution. The other half was to not use the id > "classpath", but to call it something else, e.g. "compile.classpath". > > Thanks to all for their assistance. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Discover the Power of MetaSolv at http://www.metasolv.com > Subscribe to our Company Newsletter at http://www.metasolv.com/subscribe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Discover the Power of MetaSolv at http://www.metasolv.com Subscribe to our Company Newsletter at http://www.metasolv.com/subscribe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]