Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 2376 invoked from network); 18 Dec 2001 09:16:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Dec 2001 09:16:51 -0000 Received: (qmail 9895 invoked by uid 97); 18 Dec 2001 09:17:00 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9879 invoked by uid 97); 18 Dec 2001 09:16:59 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 9868 invoked from network); 18 Dec 2001 09:16:59 -0000 To: Ant Developers List Subject: javac with different Java compilers. Message-ID: <1008667006.3c1f097ea6539@frominfra.canoo.com> Date: Tue, 18 Dec 2001 10:16:46 +0100 (CET) From: detlef.brendle@canoo.com References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Originating-IP: 192.168.0.3 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi all, I got a bit stuck during a proces automation and would appreciate your help. heres the picture. I run ant todo all the java compile and many other things as well. but the java compile is what worries me the most right now. I run with noFork (in the same VM than the ant process) I do that mainly because of some classpath calculations. I now need to compile various java code with a different JavaVM (1.2.2) So I thought I will set JAVA_HOME to the right directory where my java1.2.2 is installed and run the script again. now the trouble starts - a. since IM in the same VM I cant change my javac compiler during runtime. b. if I run it externally it still wont use the correct JAVA_HOME environment. the idea was now to use somehow to compile with different javac locations. but I also skipped this as I dont think thats the way to solve this. Has anybody got a solution for this problem ? regards, detlef -- To unsubscribe, e-mail: For additional commands, e-mail: