The only action a condition task performs is set a property if the condition
is true. You can then use the property you have set/not set to be the
condition for a separate target (using the if or unless attribute of the
target).
If you want an if statement, you can find a task that works as one in
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 is to send an email if the value of a property
in my props file is true (yes it is in fact in my props file and my
props file is refe
Sorry,
I mismatched newsgroup
--
best regards
Würth Phoenix S.r.l.
Markus Innerebner
ZEUS Developer
Via Kravogl 4
I-39100 Bolzano
Phone: +39 0471 / 564076
Fax: +39 0471 / 564062
E-Mail: [EMAIL PROTECTED]
Website: http://www.wuerth-phoenix.com
pub 1024D/0E45CE6D 2004-09-28 markusin <[EMAIL PROTECT
This is more a eclipse question.
However, I've take a look in my eclipse (3.1M5)
You can specify such properties globaly via
Windows->pref->ant->runtime->properties
or buildfile-specific via "build.xml"-contextmenu->run as->ant
build...->properties
Maybe this is working in 3.0 too.
Nevertheless
[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 it with :
-property argument=${myPathVariable}
then eclipse told me that he could not reference to that variable
Jan
-Ursprünglich
Hello,
I am experiencing an issue with the combination of ANT, JUnit and
log4j. Here's the situation. The ANT build file uses the
task. Log4j is configured to print to the console. There are also
times when the unit tests use System.out directly. The problem is
that the log4j statements are not c
?
Jan
> -Ursprüngliche Nachricht-
> Von: Markus Innerebner [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 21. März 2005 15:16
> An: Ant Users List
> Betreff: how to read from an enviroment variable
>
> how can I read an environment value which I am passing in
> eclipse as a
> vm ar
how can I read an environment value which I am passing in eclipse as a
vm argument.
My intention is to pass something like that
-D=${enviromentVariable}/aPath
the environment variable I set in my system. Do I need to set this in
eclipse too? If yes where should I set it.
thanks for helping me
> -Original Message-
> From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
> Sent: 21 March 2005 14:02
> To: Ant Users List
> Subject: Re: ant tasks for adding web sites to IIS
>
> Kola Oyedeji wrote:
>
> >
> >
> >Hi
> >
> >
> >
> >Before I re-invent the wheel does anyone know if any ant t
Kola Oyedeji wrote:
Hi
Before I re-invent the wheel does anyone know if any ant tasks for adding
websites and virtual servers etc. to IIS?
Thanks
Kola
I'd suggest using the task to call cscript.exe to run a modified
version of the VBS scripts that come (at these they used to, haven't
used
This is because the manual is wrong :-[
The attribute to use for the element is "regex" and not
"regexp".
Peter
Swathi Rao wrote:
Hi,
I tried to set properties using the "propertyset" task and the
"propertyref" nested element. The ant manual
(http://ant.apache.org/manual/CoreTypes/propertyset.ht
Hi,
I tried to set properties using the "propertyset" task and the
"propertyref" nested element. The ant manual
(http://ant.apache.org/manual/CoreTypes/propertyset.html) states that
"regexp" is a valid attribute of the task "propertyref". However when
I use it in my code, it throws the following er
Thanks, it works fine.
You have a typo at ending --> :o)
Sven
Stefan Bodewig wrote:
> On Mon, 21 Mar 2005, Sven Waibel <[EMAIL PROTECTED]> wrote:
>
>>
>
>
> I don't think you mean path here, but rather line.
>
> path="foo bar" will pass "foo bar" as a single command line a
On Mon, 21 Mar 2005, Sven Waibel <[EMAIL PROTECTED]> wrote:
>
I don't think you mean path here, but rather line.
path="foo bar" will pass "foo bar" as a single command line argument
to Perl.
I'm not exactly sure what file is supposed to look like here
> perl script syntax: transl
Hi
Before I re-invent the wheel does anyone know if any ant tasks for adding
websites and virtual servers etc. to IIS?
Thanks
Kola
The script does a lot more than renaming files. It still translates files.
And that's not the problem,unfortunately.
Sven
[EMAIL PROTECTED] wrote:
>>My perl script renames files into files_en, so i want to
>>execute my perl script and that should rename all the files
>>ending with xsl.
>
>
>
> My perl script renames files into files_en, so i want to
> execute my perl script and that should rename all the files
> ending with xsl.
Why using perl? Why not a with a nested mapper?
Jan
Hi everybody,
a part of my build.xml
my build.properties:
perl = d:/perl/bin/perl.exe
perl.translate.script.name d:/db_transl/translate2.pl
My perl script renames files into files_en, so i wa
Hello,
Could you first run the command
which ant
to see where is the ant launching script.
> i am having a problem with runninig apache ant
> 1.6.2. on linux 9.9.
What is exactly your Linux distribution?
> when i run ant as follows i keep getting the
> following error. why is
> this. it does not
hi
i am having a problem with runninig apache ant 1.6.2. on linux 9.9.
when i run ant as follows i keep getting the following error. why is
this. it does not seem that i have got a preinstalled version at
/usr/share/
[EMAIL PROTECTED] anjuta]$ ant --noconfig -version
java.lang.InstantiationExcep
20 matches
Mail list logo