ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Porter <j...@metadyne.uk.com>
Subject Re: JDK 1.1, Personal Java. Help?
Date Tue, 25 Sep 2001 13:34:19 GMT





Hi Diana,

I've got my script running, yet I'm still not conviced that it is
compiling code correctly.

I've left the 'verbose="on" ' line in so that I can see the classes
being loaded.
I still see the line ...

[javac] [loaded /usr/local/jdk1.3.1/jre/lib/rt.jar(java/util/List.class)
in 1 ms]

If the class java.util.List is loaded then I presume it is being used
somewhere in my code.
If it is used some where in my code, then the code is not Personal-Java
compliant.

Am I correct in presuming this?

Thanks
JP.

=================================================
  <property name="source"
value="/home/unittest/daily_build/metanixCDNAPersonalJava/sandbox/"/>
  <property name="build"
value="/home/unittest/daily_build/metanixCDNAPersonalJava/build"/>
  <property name="build.compiler" value="classic"/>


<target name="compileAPI"  depends="checkout" >

    <!-- Compile the java code from ${source} into ${build} -->
    <javac srcdir="${source}/MetadynePJ/src/api"
        destdir="${build}/production/classes/src/api"
        excludes="AllTests,*TestSuite"
verbose="on"
        debug="on"
        includeJavaRuntime="no"
           includeAntRuntime="yes" >
    <classpath>
      <pathelement location="${build}/production/classes/src/api"/>
      <pathelement location="/usr/local/java/tools/junit3.5/junit.jar"/>

      <pathelement location="/usr/java1.1/lib/classes.jar"/>
      <pathelement location="/usr/local/personalJava/pj.jar"/>
      <pathelement
location="/usr/local/personalJava/EXTENSIONS/collections.jar"/>

     </classpath>

    </javac>

  </target>
=================================================

-- it builds, quick ship it!



Mime
View raw message