X

Geertjan's Blog

  • November 19, 2012

Free & Open Source XML Editor Built on Maven

Geertjan Wielenga
Product Manager

Here you can download the sources of an XML Editor that uses libraries from NetBeans IDE 7.3 Beta 2 as its basis, while using Maven as its build system:

http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/XMLEditorInMavenNBRCP

And here's what it looks like to the user:

Note: The Favorites window has been rebranded as "File Browser" and Nimbus is used for the look and feel, thanks to a .conf file that is registered in the POM of the application project. 

The cool part is that I didn't type one line of code to get the above result and that only those pieces that an XML Editor actually needs are included in the application, though it could be pruned even further.

Join the discussion

Comments ( 3 )
  • guest Monday, November 19, 2012

    How to build and run this Project ?

    I have specify:

    New NetBean POM -> Build

    All was successful - but no application appears.

    What I miss ?


  • Geertjan Monday, November 19, 2012

    Sounds like you don't understand how Maven based NetBeans Platform applications work. Go to the NetBeans Platform Learning Trail to find out: http://netbeans.org/features/platform/all-docs.html


  • abit Saturday, July 5, 2014

    Hi, Geertjan.

    Today I checkout this project and tried to compile/run it from Netbeans#74.

    But it seems code completion is not available. Completion was added by adding org-netbeans-modules-xml-schema-completion dependency.

    Also Save shortcut does not working for me while toolbar button and menu item works fine.

    I assume that some module dependency is missing(or I did something wrong). Could you please advise general principles how to find needed modules in such cases?

    Thank you.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha