RE: Property file - How to specify the "location" attribute

2006-02-03 Thread Issam Aib
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 > >

Re: Executing a task for a list of files

2006-02-03 Thread Matt Benson
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, >

Executing a task for a list of files

2006-02-03 Thread ar
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

Re: Filtering on property values

2006-02-03 Thread Jeffrey E Care
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 "

RE: Filtering on property values

2006-02-03 Thread bill/wilandra
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

AW: Filtering on property values

2006-02-03 Thread Jan.Materne
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--

Filtering on property values

2006-02-03 Thread Matthew Hughes
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

How to do explicit path setting in ant

2006-02-03 Thread Srikrishna_Parthasarathy
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

Solved : replace < with < in property ??

2006-02-03 Thread Rebhan, Gilbert
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

Re: Merge manifest files

2006-02-03 Thread Conor MacNeill
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

Re: replace < with < in property ??

2006-02-03 Thread Jakob Fix
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

Re: AW: using ant option in eclipse

2006-02-03 Thread Nicolas Vervelle
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,

AW: using ant option in eclipse

2006-02-03 Thread Jan.Materne
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