Thanks Stefan
I finally used the import task and it is working fine.
Cheers,
Issam
> -Original Message-
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: February 2, 2006 12:06 AM
> To: user@ant.apache.org
> Subject: Re: Property file - How to specify the "location" attribute
>
>
Use from antcontrib. Note: you don't truly want
an ; you want a macro. Macros are far less
expensive in terms of memory and therefore, execution
time. Pre Ant 1.6, antcontrib had a task
that used antcalls. Modern uses macrodefs.
HTH,
Matt
--- ar <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
Hi all,
I have a directory with a list of properties files. I'd like to execute an
ant target for each of these files :
file1.properties
file2.properties
file3.properties
I want to do an AntCall for *.properties files
I don't know nor
IIRC ant-contrib has a task that can do regex replacements on properties.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WAS Pyxis Lead Release Engineer
Matthew Hughes <[EMAIL PROTECTED]> wrote on 02/03/2006 12:33:20 PM:
> I have a property
>
>
>
> In certain tasks, I want the version value to be "
Try from AntContrib. It will allow you to create a new
property value using a regular expression.
HTH Bill
-Original Message-
From: Matthew Hughes [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 9:33 AM
To: user@ant.apache.org
Subject: Filtering on property values
I have a p
AntContribs is the easiest way.
An Ant-only way would be using multiple properties
version.major=7
version.minor=6
version.patch=1
version=${version.major}.${version.minor}.${version.patch}
friendly.version=${version.major}_${version.minor}_${version.patch}
Jan
>-Ursprüngliche Nachricht--
I have a property
In certain tasks, I want the version value to be "7_6_1" with
underscores replacing the periods. How do I create a new property that
would have this value. I know how to use filters to filter tokens when
copying files, but I can't seem to figure out how to do that for the
If I have weblogic.jar and jsafeFIPS.jar in the ant_home/lib dir and the
following build, I am successful.
If I also do this
BUILD SUCCESSFUL
Total time: 4 seconds
C:\antscripts>ant -lib .\lib -f weblogicdeploy.xml deploy
Buildfile: weblogicdeploy.xml
If I try to set it explicit
Hi, Jacob
thanks for your suggestion, i also thought of that,
but i didn't work either, as the guys creating the
xmlpropertyfile are using jdom for xmloutput.
seems like jdom automatically writes < for < and
> for > so it get's
foobar]]>
which doesn't work.
But finally i
Giovanni,
>
> Just tried, but it doesn't work completely. The
> resulting manifest is compilant but some dependencies
> in class-path are missing.
>
It should work. The process Stefan outlines ultimately uses the merge()
method you identified below, so if you were to use that directly you
would
Gilbert,
[jumping into this discussion a bit late]
On 03/02/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote:
> Background = users write some instructions
> for Websphere admins in a text field of a webform.
> Often the instructions contain some xml snippets for
> editing configfiles.
> All the inp
Indeed an Eclipse question, but here is the answer:
- right click on build.xml and select Run As / Ant Build ... (select the
menu item with the ...). You then have a window where you configure your
run.
- you also have an Ant view
Messages d´origine
De: [EMAIL PROTECTED]
Date: vendredi,
Sounds more like an Eclipse question :-)
a) These kind of questions should be asked on the Eclipse user list
b) An Ant build is run via a configuration like your program is run via a
run-configuration.
Ant is configured via "External Tools". There you can specify the target to
run.
I sugge
13 matches
Mail list logo