ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamran Hameed" <kamranhami...@gmail.com>
Subject Re: how to call a file in build.xml
Date Tue, 29 Jul 2008 09:19:38 GMT
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
>
>


-- 
Kamran Hameed

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message