Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 82418 invoked from network); 15 Mar 2004 09:40:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 09:40:29 -0000 Received: (qmail 30776 invoked by uid 500); 15 Mar 2004 09:40:02 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 30560 invoked by uid 500); 15 Mar 2004 09:40:01 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 30544 invoked from network); 15 Mar 2004 09:40:01 -0000 Received: from unknown (HELO serv09.segi.ulg.ac.be) (139.165.32.78) by daedalus.apache.org with SMTP; 15 Mar 2004 09:40:01 -0000 Received: (qmail 24887 invoked by uid 504); 15 Mar 2004 10:40:12 +0100 Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.55. Clear:. Processed in 8.99374 secs); 15 Mar 2004 09:40:12 -0000 Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.77.198]) (envelope-sender ) by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP for ; 15 Mar 2004 10:40:02 +0100 Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.30) id 1B2oZk-0002Iz-V3 for dev@ant.apache.org; Mon, 15 Mar 2004 10:40:00 +0100 To: dev@ant.apache.org Subject: javac and compilerargs From: Arnaud Vandyck X-Face: >U]gI'=hKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!>}x;^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^ Date: Mon, 15 Mar 2004 10:40:00 +0100 Message-ID: <87fzcatpn3.fsf@oz.fapse.ulg.ac.be> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Arnaud Vandyck X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all! My name is Arnaud Vandyck and I'm new here. I use ant for a long time and cannot do anything without it! ;-) I'm also a Debian Developer (like Stefan Gybas, Takashi Okamoto and others). I'd like to make some changes in the ant-1.6.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java task to change the behavior. I'd like ant NOT to pass the -C argument if a nested tag exists. The reason: I'd like to be able to build java sources to native code with gcj. I think this can be achieved if I pass some extra arguments to the compilerarg commandline like this: But in the Gcj task, the '-C' argument is passed /** * gcj should be set for generate class. */ cmd.createArgument().setValue("-C"); I'd like to know if I can add a condition around this line so if there is tag, with the '-o' or '--main=' argument, no -C argument is passed to gcj. Many thanks for your time and help, -- ~/.signature not found This is Unix we're talking about, remember. It's not supposed to be nice for the applications programmer. -- Matthew Danish on debian-devel --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org