Hello ,
Thomas Dudziak schrieb um 16:55 am Samstag den 29. November 2003:
>
> This line should be:
>
> <include name="**/Dienst*.java"/>
>
> Apart from this, the source and build file seems to be ok. BTW you
> can get some more verbose output from the ojb and torque tasks by
> adding the verbose="true" attribute (provided you use a recent
> version of the module from CVS).
>
> Tom
Thanks for the answer!
I tried both suggestions but with no effect. The generated xml-files
are still the same. I downloaded the CVS-Version of the module and
installed it to ants lib directory so that I no longer got an
error-message because of he attribute verbose="true". The ant-build
succeeds(seemingly) as before. Anything else that I coud try?
==========>
[EMAIL PROTECTED]:~/workspace/hpca-inventar> ant -v
Apache Ant version 1.5.4 compiled on August 12 2003
Buildfile: build.xml
Detected Java version: 1.4 in: /usr/lib/j2sdk1.4.2/jre
Detected OS: Linux
parsing buildfile build.xml with URI =
file:/home/mk/workspace/hpca-inventar/build.xml Project base dir set
to: /home/mk/workspace/hpca-inventar [property] Loading Environment
env. Build sequence for target `ojb-repository-files' is [init,
ojb-repository-files] Complete build sequence is [init,
ojb-repository-files, main, init-db]
init:
ojb-repository-files:
[ojbdoclet] (XDocletMain.start 47 ) Running
<ojbrepository/>[ojbdoclet] Generating repository_user.xml.
[ojbdoclet] (XDocletMain.start 47 ) Running
<torqueschema/>[ojbdoclet] Generating project_schema.xml.
BUILD SUCCESSFUL
Total time: 3 seconds
[EMAIL PROTECTED]:~/workspace/hpca-inventar>
<========
========>
<target name="ojb-repository-files" depends="init">
<description >use xdoclet to extract ojb-Information from
classes</description>
<taskdef name="ojbdoclet"
classname="xdoclet.modules.ojb.OjbDocletTask"
classpathref="ojbdoclet-classpath"/>
<ojbdoclet destdir="${ojb-dir}">
<fileset dir="${model-dir}">
<include name="**/Dienst*.java"/>
</fileset>
<ojbrepository destinationFile="repository_user.xml"
verbose="true" />
<torqueschema databaseName="hpca"
destinationFile="project_schema.xml" verbose="true"/>
</ojbdoclet>
</target>
<========
========>
[EMAIL PROTECTED]:~/workspace/hpca-inventar/de/hpca/model> dir Dienst*.java
-rw-r--r-- 1 mk users 1014 2003-11-28 22:04
DienstStelle.java
[EMAIL PROTECTED]:~/workspace/hpca-inventar/de/hpca/model>
<=========
Regards
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]