output.dir=${output.dir}
1. import the environment variables with prefix "env"
2. if the OUTPUT_DIR was set, the the property output.dir to its value
3. set the output.dir to default, which only works, if not set prior.
Properties are immutable.
4. Give the o
Hi,
I am newbie in ANT. My requirement is, if the environment variable is not
set , then I want the output to go to the current directory, else
the value should be picked up from the environment variable. I hv written
the following piece of code,
I think there are a few problems you may be facing. From the looks of it,
you're importing the file "properties.xml" when you should be importing
"package.xml". If "properties.xml" is a properties file, it should be
brought in to the script via a property taskdef:
The other issue you have is you
If you do not use ant-contrib, you have to have 2 targets when something is
dependent upon a condition
> So I'm trying to execute the mail task based on a conditional statement.
> I'm not sure if I'm doing this incorrectly or not. Basically, what I
> want out of this target
Hello Markus,
did you restart your Eclipse after having changed the environment with the
Control Panel ?
Antoine
> [EMAIL PROTECTED] wrote:
>
> > ?
> >
> >
> I setted the path variable in windows --> pref --> linked ressources
> this one I want to use it as vm arguments.
>
> I tried now to do i
To avoid the procedural logic you could have done the following:
This is more within the philosophy/architecture of Ant.
Bill
-Original Message-
From: Rich Harris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 11:10 AM
To: Ant Users List
Subject: RE: Conditions
Th
I would use the selector
something like
Cheers,
Antoine
> set the read-only flag to the files?
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: David Resnick [mailto:[EMAIL PROTECTED]
> > Gesendet am: Dienstag, 22. März 2005 11:40
> > An: 'Ant Users List'
> > Betreff: Makin
Hello Suzanne,
can you try this selecting the view you want to use when you create the
Perforce label, rather than when doing the p4labelsync ?
Cheers,
Antoine
I am
> I am using Ant 1.6.2 and trying to do a p4labelsync. First I create the
> label, then do the labelsync which "tags" the appropriat
Thanks David. I set this up and worked like a charm:
The ${component} release candidate build is now available!
Please rsync to:
${deploy.system}
${deploy.path}/${version}.war
-Ri
--- [EMAIL PROTECTED] wrote:
> selector?
Or the selector...
-Matt
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: David Resnick [mailto:[EMAIL PROTECTED]
> > Gesendet am: Dienstag, 22. März 2005 14:19
> > An: 'Ant Users List'
> > Betreff: RE: Making copy NEVER overwrite
> >
> > Th
I am using Ant 1.6.2 and trying to do a p4labelsync. First I create the
label, then do the labelsync which "tags" the appropriate files to the
label.
Identifying which files will get tagged is done via the view option. Here
is my simplified xml:
" the second time around the original is newer than the backup"
Is this because your copy target the first time around does not have
preservelastmodified="true"?
Ben
-Original Message-
From: David Resnick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 5:40 AM
To: 'Ant Users Lis
selector?
Jan
> -Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 22. März 2005 14:19
> An: 'Ant Users List'
> Betreff: RE: Making copy NEVER overwrite
>
> Thanks for the suggestion.
>
> The problem with that is that I would need to set
Thanks for the suggestion.
The problem with that is that I would need to set failonerror to off, but I
don't want to do that.
-David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 13:41
To: user@ant.apache.org
Subject: AW: Making copy
set the read-only flag to the files?
Jan
> -Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 22. März 2005 11:40
> An: 'Ant Users List'
> Betreff: Making copy NEVER overwrite
>
> I am making a backup of some files which I then filter back i
I am making a backup of some files which I then filter back into the
original. Unfortunately, because of the way the targets are set up, this is
done more than once. I want the copy task to perform the backup only if the
backup files don't exist. Setting overwrite to false doesn't help me because
16 matches
Mail list logo