ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pandian.Anbunat...@in.efunds.com
Subject VAJLoad is not working
Date Thu, 12 Jul 2001 11:03:20 GMT
Hi,
Iam facing a serious problem while trying to build a project in VAJ using
Ant.
It gives message in the Message Log as

load:

BUILD FAILED

E:\xerces.xml:24: Could not create task of type: vajload. Common solutions
are to use taskdef to declare your task, or, if this is an optional task,
to put the optional.jar in the lib directory of your ant installation
(ANT_HOME).

Total time: 0 seconds
--------------------------------------------------------------------------------------
My xml file is

?xml version="1.0"?>
<!--Build a binary distribution of the VAJ BI Plugin-->
<project name="xerces" default="buildall" basedir="c:\temp\xercestool">

     <property name="bin.dir" value="${basedir}\bin"/>

     <!--Xerces installable path-->
     <property name="xerces.dir" value="f:\Ant\xerces1.2.0\xerces"/>

     <path id="classpath">
          <pathelement location="${bin.dir}"/>
     </path>

     <!--create the build dir-->
     <target name="preparedirs">
          <mkdir dir="${basedir}"/>
          <mkdir dir="${bin.dir}"/>
     </target>

     <!--taskdef name="project" classname="com.mydomain.xerces"/-->

     <!--load project to workspace-->
     <target name="load" description="loadproject">
          <vajload>
               <project name="Apache XML Parser Xerces" version="1.2"/>
          </vajload>
     </target>

     <!--export from vaj-->
     <target name="export" depends="preparedirs" description
="export_projects">
          <mkdir dir="${bin.dir}"/>
          <vajexport destdir="${bin.dir}">
               <include name="bin/**"/>
          </vajexport>
     </target>

     <target name="buildall" depends="load, export" description="build
all">
     </target>
</project>
-----------------------------------------------------------------------
I tried with <taskdef> and also putting the optional.jar in the lib
directory of my ant installation directory.

Same problem is comming for vajexport. If anyone knows pls help me in
solving this problem.

Thanks
with Regards
(Embedded image moved to file: pic03035.gif)

Mime
View raw message