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, <[email protected]> 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: [email protected]
> > 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: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>