ant-user mailing list archives

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



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

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}"/>

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

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

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

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

     <target name="buildall" depends="load, export" description="build
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.

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

View raw message