;
>
>
>
> Jan
>
>>-Ursprüngliche Nachricht-
>>Von: arijit [mailto:[EMAIL PROTECTED]
>>Gesendet: Mittwoch, 20. Juni 2007 16:00
>>An: user@ant.apache.org
>>Betreff: Re: AW: executing batch files in separa
299
>
> Geschäftsführer: Uwe Seltmann
> HRB Stuttgart 17655
> USt-IdNr.: DE 811944121
> -Ursprüngliche Nachricht-
> Von: arijit [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 20. Juni 2007 16:19
> An: user@ant.apache.org
> Betreff: Using for loop
>
>
I am trying to dynamically generate build2.xml by executing build1.xml. I
have a build2_template.xml file and a property file. build2.xml is generated
by reading the build2_template.xml and providing inputs to it through the
property file.
a series of similar code needs to be written in build2.xm
Thanks Steve. Got it working.
Posting the solution for other's reference --
Steve Loughran wrote:
>
> arijit wrote:
>> Thanks Jan. Unfortunately I am not an expert in ANT. Can you provide some
>> more code to show how I can
I tried using the spawn attriute by setting it to true. However, it does not
start the batch files in separate windows. All the batch files start
executing in the same dos window where the ant build file is being executed.
Fork attribute is not supported by .
Any suggestion ?
arijit wrote
Thanks Jan. Unfortunately I am not an expert in ANT. Can you provide some
more code to show how I can run the batch files in separate dos prompts ?
Jan.Materne wrote:
>
>
>
> Jan
>
>>-Ursprüngliche Nachricht-
>>Von: arijit [mailto:[EMAIL PROTECTED]
>
I have a build file from which I am trying to execute a series of batch
files. I am trying to execute the batch files in their own respective dos
prompts.
Is this possible ? Using starts the batch files in the same dos
prompt.
--
View this message in context:
http://www.nabble.com/executing-
oops... got the problem... \u in the line mentioned below.. replaced it with
\\u :)
arijit wrote:
>
> Can anyone see any problem with this line ?
>
> UDDI4j_WSIGCP=%LIB_WSIGCP%\uddi4j-2.0.5.jar
>
> This line is present in the test.properties file. Now when I remove thi
Can anyone see any problem with this line ?
UDDI4j_WSIGCP=%LIB_WSIGCP%\uddi4j-2.0.5.jar
This line is present in the test.properties file. Now when I remove this
line, it works. I have written this line manually and not copy-paste
arijit wrote:
>
> i was hoping that would be th
i was hoping that would be the case.. :(
but I wrote the code manually instead of copy-paste but still the same
problem
Cesar Martinez Izquierdo-3 wrote:
>
> arijit wrote:
>> I am unable to detect why this code is throwing malformed exception.
>>
>>
I am unable to detect why this code is throwing malformed exception.
Error shown is >
java.lang.IllegalArgumentException: Malformed \u encoding.
any clue ?
--
View this message in context:
http://www.nabble.com/Malformed-error-tf3915115.html#a11100914
Sent from the Ant - Users maili
Maybe use property files?
>
> arijit wrote:
>> Problem is that replace is for replacing the tokens in another file..
>> what
>> happens if I want to change something in the same build file that I am
>> executing..
>>
>>
>> Scot P. Floess wrote:
&
u can you the task. Look at the Ant manual for
> this - it gives a pretty good example...
>
> arijit wrote:
>> I have a build file test.xml which has lines in it which need to be
>> replaced
>> by actual values. These actual values are read from a property file,
>&g
I have a build file test.xml which has lines in it which need to be replaced
by actual values. These actual values are read from a property file, which
is loaded by this build file.
This problem is similar to the thread "Token based loading of property
files" posted earlier in this forum. Have no
be
loaded from abc.properties
Any way of achieving this ?
arijit wrote:
>
> Additionally, since I cannot use name attribute along with file attribute
> for property, so although I am loading the property file, by using
> but I cannot
> refer to that loaded f
Additionally, since I cannot use name attribute along with file attribute for
property, so although I am loading the property file, by usingbut I cannot refer to
that loaded file.
arijit wrote:
>
>
>
>
>
> Now abc.properties have some key-value pair for example
ntains
> Hello World by _Replace_This_
>
> After execution target do_replace
> result_file.txt contains
> Hello World by bar
>
> - Jukka -
>
>
>> -Original Message-
>> From: arijit [mailto:[EMAIL PROTECTED]
>> Sent: 11. kesakuuta 2007 14:27
>
Now abc.properties have some key-value pair for example location="C:/test"
Now I want to fill in the value (marked with ?) with C:/test by reading
from the abc.properties file.
Is it possible ?
--
View this message in context:
http://www.nabble.com/Toke
even if I load the property file, I can't see how I can read the key value
pair from the property which is loaded and use it to replace the token with
the read value... any sample code ?
arijit wrote:
>
> thanks for that warning about .. didn't think about that... i might
&
>
> Hi,
>
>
> -Original Message-
> From: arijit [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 11, 2007 12:01 PM
> To: user@ant.apache.org
> Subject: RE: creating files
>
> /*
> great.. I can now create batch files using and also use
> to add contents to th
i tried out ""
it worked perfectly replacing VARIABLE with version. But my next task is to
read the value from some property file instead of typing in the value as
shown above.
i will also try out Gilbert's suggestion to load the property value and
retrieve using key-value
es ? I will
try out the replace task...
Jukka Uusisalo-2 wrote:
>
>> -Original Message-
>> From: arijit [mailto:[EMAIL PROTECTED]
>> Sent: 11. kesakuuta 2007 13:01
>> To: user@ant.apache.org
>> Subject: RE: creating files
>>
>>
>>
>
tatus, it seems to be restricted to using 3rd party tools...
:(
Steve Loughran wrote:
>
> arijit wrote:
>> I was hoping not to use any 3rd party tool but maybe something via ANT
>> tasks
>> or Java calls. One of the similar threads mentioned about 'jps' but
to the batch
file at runtime.
Rebhan, Gilbert wrote:
>
>
> Hi,
>
>
> -Original Message-----
> From: arijit [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 11, 2007 10:58 AM
> To: user@ant.apache.org
> Subject: creating files
>
>
> /*
> Us
Using ANT, I want to generate some batch and property files. Is it possible
to create new files ?
--
View this message in context:
http://www.nabble.com/creating-files-tf3900318.html#a11057061
Sent from the Ant - Users mailing list archive at Nabble.com.
---
e:
>
> Hi,
>
>
> arijit wrote:
>> I was thinking more of listing the current running processes in windows
>> and
>> then killing one of them.
>
> if you're runnning on windows maybe you can go via combined with
> PSKILL which is part of the PTO
ww.icongmbh.de
> icon Systemhaus GmbHTel. +49 711 806098-275
> Sophienstraße 40
> D-70178 Stuttgart Fax. +49 711 806098-299
>
> Geschäftsführer: Uwe Seltmann
> HRB Stuttgart 17655
> USt-IdNr.: DE 811944121
> -----Urspr
I followed the suggestion that Prashant had provided and executed jps from
within ant by using . However, if I want to kill a process running
under windows, how will I be able to do that ?
arijit wrote:
>
> Being a newbie here, can you please elaborate a little more on how you
> reso
Being a newbie here, can you please elaborate a little more on how you
resolved this problem ?
Jay Dickon Glanville wrote:
>
> Thanks. That helped. I used the task from
> ant-contrib to retrieve just the process id, and then echoed that to
> the user.
>
> Much appreciated.
>
> JDG
>
> On
This is similar to the way that Maven is often used with a
> separate
> pom.xml for each module. If you have trouble finding a working example -
> let
> me know and I will dig one up for you (later).
>
> Bob
> [EMAIL PROTECTED]
>
> - Original Message -
>
Thanks Gilbert. This means that task will be able to help me out
Rebhan, Gilbert wrote:
>
>
>
> Hi,
>
> -Original Message-----
> From: arijit [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 08, 2007 1:05 PM
> To: user@ant.apache.org
> Subject: call other
Hi,
1. Is it possible to call Build2 file from Build1 which is executed using
ANT ?
2. Is it possible to execute a particular task in Build2, by calling it from
Build1 ?
Regards,
Arijit
--
View this message in context:
http://www.nabble.com/call-other-build-files-tf3889095.html#a11024407
32 matches
Mail list logo