ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: VAJLoad is not working
Date Thu, 12 Jul 2001 11:35:29 GMT


Hi,

I'm a bit behind you but I noticed that my copy of optional.jar didn't have
the VAJ tasks. Open optional.jar and have a look for the optional.ide
package. If it's not there, grab a snap shot and build the tasks yourself.

Hope this helps,

Les
(About to try to install Ant into VAJ - wish me luck!!)



> -----Original Message-----
> From: Pandian.Anbunathan@in.efunds.com
> [mailto:Pandian.Anbunathan@in.efunds.com]
> Sent: 12 July 2001 12:03
> To: ant-user@jakarta.apache.org; ant-dev@jakarta.apache.org
> Subject: VAJLoad is not working
> 
> 
> 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