You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2006/04/12 19:38:43 UTC
Beta 2?
Considering that we have 9 bugs fixed (of which 7 are "Major" or
"Crticial"), I think we need to make a second beta ASAP. I am also
planning to close CAY-488 by then, so I suggest a tentative release
date of Monday, April 17th.
Any takers for the remaining road map issues? ;-)
Andrus
Re: Code generator
Posted by Mike Kienenberger <mk...@gmail.com>.
On 4/19/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> Looks like you need a clean rebuild. This is definitely related to
> the empty panel you are seeing.
Yep, sure enough. Everything looks good now (template table and
buttons). I'll try to take a look at using it in practice later, but
all of my current template files are based on v1.2.
I miss the old days when all I needed to do to build a project was
type "ant" and it'd incrementally update just the changed stuff.
These days, particularly for MyFaces (but also starting to happen for
Cayenne), I often have to delete everything, do a clean checkout, and
build a custom bat file to preconfigure the build, and then let it run
for 10 minutes. I'm not sure this is progress :)
Re: Code generator
Posted by Andrus Adamchik <an...@objectstyle.org>.
Looks like you need a clean rebuild. This is definitely related to
the empty panel you are seeing.
Andrus
On Apr 19, 2006, at 7:33 PM, Mike Kienenberger wrote:
> java.lang.NoSuchMethodError:
> org.objectstyle.cayenne.modeler.dialog.pref.TemplatePreferences:
> method <init>(Lorg/objectstyle/cayenne/modeler/util/
> CayenneController;)V
> not found
> at
> org.objectstyle.cayenne.modeler.dialog.pref.PreferenceDialog.configure
> (PreferenceDialog.java:178)
> at
> org.objectstyle.cayenne.modeler.dialog.pref.PreferenceDialog.startupAc
> tion(PreferenceDialog.java:168)
> at
> org.objectstyle.cayenne.modeler.action.ConfigurePreferencesAction.perf
> ormAction(ConfigurePreferencesAction.java:78)
Re: Code generator
Posted by Mike Kienenberger <mk...@gmail.com>.
> On Apr 18, 2006, at 11:27 PM, Mike Kienenberger wrote:
> > I've fiddled with the interface a bit, and it looks like a good start.
> > Nothing happens on the template preference page, though, so I can't
> > really try it.
On 4/19/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> What do you mean? Can you click on "Add Template" button on the
> right? After you do that all your custom templates should appear in
> the template dropdowns.
Before, I'd get to the preferences window, but the content section
would be empty, leaving only the left-side menu items and the
cancel/save buttons on the bottom.
I just tried it again with the latest cvs, and now nothing happens
when I click on "Customize Templates".
Clicking on Preferences brings up an error panel -- not sure if this is related.
CayenneModeler Info
Version: 1.2-dev
Build Date: April 19 2006
Exception:
=================================
java.lang.NoSuchMethodError:
org.objectstyle.cayenne.modeler.dialog.pref.TemplatePreferences:
method <init>(Lorg/objectstyle/cayenne/modeler/util/CayenneController;)V
not found
at org.objectstyle.cayenne.modeler.dialog.pref.PreferenceDialog.configure(PreferenceDialog.java:178)
at org.objectstyle.cayenne.modeler.dialog.pref.PreferenceDialog.startupAction(PreferenceDialog.java:168)
at org.objectstyle.cayenne.modeler.action.ConfigurePreferencesAction.performAction(ConfigurePreferencesAction.java:78)
at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:199)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Re: Code generator
Posted by Andrus Adamchik <an...@objectstyle.org>.
Mike,
this is done. Let me know if you see any glitches.
Andrus
On Apr 19, 2006, at 3:22 AM, Andrus Adamchik wrote:
> Mike,
>
> thanks for the feedback - I'll add the missing items (see below).
>
>
> On Apr 18, 2006, at 11:27 PM, Mike Kienenberger wrote:
>>
>> I've fiddled with the interface a bit, and it looks like a good
>> start.
>> Nothing happens on the template preference page, though, so I can't
>> really try it.
>
> What do you mean? Can you click on "Add Template" button on the
> right? After you do that all your custom templates should appear in
> the template dropdowns.
>
>
>> For me, version is always 1.2 and makepairs is always false. It
>> looks
>> like makepairs is always true here.
>
> Yes. Will need to add a checkbox. Probably need to add a generator
> version selector as well (current default is 1.1).
>
>
>> Does the modeler automatically populate additionalMaps with all
>> DataMaps in the current model?
>
> No it doesn't - will need to do that.
>
>
>> I'd like to also see a checkbox for overwrite and usepkgpath.
>
> +1
>
>> Also, the ability to specify the outputPattern if you're in
>> EntityMode
>
> +1
>
> Andrus
>
>
>
Code generator
Posted by Andrus Adamchik <an...@objectstyle.org>.
Mike,
thanks for the feedback - I'll add the missing items (see below).
On Apr 18, 2006, at 11:27 PM, Mike Kienenberger wrote:
>
> I've fiddled with the interface a bit, and it looks like a good start.
> Nothing happens on the template preference page, though, so I can't
> really try it.
What do you mean? Can you click on "Add Template" button on the
right? After you do that all your custom templates should appear in
the template dropdowns.
> For me, version is always 1.2 and makepairs is always false. It looks
> like makepairs is always true here.
Yes. Will need to add a checkbox. Probably need to add a generator
version selector as well (current default is 1.1).
> Does the modeler automatically populate additionalMaps with all
> DataMaps in the current model?
No it doesn't - will need to do that.
> I'd like to also see a checkbox for overwrite and usepkgpath.
+1
> Also, the ability to specify the outputPattern if you're in EntityMode
+1
Andrus
Re: Beta 2?
Posted by Mike Kienenberger <mk...@gmail.com>.
On 4/16/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> I just closed CAY-488 and we have total of 12 issues fixed since B1.
> I am going to do the release tomorrow morning as planned. Appreciate
> if someone has time to look at the new Modeler class generation
> function.
I've fiddled with the interface a bit, and it looks like a good start.
Nothing happens on the template preference page, though, so I can't
really try it.
For me, version is always 1.2 and makepairs is always false. It looks
like makepairs is always true here.
Generation mode is great!
Does the modeler automatically populate additionalMaps with all
DataMaps in the current model?
I'd like to also see a checkbox for overwrite and usepkgpath.
Also, the ability to specify the outputPattern if you're in EntityMode
Re: Beta 2?
Posted by Andrus Adamchik <an...@objectstyle.org>.
I just closed CAY-488 and we have total of 12 issues fixed since B1.
I am going to do the release tomorrow morning as planned. Appreciate
if someone has time to look at the new Modeler class generation
function.
Andrus
On Apr 12, 2006, at 9:38 PM, Andrus Adamchik wrote:
> Considering that we have 9 bugs fixed (of which 7 are "Major" or
> "Crticial"), I think we need to make a second beta ASAP. I am also
> planning to close CAY-488 by then, so I suggest a tentative release
> date of Monday, April 17th.
>
> Any takers for the remaining road map issues? ;-)
>
> Andrus
>