I believe that the SSE subproject of WTP has some facilities for this. The XSDEditorPlugin/XSDEditor in WTP, e.g., does preserve the formatting of the document.
Brennan Spies Sr. Programmer Analyst -----Original Message----- From: Eugene Kuleshov [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 1:37 PM To: [email protected] Subject: Re: [m2eclipse-user] feedback for the Maven POM editor Spies, Brennan wrote: > Good as always. I think that m2eclipse will be the tool that pushes more > developers from Ant (only) into Maven. Nice. > Thanks Brennan. Just to clarify, it still require quite a bit of work. So, please don't expect it in the next release (one or two weeks from now). > (I did a Swing-based app once with an XML configuration file. I used > JAXB-annotated JavaBeans and just marshaled to and from the appropriate node > in the DOM. The "save", of course, just serialized to the file. It worked > nicely with surprisingly little code. Haven't looked at the plug-in code yet, > but I was just wondering out loud if a similar approach might work for you.) > We currently have model generated from Maven POM XSD using xmlbeans. It provides high level API for working with POM model and that is what is currently used by "add dependency" action and few other similar ones. The challenge is that changes done trough such model should not change formatting of the source XML document. So, we may be exploring some alternatives. regards, Eugene --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
