ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: <cc> (was Re: Java Development with Ant)
Date Thu, 30 May 2002 18:29:15 GMT

----- Original Message -----
From: "Gordon Tyler" <gordon.tyler@sitraka.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, May 30, 2002 9:46 AM
Subject: Re: <cc> (was Re: Java Development with Ant)


>
> ----- Original Message -----
> From: "Steve Loughran" <steve_l@iseran.com>
>
>
> > I managed to use it to compile a JNI native library, with a single build
> > file going javac->javah->cc->junit. As a process for building jni libs,
> this
> > is slick, better than spawmning MSDEV as I have done in the past. That
> > works, but gives you the usual IDE portability grief.
>
> I would be very interested to hear how you did this since our builds are
> spawning MSDEV or make depending on the platform.

I run msdev like this:

<target name="msdev" depends="headers">
    <exec

        executable="msdev.exe"

        failonerror="true"

        >

        <arg file="CpuInfo.dsw" />

        <arg value="/MAKE"/>

        <arg value="&quot;CpuInfo - Release&quot;"/>

     </exec>

</target>







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


Mime
View raw message