Hi,

I always get this errormessabe from ant:

repository-files:

BUILD FAILED
file:D:/JAVA_E~1/cvs_home/testojb/build.xml:165: taskdef class
xdoclet.modules.ojb.OjbDocletTask cannot be found

I use the following ant targets

...
<!-- Where xdoclet and xdoclet-ojb-module are in -->
<property name="dir.repo" value="d:/Java_Entwicklung/Repo"/>
...
<path id="cp">
    <pathelement path="${classpath}"/>
    <pathelement location="${dir.class}"/>
    <pathelement location="${dir.dep}"/>
    <fileset dir="${dir.repo}">
      <include name="**/*.jar"/>
    </fileset>
    <fileset dir="${dir.tomcat}">
      <include name="**/*.jar"/>
    </fileset>
  </path>
...
 <target name="repository-files">
        <mkdir dir="./build"/>
        
        <taskdef name="ojbdoclet"
classname="xdoclet.modules.ojb.OjbDocletTask"  classpathref="cp"/>
        <ojbdoclet destdir="./build">
            <fileset dir="./src"/>
            <ojbrepository destinationFile="repository_user.xml"/>
            <torqueschema databaseName="testojb"
destinationFile="project_schema.xml"/>
        </ojbdoclet>
    </target>
...

There are no files in ant\lib or in my project-lib folder

Kind Regards,

Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to