cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Cayenne Modeler + Maven Plugin
Date Tue, 16 Oct 2012 06:02:08 GMT
It is not available on 3.0. The feature was added per
, targeting 3.1. Not even sure it is easily portable to 3.0 ("easily" as in applying a patch
from another branch), as the Modeler is now also DI-based, so startup algorithm is somewhat


On Oct 15, 2012, at 11:03 PM, Michael Gentry <> wrote:

> I haven't looked at that part of the code in a while.  Are you
> thinking fix for 3.0, too?  I normally wouldn't care, but I've learned
> the hard way that sometimes you can't download the regular modeler due
> to corporate firewalls/etc, but you can sneak the Maven version
> through because they allow access to the Maven repository.
> Thanks,
> mrg
> On Mon, Oct 15, 2012 at 2:38 PM, Andrus Adamchik <> wrote:
>> Hi Mike,
>> Actually I refactored the launchers and the menu inclusion/exclusion logic some time
ago, so now we have a set of platform launchers, and no if/else choices on startup. I guess
we'll need to rewrite the plugin to start the Modeler via 'GenericMain' from 'cayenne-modeler-generic-ext'
module. It includes the prefs menu. We'll also need to remove this piece from 'cayenne-modeler-generic-ext'
POM, to ensure it gets deployed to central on next release:
>> <build>
>>        <plugins>
>>                <plugin>
>>                        <groupId>org.apache.maven.plugins</groupId>
>>                        <artifactId>maven-deploy-plugin</artifactId>
>>                        <configuration>
>>                                <skip>true</skip>
>>                        </configuration>
>>                </plugin>
>>        </plugins>
>> </build>
>> Andrus
>> On Oct 15, 2012, at 5:53 PM, Michael Gentry <> wrote:
>>> So Andrus,
>>> Going back to a conversation we had many years ago (and I'm too lazy
>>> to find the thread), we had talked about the OS X version of Cayenne
>>> Modeler and how I had checked in some changes which move the
>>> About/Preferences/etc menus to where they belonged for an OS X
>>> application.  It turns out if you run CM using the Maven plugin, those
>>> menu options are not available.  I suppose the best way to fix this is
>>> to check if running as a .app and then move the menu items, otherwise
>>> leave them alone?
>>> mrg

View raw message