ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolf.siber...@tui.de
Subject RE: VAJLoad is not working
Date Thu, 12 Jul 2001 17:12:27 GMT
You could also check if the task is in your
/org/apache/tools/ant/taskdefs/defaults.properties.

Typically I recommend importing the Java files
of the source distribution instead of the class files,
because then you can see errors due to missing classes
instantly and debugging becomes more easy.

Wolf

> -----Original Message-----
> From: Les Hughes [mailto:leslie.hughes@rubus.com]
> Sent: Thursday, July 12, 2001 1:35 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: VAJLoad is not working
> 
> 
> 
> 
> 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