ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinar Bicioglu <p.bicio...@CustomerDialogue.com>
Subject RE: Using different JDK
Date Thu, 26 Apr 2001 18:50:29 GMT
ok I finally got my code working correctly. However I didn't add "axtdir"
part in it ? According to  cross compilation I "must" use "extdir"...What
kind of difference does it make ?

Thanks

-----Original Message-----
From: Pinar Bicioglu [mailto:p.bicioglu@CustomerDialogue.com]
Sent: Thursday, April 26, 2001 11:14 AM
To: 'ant-user@jakarta.apache.org'
Subject: RE: Using different JDK


Now I can see that my code is not working :)) Thanks for your help though.
it helped a lot...!!

-----Original Message-----
From: Rob van Oostrum [mailto:rvanoostrum@ezgov.com]
Sent: Thursday, April 26, 2001 10:42 AM
To: ant-user@jakarta.apache.org
Subject: Re: Using different JDK


to verify set verbose=true on your javac task. If you look through the
screen
output, you should be able to see where it's pullling core java stuff from.

Pinar Bicioglu wrote:

> I have written the code below in order to use jdk1.2 for the target
> "asi-compile". It works fine. But I have no evidence that it's using
jdk1.2.
> Do you think it would work correctly
>
> Thanks a lot
>
> <target name="asi-compile" depends="default">
>   <antcall target="default">
>         <param name="build.compiler" value="classic" />
>   </antcall>
>   </target>
>
>   <target name="default" depends="prepare">
>          <echo message="build.compiler=${build.compiler}"/>
>          <javac srcdir="${src-dir}"
>                 destdir="${build-dir}"
>                 classpath="${classpath}"
>                 deprecation="on"
>                 optimize="off"
>                 includes="${asi-compile-list}"
>                 excludes="**/lite*.java,**/Lite*.java" />

Mime
View raw message