On Apr 25, 2005, at 7:51 AM, Adam Hardy wrote:

-----Original Message-----
From: David Jencks [mailto:[EMAIL PROTECTED]
Sent: 23 April 2005 17:49
To: Maven Users List
Subject: Re: Where to find Maven-xmlbeans-plugin and documentation ?

I more or less recommend using xmlbeans 2.  The plugin is here:
http://issues.apache.org/jira/browse/XMLBEANS-124

and there are some instructions in the src jar.


David

One thing that I came across is that Eclipse 3.1 cannot handle the long
random class names generated by XMLBeans. At least, Eclipse turns its
nose up when I included the source files in the project.
Are you sure the long class names (I assume you mean the xsb names) are the problem rather than the location?

I have the plugin set up to put the generated xsb binary files into the maven target/classes directory. This seems to work fine with idea: I don't use eclipse so I don't know if you can or how you would set this up. There is an additional "issue" that xmlbeans2 generates a type holder class rather than source: this also goes into the classes dir directly. Again I have no problems with this but there may be a problem using eclipse.

I resorted to compilation to jar - and then copied it into my maven repo.

I see you haven't got to that 'compilation to jar' functionality - or
are you planning on deprecating it?

I have no use for it (I need to package the xmlbeans classes with project classes) and think it subverts maven functionality. IMO if you want a jar with only xmlbeans artifacts the way to do it using maven is to have a project with only the schemas in it.


/me starts wondering if I should install eclipse to investigate these problems myself.

thanks
david jencks





Adam

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

---------------------------------------------------------------------
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