Resolved the different output - was because of a different version of a dependent jar. Ugh.

Still cannot get it to generate even with all same libraries etc.

-Brian

On Sunday, November 30, 2003, at 03:34 PM, Brian McCallister wrote:

Interestingly I get different output from Ant for the different projects as well.

-Brian

On Sunday, November 30, 2003, at 03:31 PM, Brian McCallister wrote:

I have quite successfully replicated this behavior.

I am hitting the exact same problem using the same jar, same taskdef, and same target in one project but not in another. I am trying to figure out what is different between them at the moment.

Grrrr.

-Brian

On Saturday, November 29, 2003, at 07:10 PM, Martin Kluge wrote:

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]





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





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





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



Reply via email to