ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Schmetzer" <...@exubero.com>
Subject Re: how to call a file in build.xml
Date Tue, 29 Jul 2008 10:04:36 GMT
Actually, exec *is* supported on Linux. You just need to specify the
executable as "make". e.g. <exec executable="/usr/bin/make">

Cheers,
Joe

On Tue, July 29, 2008 10:53 am, Kamran Hameed wrote:
> My point is that i am not invoking any simple script. Makefile should be
> called with make command
>
> On Tue, Jul 29, 2008 at 9:19 AM, Kamran Hameed
> <kamranhamid37@gmail.com>wrote:
>
>> But exec is not supported on Linux. if we are in Windows.. and we want
>> to
>> call a batch file then we can use exec but under UNIX it is assumed that
>> we
>> can run scripts in shell
>>
>> So how do i call the makefile in my build.xml file??
>>
>> any idea
>>
>>
>> On Tue, Jul 29, 2008 at 7:35 AM, Chris Green <
>> chris.green100@googlemail.com> wrote:
>>
>>> Try the exec command. This allows you to call external command files.
>>>
>>> On 7/29/08, Kamran Hameed <kamranhamid37@gmail.com> wrote:
>>> > folks.. i am writting a java application that uses JNI. Now for
>>> generating c
>>> > files i am using Makefile. and for java files i am using ant[it is
>>> must
>>> that
>>> > i use Makefile].
>>> >
>>> > Now my question is that how can i call makefile in build.xml.. how
>>> > to call that so that when build.xml executes.. it calls Makefile that
>>> > compiles the C code
>>> >
>>> > --
>>> > Kamran Hameed
>>> >
>>> > http://hpc.niit.edu.pk/~kamran <http://hpc.niit.edu.pk/%7Ekamran>



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


Mime
View raw message