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 6DCB710023 for ; Fri, 8 Nov 2013 23:34:39 +0000 (UTC) Received: (qmail 69359 invoked by uid 500); 8 Nov 2013 23:34:39 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 69339 invoked by uid 500); 8 Nov 2013 23:34:39 -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 69331 invoked by uid 99); 8 Nov 2013 23:34:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 23:34:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 23:34:33 +0000 Received: by mail-vc0-f178.google.com with SMTP id ie18so1871406vcb.37 for ; Fri, 08 Nov 2013 15:34:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=JwP7kVQYmXqHH3pDEGNNOYUwrD8IqffYjtf3uoaGeBc=; b=fqvO8ZCCk4GvjYja3E8TzAs95cWtw4/zF2ssyFCXZDX6Lqq6A7g4X5BSUI0dHRK4yn Y3rV3zfUtPmn8zBJAB4BpjCR7nPrm3tzPdhOJzifUbM36QtbxKmnpN+dpXQ1TZXdZdVq 7CGVrwkE8KnKEtIE8ReelkaGMvqFhQxm2FB0b9r9M5YeeQcXyjIfu0P5x4rWZ2QSv0AD Yx2nUCtBjoPqkFigoukgevvOF7P0f50Jkan+BMA5y6Rkh5jRw6lJdPA+JRiJXaoNaRq8 A/TJt1opFPhDB2AUnh6nwT/SPDkLqhnJ7LuP/36nAGnY/fThho2XxyK+jbrRgBSMhk1q Hkzg== X-Gm-Message-State: ALoCoQl4PCabKGFcWzl9usezQnc4KjdlUMKPkYtsunXzDn3QFq9MmfytHvWAsDgB1Zq2JhyfDcc3 X-Received: by 10.52.26.69 with SMTP id j5mr11996359vdg.21.1383953650480; Fri, 08 Nov 2013 15:34:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.228.38 with HTTP; Fri, 8 Nov 2013 15:33:50 -0800 (PST) In-Reply-To: References: <18844595-C647-407E-831E-F06AFAC34F28@objectstyle.org> From: Michael Gentry Date: Fri, 8 Nov 2013 18:33:50 -0500 Message-ID: Subject: Re: [jira] [Commented] (CAY-1881) CayenneModeler (Mac version) doesn't work with Java 7 To: Cayenne Developers Content-Type: multipart/alternative; boundary=20cf307f3246b9199b04eab2d152 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307f3246b9199b04eab2d152 Content-Type: text/plain; charset=ISO-8859-1 Agreed, although there have been times where I wanted to give testers/DBAs our model, but they didn't have a JRE installed, so in those circumstances, it would be potentially helpful. On Fri, Nov 8, 2013 at 4:27 PM, John Huss wrote: > For a tool intended for use by Java developers I think including the JRE is > unnecessary. Although for consumer applications it is handy. > > > On Fri, Nov 8, 2013 at 2:28 PM, Michael Gentry >wrote: > > > I noticed the bundling of the JRE, too. Pros and cons to that, I > suppose. > > I believe JavaFX is designed to bundle the JRE, too. This seems to be > the > > 'trend' for UIs from Sun/Oracle. > > > > > > On Fri, Nov 8, 2013 at 1:55 PM, Andrus Adamchik > >wrote: > > > > > Some random licensing comments. > > > > > > So Appbundler source is GPL-2.0 [1]. Which is ok for the build tool I > > > guess, we are not releasing the tool, only our stuff built with it.. > Now > > > what about JRE? Not sure if there are precedents for Apache projects > > > bundling a JRE in a distro. I guess we stay on the safe side and ship > > > CayenneModeler.app without the JRE (it will be much smaller too this > > way). > > > > > > Andrus > > > > > > > > > [1] https://java.net/projects/appbundler > > > > > > Begin forwarded message: > > > > > > > From: "Andrus Adamchik (JIRA)" > > > > Subject: [jira] [Commented] (CAY-1881) CayenneModeler (Mac version) > > > doesn't work with Java 7 > > > > Date: November 8, 2013 at 9:08:17 PM GMT+3 > > > > To: commits@cayenne.apache.org > > > > Reply-To: dev@cayenne.apache.org > > > > > > > > > > > > [ > > > > > > https://issues.apache.org/jira/browse/CAY-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817525#comment-13817525 > > ] > > > > > > > > Andrus Adamchik commented on CAY-1881: > > > > -------------------------------------- > > > > > > > > I think we'll be able to fix that with relatively little pain. Oracle > > OS > > > X java preserved "com.apple.eawt" package. So I downloaded Appbundler > > [1], > > > created a small change in the Mac assembly [2], and assembled Modeler > > with > > > the following Ant script [3]. This produced clickable app that starts > > with > > > expected OS X look-and-feel and is otherwise indistinguishable from > > Java 6 > > > OS X modeler. I guess now we need to integrate this into the build > > process. > > > > > > > > BTW, with " " option we can > include > > > Java 7 runtime in the app... too bad the size of the app goes up from > ~8 > > to > > > 148 MB (56MB when gzipped). So I guess we'll rely on users installing > > their > > > own JRE. > > > > > > > > [1] https://java.net/projects/appbundler/pages/Home > > > > [2] diff --git a/modeler/cayenne-modeler-mac/pom.xml > > > b/modeler/cayenne-modeler-mac/pom.xml > > > > index d807151..40662e5 100644 > > > > --- a/modeler/cayenne-modeler-mac/pom.xml > > > > +++ b/modeler/cayenne-modeler-mac/pom.xml > > > > @@ -85,9 +85,8 @@ > > > > > > > ${project.version} > > > > > > target/modeler > > > > > > > org.apache.cayenne.modeler.osx.OSXMain > > > > - > > > src/japplication/resources/CayenneModeler.icns > > > > - mac > > > > - 1.5+ > > > > + java > > > > + 1.7+ > > > > > > -Xmx500m > > > > > > > > > > > > > > > > [3] > > > > > > > name="bundleapp" > > > > classname="com.oracle.appbundler.AppBundlerTask" > > > > classpath="lib/appbundler-1.0.jar" /> > > > > > > > > > > > > > > > outputdirectory="dist" > > > > name="CayenneModeler" > > > > displayname="CayenneModeler" > > > > identifier="org.apache.cayenne" > > > > mainclassname="org.apache.cayenne.modeler.osx.OSXMain" > > > > > > > > > > icon="/Users/cayenne/work/cayenne/modeler/cayenne-modeler-mac/src/japplication/resources/CayenneModeler.icns"> > > > > > > > > > > > > > file="/Users/cayenne/work/cayenne/modeler/cayenne-modeler-mac/target/modeler/CayenneModeler.jar" > > > /> > > > > > > > > > > > > > > > > > > > > > > > >> CayenneModeler (Mac version) doesn't work with Java 7 > > > >> ----------------------------------------------------- > > > >> > > > >> Key: CAY-1881 > > > >> URL: https://issues.apache.org/jira/browse/CAY-1881 > > > >> Project: Cayenne > > > >> Issue Type: Bug > > > >> Components: Modeler > > > >> Affects Versions: 3.2M1 > > > >> Environment: Mac OS X 10.9 Mavericks > > > >> Oracle Java jdk1.7.0_45 > > > >> Reporter: D Tim Cummings > > > >> Priority: Minor > > > >> > > > >> The Mac specific CayenneModeler 3.2M1 doesn't work when the only > java > > > on the Mac is jdk1.7.0_45. The symptom is it won't open. I tried > > installing > > > it again, but OS X Mavericks says CayenneModeler is damaged and gives > me > > > the option to delete it. The platform independent version of > > CayenneModeler > > > 3.2M1 works fine with jdk1.7.0_45. > > > >> I can confirm that installing java 6 from Apple solved the problem. > > > >> To prevent Java 6 from wanting to install, I had edited > > > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Info.plist > > > >> and replaced > > > >> JVMCapabilities > > > >> > > > >> CommandLine > > > >> > > > >> with the following: > > > >> JVMCapabilities > > > >> > > > >> JNI > > > >> BundledApp > > > >> WebStart > > > >> Applets > > > >> CommandLine > > > >> > > > > > > > > > > > > > > > > -- > > > > This message was sent by Atlassian JIRA > > > > (v6.1#6144) > > > > > > > > > > > > > --20cf307f3246b9199b04eab2d152--