> 
> What is not working?  What happens?

Sorry, hadn't really finished that mail before I sent it. It appeared to me that it 
was still being compiled under the 1.3 compiler as it was not failing where I though 
it should be - however my test case was flawed.

The problem I'm now getting is
 [javac] Fatal Error: Unable to locate package java.lang in classpath or bootclasspath

java.lang seems to be in src.zip which I put on the boot cp as follows, but still same 
error..

<target name="compileAlternateJDK" depends="init" if="javac.AlternateJDK">
    <!-- Compile the java code from ${src} into ${build} -->
    <javac 
      srcdir="${src.dir.java}" 
      destdir="${dest.dir.javaclasses}" 
      debug="true" 
      deprecation="false" 
      failonerror="${javac.failOnError}"
      includeJavaRuntime="false"
      includeAntRuntime="false"
      fork="no"
     >
      <bootclasspath>
        <pathelement path="${javac.AlternateJDK}/lib/tools.jar"/>
        <pathelement path="${javac.AlternateJDK}/src.zip"/>
      </bootclasspath>
 
       <classpath refid="classpath"/>
    </javac>
  </target>

cheers, jmaie

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to