Register this URL in your Plugin Manager: http://blogs.oracle.com/geertjan/resource/NetBeans4Wicket.xml OR http://java.net/projects/nbwicketsupport/sources/nbwicketsupport/show/WicketSuite/updates?rev=56.
(Note: The sources and binaries are at http://java.net/projects/nbwicketsupport, but for some reason you can't access NetBeans update centers if they're on java.net, hence I uploaded it into this blog.)
Then you'll be able to create Wicket applications in NetBeans IDE 7.1, in the final step of the New Web Application wizard:
Also, if no library is found in the Library Manager with a name starting with "Wicket", the panel above will look different; you'll be able to select a Wicket root folder yourself, or select none, in which case no JARs will be attached to the project when it is created and you'll need to do so yourself manually.
Another small change is that no restart of NetBeans IDE is needed after you install the plugin.
Wicket applications in NetBeans IDE end up looking like this:
The above is an Ant based Wicket application, created via the dialog above, with no configuration needing to be done of any kind afterwards. For the moment, the plugin doesn't work very well for Maven, but Maven users can continue using the Maven archetype for Wicket, accessible from the New Project dialog as before.
The many features for Wicket developers that were there before are still there, once the NetBeans Wicket plugin is installed, such as Wicket ID matching, hyperlinking, a navigator window, palette with snippets, and more. We're working on updating the tutorial at the moment.
The latest version of this plugin was created with NetBeans IDE 7.1 RC 2, so if you're using an earlier version of NetBeans IDE, you'll probably experience problems of one kind or another during installation, so you're strongly advised to use NetBeans IDE 7.1 RC 2 or later.
Feedback on the NetBeans Wicket plugin is welcome.
0 comments:
Post a Comment