Can you run it with -e or -X? However, these schemas are all ones
that xmlbeans should not need to compile for this plugin, it should be
using the already compiled classes from the bundles that already have
them. So I think there's a classloading problem involved. The
xmlbeans plugin is not osgi based, so I don't think its caused by bad
Export-Package specification. The two things to check are that:
1. the bundles from the modules that do have these schemas do contain
the xmlbeans classes and .xsb files.
2. the bundles are actually on the xmlbeans plugin's classpath.
I would have guessed missing .xsb files but checking my copy of
geronimo-naming-builder it looks like they are present.
thanks
david jencks
On Oct 20, 2009, at 8:36 AM, Rick McGuire wrote:
I'm trying to get the Tomcat plugin building, and I'm getting a
puzzling error trying to build geronimo-tomcat-builder:
[INFO] Writing OBR metadata
[INFO]
------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, Tomcat :: Builder
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: C:\g-3.0\plugins\tomcat\geronimo-tomcat6-
builder\targe
t (included: [**], excluded: [])
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] [enforcer:enforce {execution: default}]
[INFO] [xmlbeans:xmlbeans {execution: default}]
IO Error java.io.FileNotFoundException: C:\g-3.0\plugins\tomcat
\geronimo-tomcat6
-builder\src\main\xsd\geronimo-naming-1.2.xsd (The system cannot
find the file s
pecified)
IO Error java.io.FileNotFoundException: C:\g-3.0\plugins\tomcat
\geronimo-tomcat6
-builder\src\main\xsd\geronimo-application-2.0.xsd (The system
cannot find the f
ile specified)
IO Error java.io.FileNotFoundException: C:\g-3.0\plugins\tomcat
\geronimo-tomcat6
-builder\src\main\xsd\geronimo-module-1.2.xsd (The system cannot
find the file s
pecified)
IO Error java.io.FileNotFoundException: C:\g-3.0\plugins\tomcat
\geronimo-tomcat6
-builder\src\main\xsd\geronimo-jaspi.xsd (The system cannot find the
file specif
ied)
Time to build schema type system: 5.875 seconds
BUILD FAILED
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
It appears like it is looking in the wrong location for the
references xsd files. I haven't been able to spot any obvious
changes from the other plugins that have already been converted that
might also be required here.
Rick