ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: .Ô: Have you imported a source file into Visual Age for Java
Date Thu, 24 Jul 2003 08:20:46 GMT
On Thu, 24 Jul 2003, Bui Dinh Chien <ChienBD@fsoft.com.vn> wrote:

> But im may Jar file (ant.jar and option.jar) not contain VAJ task? 

They should be in optional.jar.

Looking into Ant 1.5.3's build file, I see this

    <exclude name="${optional.package}/ide/VAJ*.java"
             unless="jdk1.2+"/>
    <exclude name="${optional.package}/ide/VAJ*.java"
             unless="vaj.present"/>
    <exclude name="${optional.package}/ide/VAJ*Servlet.java"
             unless="servlet.present"/>

    <available property="vaj.present"
               classname="com.ibm.ivj.util.base.Workspace"
               classpathref="classpath"/>
    <available property="servlet.present"
               classname="javax.servlet.Servlet"
               classpathref="classpath"/>

so, in order to build all VAJ classes for optional.jar you'll need VAJ
itself and servlet.jar in your CLASSPATH - and build Ant with a JDK
1.2 or above.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message