[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: Build.xml not working correclty when calling Makefile
From:       "Lindsey, Lucinda" <lalinds () sandia ! gov>
Date:       2003-09-29 19:35:02
[Download RAW message or body]

That worked! Thanks for your help.

Cindy

-----Original Message-----
From: Alexey N. Solofnenko [mailto:A.Solofnenko@mdli.com]
Sent: Wednesday, September 24, 2003 2:35 PM
To: Ant Users List
Subject: Re: Build.xml not working correclty when calling Makefile


I think you need to add <exec dir="PGL_JNI" ...> attribute.

- Alexey.

Lindsey, Lucinda wrote:

>Hi,
>
>Our requirements to build our project are simple. We need to create a
>framework directory that all subdirectories are checked out into before
they
>can be built using our existing makefiles.  We are new to ant, and our
>attempt at doing this in our build.xml file was not successful. Here's the
>build:
>
>?xml version="1.0" ?>
> <project name="SNL_Tool_Root" default="make">
>  <target name="make">
>  <cvs package="PGL_JNI"></cvs>
>   <exec executable="make">
>        <arg line="-f PGL_JNI/Makefile"/>
>  </exec>
>  </target>
></project>
>
>Although it correctly builds, the log file reveals the following error:
>
>     [exec] Executing 'make' with arguments:
>     [exec] '-f'
>     [exec] 'PGL_JNI/Makefile'
>     [exec] 
>     [exec] The ' characters around the executable and arguments are
>     [exec] not part of the command.
>     [exec] PGL_JNI/Makefile:89: config/version: No such file or directory
>     [exec] make: *** No rule to make target `config/version'.  Stop.
>     [exec] Result: 2[exec] 
>
>When executing the make outside of ant, it builds successfully. We are
>running ant 1.5.4 on Solaris 8 and Java 1.4.1.
>
>Any help is greatly appreciated!
>
>Cindy Lindsey
>Sandia National Labs
>(505)844-0548
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic