dcsimg
Exec Task Windows
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rjvv
Posted On:   Sunday, July 27, 2014 06:16 PM

Hello I suspect I am having this problem (from https://ant.apache.org/manual/Tasks/exec.html under windows users): A common problem is not having the executable on the PATH. In case you get an error message  Cannot run program "...":CreateProcess error=2. The system cannot find the path specified.  have a look at your PATH variable. Just type the command directly on the command line and if Windows finds it, Ant should do it too. (Otherwise ask on the user mailinglist for help.) If Windows can not execute the program add the directory of the program to the PATH ( set PATH=%PATH%;dirOfProgram ) or specify the absolute path in the executable  attribute in your buildfile.    More>>

Hello

I suspect I am having this problem (from https://ant.apache.org/manual/Tasks/exec.html under windows users):

A common problem is not having the executable on the PATH. In case you get an error message  Cannot run program "...":CreateProcess error=2. The system cannot find the path specified.  have a look at your PATH variable. Just type the command directly on the command line and if Windows finds it, Ant should do it too. (Otherwise ask on the user mailinglist for help.) If Windows can not execute the program add the directory of the program to the PATH ( set PATH=%PATH%;dirOfProgram ) or specify the absolute path in the executable  attribute in your buildfile.

I'm wondering what program they are talking about for dirOfProgram, is it the program I'm trying to develop? What directory should I add to the path? The one just above the program I am trying to develop?

Thanks

   <<Less
About | Sitemap | Contact