ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Stillwell <>
Subject RE: Problems running on AIX
Date Thu, 08 Mar 2001 22:18:58 GMT
The interesting thing is that I'm not trying to run the vajexport task.
If I remove the jakarta-ant-1.3-optional.jar, then everything works fine.

Here is the test build.xml I'm running:

<project name="Test" default="help" basedir=".">

  <!-- set global properties for this build -->

  <property name="src"  value="${basedir}/src" />
  <property name="lib" value="${basedir}/lib" />
  <property name="dest" value="${basedir}/classes" />

=================================================================== -->
  <!-- Help - Default
=================================================================== -->
  <target name="help">
      This is a Test build file for Ant.
      Usage: ant "target-name"

  <target name="prepare">
    <!-- Create the time stamp -->
    <!-- Create the build directory structure used by compile -->
    <!-- mkdir dir="${build}" /-->

-----Original Message-----
[]On Behalf Of Glenn McAllister
Sent: Thursday, March 08, 2001 4:08 PM
Subject: Re: Problems running on AIX

Chris Stillwell wrote:

> I get the following exception running ant when the
> jakarta-ant-1.3-optional.jar is in the
> $ANT_HOME/lib directory.  Any ideas?
> Buildfile: build.xml
> Exception in thread "main" java.lang.VerifyError: (class:
> org/apache/tools/ant/t
> askdefs/optional/ide/VAJExport, method: getWorkspaceScanner signature:
> ()Lorg/ap
> ache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner;) Incompatible
> object a
> rgument for function call
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(
>         at
>         at
>         at
> nwvibm00-e1 : /home/databus $

Why are you trying to run the vajexport task from outside VAJ?  It depends
on the workspace classes that are (effectively) only available from within
the IDE.  You can't use this task from a command line build file.  The
easiest way to use it is to load everything into your repository, then use
Wolf's et. al.'s build launcher.

See for


View raw message