AW: Problems with exec tag

2006-09-03 Thread Jan.Materne
Von: Daniel Camara [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 1. September 2006 21:57 >An: Ant Users List >Betreff: Re: Problems with exec tag > >Thanks I will try that :) > > Best regards... > > Daniel > >On 9/1/06, Gilbert Rebhan <[EMAIL PROTECTED]>

Re: Problems with exec tag

2006-09-01 Thread Daniel Camara
Thanks I will try that :) Best regards... Daniel On 9/1/06, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: Hi, Daniel ah, yes, i think your problem is the declaration of antcontrib taskdefs. if you go via the properties file (which is meant for prior versions of ant, < 1.6) you won't get no t

Re: Problems with exec tag

2006-09-01 Thread Gilbert Rebhan
Hi, Daniel ah, yes, i think your problem is the declaration of antcontrib taskdefs. if you go via the properties file (which is meant for prior versions of ant, < 1.6) you won't get no task as this mapping is commented out = J:\ant-contrib-src\src\net\sf\antcontrib\antcontrib.properties : # Ta

Re: Problems with exec tag

2006-09-01 Thread Gilbert Rebhan
Hi, Daniel that's because the task is not part of vanilla ant, it's part of a bunch of contributions for ant called "ant-contrib". There are also mny other tasks around and you may also roll your own. see (and get those tasks from there ...) http://ant-contrib.sourceforge.net/ Regards, Gil

Re: Problems with exec tag

2006-09-01 Thread Daniel Camara
Thanks Jan, I am a newbie with ant, two days new :), I couldn't execute your second script (Actually Good work, very impressive :), the script gives me the below error message. --- BUILD FAILED C:\Temp\Ant\TESTES\MyProject\MyProject.xml:34: Could not create task or type of type: antlib:net/sf/ant

AW: Problems with exec tag

2006-09-01 Thread Jan.Materne
cht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 1. September 2006 08:51 >An: user@ant.apache.org >Betreff: AW: Problems with exec tag > >Your script works for me ... > > > > > > &

AW: Problems with exec tag

2006-08-31 Thread Jan.Materne
Your script works for me ... >I put the ant file below and the content of the test12.txt is >// test exec file notepad.exe; notepad.exe Not sure about the blank after ';' Jan -

Problems with exec tag

2006-08-31 Thread Daniel Camara
Hi, I am getting the error "Execute failed: java.io.IOException: CreateProcess: error=2", I know that it is usually related to wrong path and this kind of thing. But this is not the case, I think :). I have an ant script that reads a txt file and executes the programs it finds in this file. The f