On Tue, Sep 14, 2010 at 10:05 AM, Greg Akins <[email protected]> wrote:
> I've having troubles compiling a project which uses xmlbeans plugin to
> generate sources from xsd.  Does anyone have any idea what might be
> happening here?
> [INFO] XmlBeans compile failed:
>  xml ErrorLoading schema file
> /var/lib/hudson/jobs/cbscore/workspace/cbscore/src/main/xsd/MergedBankSvcSchema.xsd

I figured this out..

First.. before I ran this with 'mvn -e' it just returned an out of
memory exception.  I thought that was a red herring because of the
messages about failing to load the file when I turned debug on.

However, I finally saw in the documentation that the plugin has it's
own max and initial memory settings.

when I removed the -Xmx arg from MAVEN_OPTS and used the memory
parameters on the plugin configuration, the project compiled fine.



-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to