Yo! I read on the ant manual that a <compilerarg> tag exists and can be nested in a <javac> tag. When I read the manual, I tried to do something like this:
<javac srcdir="${src}" destdir="${build}"> <compilerarg line="--main=org.debian.java.HelloNative -o build/hellonative" compiler="gcj"/> </javac> but it fails because the "-C" argument is automatically passed to gcj. So, for your information, I've just ask to the ant-dev mailing list if it's possible to omit this argument when trying to compile java sources to native code. If the ant-dev are not interested in this, I propose to implement it my self with the informations they'll give to me. Stefan, I don't know if it'll be the best way to have our debian-java-package-to-native-project up but maybe it's one of the directions we can investigate If you want to follow the discussion, it's here: http://marc.theaimsgroup.com/?l=ant-dev&m=107935239331799&w=2 Cheers, -- .''`. : :' :rnaud `. `' `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]