Hi,

I am trying to collect the meta info tags for Avalon Fortress (Container and
Tools in version 1.1) from my component by integrating the "collect-meta"
info tag in my build.xml like this:

<project basedir="." default="usage">
...
      <property name="lib.dir" value="./lib"/>
...
    // other pathes, e.g. to fortress container etc.
...
       <path id="tools.class.path"

path="${lib.dir}/avalon/avalon-fortress/avalon-fortress-tools-1.1.jar:

${lib.dir}/avalon/avalon-fortress/avalon-fortress-container-1.1.jar:
                           ${lib.dir}/avalon/avalon-fortress/qdox-1.3.jar"
            />
...

        <taskdef name="collect-meta"
classname="org.apache.avalon.fortress.tools.ComponentMetaInfoCollector">
              <classpath refid="tools.class.path"/>
        </taskdef>

        <target name="meta_graphio">
                <collect-meta destdir="${build.dest}">
                    <fileset dir="vis">
                        <include name="graphio/**/*.java"/>
                    </fileset>
                </collect-meta>
        </target>
 ...
</project>


When i execute the compile task with ant 1.5.3 (in verbose mode) I always
get the following error message:

"parsing buildfile D:\UNI\PROJEKT_VIS2\VIS\build.xml with URI =
file:D:/UNI/PROJEKT_VIS2/VIS/build.xml
Project base dir set to: D:\UNI\PROJEKT_VIS2\VIS
Build sequence for target `meta_graphio' is [meta_graphio]
Complete build sequence is [meta_graphio, clean_api-doc, prepare,
clean_classes, compile, package_core, package_config, package_fcm,
package_menubar, package_statusbar, package_toolbar, package_graphio,
run_vis, all, javadoc, compile_graphio, run_vis_with_merlin, usage]
meta_graphio:
Writing Info descriptors as property files (.meta).
java.lang.IncompatibleClassChangeError
        at
org.apache.avalon.fortress.tools.Component.<init>(Component.java:87)
        at
org.apache.avalon.fortress.tools.ComponentMetaInfoCollector.collectInfoMetaD
ata(ComponentMetaInfoCollector.java:189)
        at
org.apache.avalon.fortress.tools.ComponentMetaInfoCollector.execute(Componen
tMetaInfoCollector.java:85)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:331)
        at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
BUILD FAILED"

I used qdox 1.3 for this. At the qdox site
(http://qdox.codehaus.org/upgrade.html) is a hint that something has changed
in JavaClass.java so this maybe the error for that!?!
Has anybody made the same experience?
Thanx in advance for any help from you.


Greetings

Jens Krefeldt



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

Reply via email to