ant exec problems with jdk1.2.2
- From: "aykaramba" <ayekaramba@xxxxxxxxx>
- Date: 31 Mar 2005 03:01:53 -0800
Hi,
I am currently automating a legacy product with Ant1.5.4(cannot use 1.6
due to some dependencies)
My build file:
Code:
-------------------------------------------------------------------
<project name="mytest" default ="test" basedir=".">
<target name="test">
<exec executable="myapp" failonerror="true">
<arg line="-opts"/>
</exec>
</target>
</project>
-------------------------------------------------------------------
This command works fine outside ant. But when I run ant with this file
I get the following errors.
Buildfile: mybuild.xml
test:
BUILD FAILED
file mybuild.xml:4: exec returned: -1
Total time: 1 second
However if I use jdk1.3 or 1.4 then I don't see this problem.
Any help is very much appreciated
Cheers,
Ay
.
- Prev by Date: Re: I want a good jsp plugin foe eclpse
- Next by Date: Re: problem in JSP using Netbeans 4.0
- Previous by thread: I want a good jsp plugin foe eclpse
- Next by thread: How to preserve projects in Eclipse?
- Index(es):
Relevant Pages
|
|