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
. 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
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
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
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
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
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
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
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]>
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
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
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
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
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 ...
>
>
>
>
>
>
&
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
-
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
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
"*" 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
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:
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
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
> -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
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.
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
-- 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
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
&
- 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
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
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
---
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
> 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
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
:[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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
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
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
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
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
51 matches
Mail list logo