Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 29812 invoked by uid 500); 1 Aug 2001 12:06:57 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 29713 invoked from network); 1 Aug 2001 12:06:57 -0000 X-Server-Uuid: 3522b0b4-89a9-11d4-b7bc-00104bcfa600 Message-ID: <87EE6B21C624D511B72400104BCF1EB01F6205@exch> From: "Jason Rogers" To: "'ant-user@jakarta.apache.org'" Subject: RE: Javadoc Date: Wed, 1 Aug 2001 08:06:27 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-WSS-ID: 17792F49163717-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I think you can do the following. Set your JAVA_HOME variable to JDK1.3, then change the JDK for the task using the 'build.compile' property with a value of 1.1 or 1.2 or whatever. From the documentation in the Ant User Manual: "If you wish to use a different compiler interface than one of the four supplied, write a class that implements the CompilerAdapter interface (package org.apache.tools.ant.taskdefs.compilers). Supply the full classname in the "build.compiler" property." Hope that helps. -Jason > -----Original Message----- > From: Daniel Sindahl [mailto:Daniel.Sindahl@zoomon.com] > Sent: Wednesday, August 01, 2001 7:53 AM > To: ant-user@jakarta.apache.org > Subject: RE: Javadoc > > > I just realized I wasn't very clear in my previous post, > sorry about > that. What I wanted to know is how to use the javadoc > tool from e.g. > JDK1.3, while still compiling with e.g. JDK1.1.8. I can > only set my > JAVA_HOME variable to one of the two... > > Thanks! > > /Daniel > > > > -----Original Message----- > From: Daniel Sindahl > Sent: den 1 augusti 2001 13:20 > To: ant-user@jakarta.apache.org > Subject: Javadoc > > > Hello! > > I'm an Ant beginner, and would very much appreciate help on the > following subject. > > I have an Ant build file for building my Java project > using JDK1.1.8. > However, I want to generate the API documentation using > the javadoc tool > from Java2. Which is the best way to accomplish this in > my build file? > > Thanks in advance! > > /Daniel Sindahl, Stockholm > > >