I have not tested this. But can you copy the property files into the basedir beforehand, then do
<jar destfile="dist/${nps-config- > > service-jmeter-jar}" > basedir="${build}"/> Haiqi. On Wed, Feb 4, 2009 at 10:51 AM, <dave.alvar...@remanresource.com> wrote: > Hi, > > I'm using Ant 1.6 on Solaris 9. When I created a JAR file, I'm trying to > include everything in my base directory ("basedir") as well as an additional > properties file ... > > <jar destfile="dist/${nps-config-service-jmeter-jar}" > basedir="${build}" > includes="${nps-config-client-file-location-properties}" /> > > But this command creates a JAR file without the contents of the basedir. > If I remove the 'includes="${nps-config-client-file-location-properties}"' > clause, then the contents of the basedir are included. How can I have both > the properties file and the contents of the base dir? > > Thanks, - Dave > > > > -------Original Message------- > > From: dave.alvar...@remanresource.com > > Subject: Using ant to check out only a single file from CVS > > Sent: Feb 04 '09 14:46 > > > > Hi, > > > > I'm using Ant 1.6 on Solaris 9. Right now I have a shell script in > which I can check out a package from CVS: > > > > ant -Duser=$username -Dbaseline=$baseline -Dpackage=$CVS_PACKAGE_NAME > cvsCheckout > > > > but I was wondering how I can check out only a single file from CVS and > then place it on a certain directory in my server. Any thoughts are most > appreciated, - Dave > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > > For additional commands, e-mail: user-h...@ant.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > >