Mathieu,
Thanks for your answer it works. I am posting my code here just in case
anyone else is looking for this solution.
in my build.properties file i put the ant-contrib.jar file
ant-contrib.jar=/path/to/ant-contrib.jar
Then in my build.xml file i have the following code
Hello,
Edward Mann a écrit :
(...)
(...)
Right here you probably want instead something like
However you cannot do this as the properties are only evaluated once.
To solve this you can use the task from ant-contrib :
http://ant-contrib.sourceforge.net/ta
I have done that. But my results are not what i expect. Here is my
script.
There is an task that you can use to prompt the user. See
http://ant.apache.org/manual/CoreTasks/input.html.
As for concatenating user input with ".home", you can do
Edward Mann <[EMAIL PROTECTED]> wrote:
I am trying to build an and build process where the user will run ant
and it will p
#x27;"
cc: <[EMAIL PROTECTED]>, (bcc: prashanth.l/Polaris)
Subject:RE: build.properties
jan Thanks a lot for info.
imagine if buil.xml and buil.properties are in path
F:\tsource\ant
My Web application is in path.
F:/oc4j_extended/j2ee/home/applications
Af
ecause you set the basedir="../"
>
> Jan
>
> >-Ursprüngliche Nachricht-
> >Von: Raghuveer [mailto:[EMAIL PROTECTED]
> >Gesendet: Mittwoch, 28. Juni 2006 13:40
> >An: 'Ant Users List'
> >Betreff: RE: build.properties
> >
> &g
OTECTED]
>Gesendet: Mittwoch, 28. Juni 2006 13:40
>An: 'Ant Users List'
>Betreff: RE: build.properties
>
>I made follwoing changes
>
>In build.properties
>-
>project.title=Test Web Application
>project.version = 1.3
>distpath.pro
What do u mean by
>>Inside the buildfile you have
>>
>>and with property files you load these mappings
>>
>>NAME=VALUE # COMMENT
Jan Can u elobrate ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 1:06 PM
To: user@ant.apache.org
I made follwoing changes
In build.properties
-
project.title=Test Web Application
project.version = 1.3
distpath.project = F:/oc4j_extended/j2ee/home/applications
In build.xml
-
${project.title}
${project.version}
${distpath.project}
-
In What way the build.properties is usefull.
path,project name ,war file name i want to move to properties file.
So that it would be convienent when required to modify in property file
rather then in build.xml.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tues
10 matches
Mail list logo