Free & Open Source XML Editor Built on Maven

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.

Comments:

How to build and run this Project ?
I have specify:

New NetBean POM -> Build

All was successful - but no application appears.

What I miss ?

Posted by guest on November 19, 2012 at 09:10 AM PST #

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

Posted by Geertjan on November 19, 2012 at 09:22 AM PST #

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.

Posted by abit on July 05, 2014 at 02:29 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today