Re: AW: AW: executing batch files in separate windows

2007-06-21 Thread arijit
; > > > > 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

Re: AW: Using for loop

2007-06-20 Thread arijit
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 > >

Using for loop

2007-06-20 Thread arijit
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

Re: AW: executing batch files in separate windows

2007-06-20 Thread arijit
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

Re: AW: executing batch files in separate windows

2007-06-20 Thread arijit
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

Re: AW: executing batch files in separate windows

2007-06-20 Thread arijit
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] >

executing batch files in separate windows

2007-06-20 Thread arijit
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-

Re: Malformed error

2007-06-13 Thread arijit
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

Re: Malformed error

2007-06-13 Thread arijit
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

Re: Malformed error

2007-06-13 Thread arijit
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. >> >>

Malformed error

2007-06-13 Thread arijit
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

Re: replacing sections of build file

2007-06-12 Thread arijit
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: &

Re: replacing sections of build file

2007-06-12 Thread arijit
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

replacing sections of build file

2007-06-12 Thread arijit
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

Re: Token based loading of property files

2007-06-12 Thread arijit
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

Re: Token based loading of property files

2007-06-12 Thread arijit
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

RE: creating files

2007-06-12 Thread arijit
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 >

Token based loading of property files

2007-06-12 Thread arijit
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

RE: creating files

2007-06-11 Thread arijit
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 &

RE: creating files

2007-06-11 Thread arijit
> > 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

RE: creating files

2007-06-11 Thread arijit
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

RE: creating files

2007-06-11 Thread arijit
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 >> >> >> >

Re: AW: how to get a process id from a spawned task?

2007-06-11 Thread arijit
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

RE: creating files

2007-06-11 Thread arijit
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

creating files

2007-06-11 Thread arijit
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. ---

Re: AW: how to get a process id from a spawned task?

2007-06-11 Thread arijit
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

Re: AW: how to get a process id from a spawned task?

2007-06-08 Thread arijit
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

Re: how to get a process id from a spawned task?

2007-06-08 Thread arijit
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

Re: how to get a process id from a spawned task?

2007-06-08 Thread arijit
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

Re: call other build files

2007-06-08 Thread arijit
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 - >

RE: call other build files

2007-06-08 Thread arijit
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

call other build files

2007-06-08 Thread arijit
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