ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Zellner <johan...@zellner.org>
Subject VAJ / optional.jar on Linux
Date Fri, 04 Oct 2002 14:52:50 GMT
Hi,

I just tried to get the optional VAJ tasks working.
I checked out the latest ant from CVS and built:

1) I included the classes from com.ibm.ivj.util.* into the CLASSPATH
2) I used servlet.jar from jakarta-tomcat

building ant succeeded. But with the following simple build file

    <project name = 'testing' default = 'all'>

      <target name = 'all'>

        <vajload remote = 'localhost:5000'>
          <vajproject name = 'zv'/>
        </vajload>

      </target>

    </project>


I get:

# ant -verbose
Apache Ant version 1.6alpha compiled on October 4 2002
Buildfile: build.xml
Detected Java version: 1.3 in: /usr/lib/j2re1.3
Detected OS: Linux
parsing buildfile build.xml with URI = file:/home/joze/build.xml
Project base dir set to: /home/joze
Build sequence for target `all' is [, all]
Complete build sequence is [, all]

all:

BUILD FAILED
file:/home/joze/build.xml:12: java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.optional.ide.VAJRemoteUtil.loadProjects(VAJRemoteUtil.java:183)
        at org.apache.tools.ant.taskdefs.optional.ide.VAJLoad.execute(VAJLoad.java:81)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.optional.ide.VAJRemoteUtil.loadProjects(VAJRemoteUtil.java:173)
        at org.apache.tools.ant.taskdefs.optional.ide.VAJLoad.execute(VAJLoad.java:81)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second


I use blackdown java:

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)

what could be the problem?

-- 
Johannes

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


Mime
View raw message