I have a Problem with a Perl Script executed in Ant
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, September 3, 2005 05:40 AM

Hi
I have a problem.

I start a Perlscript cc_mk_label.pl in ant with the task:





The Perlscript exit with an exitcode:

exit(100);


Now I want to bind the exit code in the outputproperty or the resultproperty but it doesn't work.


The exit code 100 is definitely set from the Perl script but ant doesn't take this code in hin property.

Why not ?


I would be very pleased to be helped.


thx

Re: I have a Problem with a Perl Script executed in Ant

Posted By:   Roseanne_Zhang  
Posted On:   Saturday, September 3, 2005 12:07 PM


Don't forget ant is pure Java. That is why ant is so useful, powerful and versatile. If you want ant receive unix command and result, you must think Unix, and pass the value to ant. That is your job, not ant's job.

Re: I have a Problem with a Perl Script executed in Ant

Posted By:   Roseanne_Zhang  
Posted On:   Saturday, September 3, 2005 11:58 AM


Don't forget ant is pure Java. That is why ant is so useful, powerful and versatile. If you want ant receive unix command and result, you must think Unix, and pass the value to ant. That is your job, not ant's job.
About | Sitemap | Contact