ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Using JDKs with jar files
Date Mon, 16 Apr 2001 13:59:59 GMT

The only way I know of to accomplish this would be to use two separate
build files instead of two separate targets.  It would be nice to be able
to specify the JDK to use (overriding the project attribute) for a specific
java command like (java, javac, etc.).


Andrew Goodnough
Dana Commercial Credit

                    Pinar Bicioglu                                                       
                    <p.bicioglu@CustomerDia        To:
          >                     cc:                                
                                                   Subject:     Using JDKs with jar files
                    04/10/2001 01:57 PM                                                  
                    Please respond to                                                    

Let's say that I have two targets in my "build.xml" file, abc.jar and
xyz.jar. The relationship between .jar files as below;

                                 --> test.class
(On the server side) target1
--------->  abc.jar
---> uses JDK1.3
                                 --> bar.class

                                 --> test.class
(On the client side) target2
---------> xyz.jar
---> uses JDK1.1.8
                                 --> bar.class

What I am trying to do is to make sure that uses JDK1.3 and then
JDK1.1.8. I need to get an output or something like that as a proof :)

Thanks for your help,

View raw message