Return-Path: X-Original-To: apmail-cayenne-dev-archive@www.apache.org Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2058D29B for ; Mon, 15 Oct 2012 18:38:50 +0000 (UTC) Received: (qmail 35171 invoked by uid 500); 15 Oct 2012 18:38:50 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 35140 invoked by uid 500); 15 Oct 2012 18:38:50 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 35131 invoked by uid 99); 15 Oct 2012 18:38:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 18:38:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 Oct 2012 18:38:45 +0000 Received: (qmail 31520 invoked from network); 15 Oct 2012 18:41:02 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 15 Oct 2012 18:41:02 -0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Cayenne Modeler + Maven Plugin From: Andrus Adamchik In-Reply-To: Date: Mon, 15 Oct 2012 21:38:31 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <1723F1E4-7C13-4FAE-8767-DC833B0EE94A@objectstyle.org> References: To: dev@cayenne.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org 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: org.apache.maven.plugins maven-deploy-plugin true Andrus On Oct 15, 2012, at 5:53 PM, Michael Gentry = wrote: > So Andrus, >=20 > 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? >=20 > mrg >=20