Re: Problems with exec task on Windows machine

2012-04-12 Thread ivadim
It is works good.:) Thank you Harold. -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5635806.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Problems with exec task on Windows machine

2012-04-12 Thread Harold Putman
. But > nothing changed :( > > I found that new invoke_targets list saving old information > > Setting ro project property: ant.project.invoked-targets -> > run,clean,clean,clean,clean,clean,clean,clean,clean > > > -- > View this message in context: > http://a

Re: Problems with exec task on Windows machine

2012-04-11 Thread ivadim
ro project property: ant.project.invoked-targets -> run,clean,clean,clean,clean,clean,clean,clean,clean -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5633602.html Sent from the Ant - Users mailing list archive

Re: [SPAM] Problems with exec task on Windows machine

2012-04-11 Thread Harold Putman
update my ant package in some reasons. And it would be good to find > workaround > > -- > View this message in context: > http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5630671.html > Sent from the Ant - Users mailing list archive at Nabble

Re: [SPAM] Problems with exec task on Windows machine

2012-04-10 Thread ivadim
of "ant run -d" http://ant.1045680.n5.nabble.com/file/n5630671/log.txt log.txt I can't update my ant package in some reasons. And it would be good to find workaround -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp56

Re: [SPAM] Problems with exec task on Windows machine

2012-04-10 Thread Harold Putman
On Tue, Apr 10, 2012 at 2:54 AM, Jarek Czekalski wrote: > On 1.8.2 and same windows it runs fine. > > W dniu 2012-04-09 16:54, ivadim pisze: > > Hello. >> I hav

Re: [SPAM] Problems with exec task on Windows machine

2012-04-09 Thread Jarek Czekalski
On 1.8.2 and same windows it runs fine. W dniu 2012-04-09 16:54, ivadim pisze: Hello. I have some problems with exec task. I have build.xml: When I run

Problems with exec task on Windows machine

2012-04-09 Thread ivadim
Hello. I have some problems with exec task. I have build.xml: When I run "ant run" command I expected to see CLEAN message. But actualy this is r

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

Re: Problems with exec

2006-05-01 Thread Scot P. Floess
Nice use of bash :) Something also to remember, when executing commands in a shell, the shell does expansion for you. So, the fact that you would use a * in your command doesnt necessarily mean the command is interpreting the *. Tommy Nordgren wrote: On 1 maj 2006, at 20.22, Eric Wood wrot

Re: Problems with exec

2006-05-01 Thread Alexey N. Solofnenko
"*" is understood only by shell. I guess you would want to add "-u" option (and maybe "-p") in addition to -R. Also it maybe better to run rsync (or unison) - they can delete obsolete files. - Alexey. Tommy Nordgren wrote: On 1 maj 2006, at 20.22, Eric Wood wrote: As the on-line documentat

Re: Problems with exec

2006-05-01 Thread Tommy Nordgren
On 1 maj 2006, at 20.22, Eric Wood wrote: As the on-line documentation suggests, I am using exec to copy some files on UNIX to preserve permissions, but exec is taking my wildcard as translating it as a literial. I'm attemping to copy all files in a subdirectory to another directory using:

Problems with exec

2006-05-01 Thread Eric Wood
As the on-line documentation suggests, I am using exec to copy some files on UNIX to preserve permissions, but exec is taking my wildcard as translating it as a literial. I'm attemping to copy all files in a subdirectory to another directory using: cp -R * destinationDir But the exec comman

Re: Problems with exec task

2006-02-01 Thread Steve Loughran
Dick, Brian E. wrote: I use WSH mainly for WMI scripting. It's the best way to get info from remote Windows machines. yeah, it kind of sucks that (1) WMI is so hard to use and (2) important things like WLAN signal strength are only available via WMI. But the politics of system management APIs

RE: Problems with exec task

2006-01-31 Thread Stephen McConnell
> -Original Message- > From: Rhino [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 January 2006 3:52 PM > To: Ant Users List > Subject: Re: Problems with exec task > > Excellent suggestion! I wasn't aware of the existence of the AntWiki. > > What's

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
I use WSH mainly for WMI scripting. It's the best way to get info from remote Windows machines. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 12:17 PM To: Ant Users List Subject: Re: Problems with exec task Dick, Brian E.

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Dick, Brian E. wrote: -- hello there.vbs strArg = "" strDelim = "" for each objItem in WScript.Arguments strArg = strArg & strDelim & objItem strDelim = " " next WScript.echo "hello there, " & strArg -- cscript.xml -- example

RE: Problems with exec task

2006-01-31 Thread Dick, Brian E.
-- example run C:\temp\ant -f cscript.xml Buildfile: cscript.xml hello: [cscript] hello there, Rhino -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 9:57 AM To: Ant Users List Subject: Re: Problems with exec task - Or

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Rhino wrote: - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, January 31, 2006 5:01 AM Subject: Re: Problems with exec task Rhino wrote: [exec] Input Error: There is no script engine for file extension &

Re: Problems with exec task

2006-01-31 Thread Rhino
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, January 31, 2006 5:01 AM Subject: Re: Problems with exec task Rhino wrote: When I did this: everything was fine; there were no err

Re: Problems with exec task

2006-01-31 Thread Steve Loughran
Rhino wrote: When I did this: everything was fine; there were no errors from Ant and the macro wrote Dudley Doright in the document. But when I did this (using the same property definition for vbs.script): I got no errors from Ant but the macro

Re: Problems with exec task

2006-01-30 Thread Rhino
ities page? Or is there a better idea that hasn't occurred to me yet? --- Rhino - Original Message - From: "Stephen McConnell" <[EMAIL PROTECTED]> To: "'Ant Users List'" Sent: Monday, January 30, 2006 8:17 PM Subject: RE: Problems with exec tas

RE: Problems with exec task

2006-01-30 Thread Ken Gentle
--- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 2:30 PM To: Ant Users List Subject: Re: Problems with exec task Rhino wrote: > Thank you both for your suggestions, Clifton and Brian, but I'm afraid > neither one worked! > > When I tried this from

RE: Problems with exec task

2006-01-30 Thread Stephen McConnell
> Any thoughts on how we could brainstorm this? It needn't take > much time but I'd like to do something to keep other people > from having big problems with exec if we possibly can. Maybe http://wiki.apache.org/ant/ is a starting po

Re: Problems with exec task

2006-01-30 Thread Rhino
t our heads together, we can probably come up with something that works for many people. Any thoughts on how we could brainstorm this? It needn't take much time but I'd like to do something to keep other people from having big problems with exec if we possibly can. --- Rhino - Origin

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 3:29 PM To: Ant Users List Subject: Re: Problems with exec task - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, January 30, 2006 2:35 PM Subject: Re: Prob

Re: Problems with exec task

2006-01-30 Thread Rhino
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, January 30, 2006 2:35 PM Subject: Re: Problems with exec task [snip] Does the Ant manual mention that you can handle embedded blanks in a path with a pair

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
x27;t have much to do with ant. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 2:30 PM To: Ant Users List Subject: Re: Problems with exec task Rhino wrote: > Thank you both for your suggestions, Clifton and Brian, but I'm afraid

Re: Problems with exec task

2006-01-30 Thread Steve Loughran
Rhino wrote: Hurrah! Problem solved! That did it, Tommy! Here's the revised property and exec which now works fine: Therefore, the executable needs to be 'cscript.exe' and the path name needs to be within single quotes if it contains embedded blanks. Many thanks to all who gave sug

Re: Problems with exec task

2006-01-30 Thread Steve Loughran
Rhino wrote: Thank you both for your suggestions, Clifton and Brian, but I'm afraid neither one worked! When I tried this from my command line: cmd.exe start "C:\Documents and Settings\Rhino\My Documents\LaunchWdMacro.vbs" Fred Flintstone All I got was: Microsoft Windows XP [Version

Re: Problems with exec task

2006-01-30 Thread Rhino
ommy Nordgren" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, January 30, 2006 11:37 AM Subject: Re: Problems with exec task One thing you might try is to enclose the path name of the vbs executable in single quotes in the property def, also run ant with the c

Re: Problems with exec task

2006-01-30 Thread Tommy Nordgren
not done in terms of setting up my environment but everything works dandy from the command line so this feels like an Ant problem, not a Windows problem. Rhino - Original Message - From: "Dick, Brian E." <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, Ja

Re: Problems with exec task

2006-01-30 Thread Rhino
y environment but everything works dandy from the command line so this feels like an Ant problem, not a Windows problem. Rhino - Original Message - From: "Dick, Brian E." <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, January 30, 2006 9:37 AM Subjec

RE: Problems with exec task

2006-01-30 Thread Dick, Brian E.
You could also try cscript.exe. That's the actual command processor for vbs and other Windows scripting languages. -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 8:52 AM To: Ant Users List Subject: Re: Problems with exec task

Re: Problems with exec task

2006-01-30 Thread Clifton Craig
e has any > ideas how I can accomplish that, I'd love to hear from you. > > Rhino > > - Original Message ----- > From: "Rhino" <[EMAIL PROTECTED]> > To: "Ant Users List" > Sent: Sunday, January 29, 2006 8:28 AM > Subject: Re: Problems with ex

Re: Problems with exec task

2006-01-29 Thread Rhino
t directly from Ant so if anyone has any ideas how I can accomplish that, I'd love to hear from you. Rhino - Original Message - From: "Rhino" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Sunday, January 29, 2006 8:28 AM Subject: Re: Problems with exe

Re: Problems with exec task

2006-01-29 Thread Rhino
need to do to try this idea. Rhino - Original Message - From: "Ken Gentle" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Sunday, January 29, 2006 4:01 AM Subject: Re: Problems with exec task Rhino, this is a shot in the dark, but I recently went through a rat

Re: Problems with exec task

2006-01-29 Thread Ken Gentle
AIL PROTECTED]> To: "Ant Users List" Sent: Saturday, January 28, 2006 1:48 PM Subject: Re: Problems with exec task I just remembered something about the exec task: On Windows, the Execute class, used by the ExecTask, itself launches cmd.exe to handle the command. You might

Re: Problems with exec task

2006-01-28 Thread Rhino
om: "Tommy Nordgren" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, January 28, 2006 1:48 PM Subject: Re: Problems with exec task I just remembered something about the exec task: On Windows, the Execute class, used by the ExecTask, itself launches cmd.exe to ha

Re: Problems with exec task

2006-01-28 Thread Tommy Nordgren
d to the Word document. This is the current version of the task: resolveexecutable="true"> I'm not sure what else to try Rhino - Original Message - From: "Tommy Nordgren" <[EMAIL PROTECTED]> To: "Ant Users List" Sent:

Re: Problems with exec task

2006-01-28 Thread Rhino
> To: "Ant Users List" Sent: Saturday, January 28, 2006 12:24 PM Subject: Re: Problems with exec task Use the exec attribute resolveExecutable="true", or use an absolute path. On Jan 28, 2006, at 5:55 PM, Rhino wrote: I'm having a bit of trouble with an exec ta

Re: Problems with exec task

2006-01-28 Thread Tommy Nordgren
Use the exec attribute resolveExecutable="true", or use an absolute path. On Jan 28, 2006, at 5:55 PM, Rhino wrote: I'm having a bit of trouble with an exec task in Windows XP Professional and I would appreciate a bit of help from the experts on this mailing list. I have created a short VBS

Problems with exec task

2006-01-28 Thread Rhino
I'm having a bit of trouble with an exec task in Windows XP Professional and I would appreciate a bit of help from the experts on this mailing list. I have created a short VBScript that invokes a Microsoft Word macro; the macro expects exactly two parameters on the command line and adds the val

Re: directory problems with exec

2004-10-02 Thread Stefan Bodewig
Paul, sorry for the lng delay. I'm CCing you since you might have unsubscribed in the meantime. I think I see what's going on. On Thu, 24 Jun 2004, Paul C. Reeves <[EMAIL PROTECTED]> wrote: >newenvironment = "false" and > [MAKEFILE CODE]vvv