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 <[EMAIL PROTECTED]>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 <
> [EMAIL PROTECTED]> wrote:
>
>> Try the exec command. This allows you to call external command files.
>>
>> On 7/29/08, Kamran Hameed <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Kamran Hameed
>
> http://hpc.niit.edu.pk/~kamran <http://hpc.niit.edu.pk/%7Ekamran>
>



-- 
Kamran Hameed

http://hpc.niit.edu.pk/~kamran

Reply via email to