Hello Guillaume,
Guillaume Nodet wrote:
The missing file is, as you pointed it, the 1.0 file that is generated.
We can not include it in the source distribution, as it is generated, but
you can grab it downloading the binary jar and extracting it.
?? but other files (eg in conf/servicemix.xsd) are generated yet are
included in the source distribution
You can also generate it using the "xsdGenerate" ant targets included
in the core/maven.xml.
This must be done just after compiling of the core module.
I tried the following which is much the same as the maven.xml
<taskdef name="xsdGenerate"
classname="org.xbean.spring.generator.MappingGeneratorTask">
<classpath refid="build.classpath" />
</taskdef>
<target name="dogen" depends="compile">
<xsdGenerate
destFile="${build.dir}/target/servicemix.xsd"
namespace="http://servicemix.org/config/1.0"
classpathref="build.classpath"
srcdir="${srcroot.dir}/src/main/java"
metaInfDir="${build.dir}/target/generated/"/>
</target>
I got this error::
The <xsdGenerate> type doesn't support the "classpathref" attribute
But if I remove that attribute I get this error:
java.lang.NoClassDefFoundError:
com/thoughtworks/qdox/model/AbstractJavaEntity
[my build.classpath is all the jars from the binary distribution lib/**]
Is there some obvious blunder you can see?
Thanks.
Peter