EntityExpander - plugin detail

Generate new classes from POJOs.

NetBeans Plugin - EntityExpander
Plugin owner: geertjan
Website: blogs.oracle.com/geertjan
Added: 2014-03-22
License: CDDL
Category: Editing
Downloaded: 374 times
Rating:
 4.43, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2014-04-21

What's new in this version

1.1: Hopefully fixes the problem with installing.

1.2: Package-level expansion added.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Right-click a POJO and use the Entity Expander menu to create new classes baased on the POJO.

[ You have to be logged in to be able to comment. ]

User Comments

  

1.1 now works perfectly

I had the same issue with the 1.0 version, but 1.1 now works flawlessly. Make your own templates with free marker and this will great tool when creating large applications.
Posted by mstahv on Mar 25, 2014
  

Uploaded 1.1

I uploaded a new version. Can you check if that one works for you?
Posted by geertjan on Mar 25, 2014
  

MissingResourceException

Hi Geertjan;

I have following IDE log when installing module. There is no problem when i compile the module myself (from java.net svn repo)

INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.netbeans.entity.expander [1.0 140322]
INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.entity.expander.ExpandEntityAction from Actions/Tools/org-tc-customizer-ExpandEntityAction.instance
java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key CTL_ExpandEntityAction
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at org.openide.util.NbBundle.getMessage(NbBundle.java:642)
at org.netbeans.entity.expander.Bundle.CTL_ExpandEntityAction(Bundle.java:10)
at org.netbeans.entity.expander.ExpandEntityAction.(ExpandEntityAction.java:70)
at org.netbeans.entity.expander.ExpandEntityAction.(ExpandEntityAction.java:66)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
[catch] at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:712)
at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:549)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:944)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:940)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:877)
at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:798)
at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1432)
at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:846)
at org.openide.loaders.FolderInstance.instanceForCookie(FolderInstance.java:580)
at org.openide.loaders.FolderInstance$HoldInstance.instanceCreate(FolderInstance.java:1153)
at org.openide.loaders.DataLdrActions.createInstance(DataLdrActions.java:178)
at org.openide.loaders.FolderInstance.defaultProcessObjectsFinal(FolderInstance.java:888)
at org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:730)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: class org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper ignored cancel for 97 ms.
Posted by Revivius on Mar 24, 2014
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo