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 0588842F9 for ; Thu, 23 Jun 2011 07:08:28 +0000 (UTC) Received: (qmail 81727 invoked by uid 500); 23 Jun 2011 07:08:27 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 81667 invoked by uid 500); 23 Jun 2011 07:08:25 -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 81657 invoked by uid 99); 23 Jun 2011 07:08:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 07:08:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of esudharaka@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 07:08:21 +0000 Received: by vws10 with SMTP id 10so1855164vws.16 for ; Thu, 23 Jun 2011 00:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=98jORdGsLEE/QcCT64s2cixTSxQK/xtM4ZhyHsaJKTg=; b=hGRIb3UVya8peXl8rc6ECGJAcwv2rudpF0mQxpUdlJmaLy3BJ0Z4YJY0oaWs0zlgpN CqkwAVhSqUN05y1ZwjL5z+OXDEyKGuD0JL75dZGvjOIgc0b0F7hXPmUE0mBax8UI0duM GO5wiP8QvM8hpdEqHLlg2LDywFcgtPVNiUClY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nJ9EdxDaRNtSKRAFttlAKW3L4dPmyeASd6S/iDoUx+lrd5Qt6P1OEeurle8Tdq+J2K d3k2Kib4rJlrWTKkvkQ+GsWvBr1xEn1M56JXGb1BiyHxytvDr1TJD56MvUuFXySFo3e9 5g59Mafz7PSeyllsbfhcwFPRUgsgCCvN1pTeY= MIME-Version: 1.0 Received: by 10.52.27.193 with SMTP id v1mr1356093vdg.31.1308812879769; Thu, 23 Jun 2011 00:07:59 -0700 (PDT) Received: by 10.52.112.198 with HTTP; Thu, 23 Jun 2011 00:07:59 -0700 (PDT) In-Reply-To: References: <4DFFF807.2020300@maniatis.org> Date: Thu, 23 Jun 2011 12:37:59 +0530 Message-ID: Subject: Fwd: Gsoc project Patch From: Eshan Sudharaka To: dev@cayenne.apache.org Content-Type: multipart/alternative; boundary=20cf307c9ab6c6afef04a65bbe50 --20cf307c9ab6c6afef04a65bbe50 Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: Eshan Sudharaka Date: Thu, Jun 23, 2011 at 12:36 PM Subject: Re: Gsoc project Patch To: dev@cayenne.apache.org Manifest-Version: 1.0 Bundle-Name: Cayenne Modeler Plugin for Eclipse Created-By: Apache Maven Bundle Plugin Bundle-Vendor: Apache Cayenne Build-Jdk: 1.6.0_11 Bundle-Version: 3.1.0.SNAPSHOT Bnd-LastModified: 1308209524304 Bundle-Activator: org.apache.cayenne.Activator Bundle-ManifestVersion: 2 Bundle-SymbolicName: cayenne-modeler-eclipse-plugin;singleton:=true Require-Bundle: org.eclipse.ui;bundle-version="3.5.1";visibility:=reexport, org.eclipse.ui.editors;bundle-version="3.5.0";visibility:=reexport, org.eclipse.jface.text;bundle-version="3.5.1";visibility:=reexport, org.eclipse.ui.ide;bundle-version="3.5.1";visibility:=reexport, org.eclipse.ui.navigator;bundle-version="3.4.1";visibility:=reexport, org.eclipse.ui.views;bundle-version="3.4.1", org.eclipse.core.resources, org.eclipse.ui.navigator.resources, org.eclipse.ui.console;bundle-version="3.4.0", org.eclipse.ltk.ui.refactoring;bundle-version="3.4.100", org.eclipse.ui.workbench.texteditor;bundle-version="3.5.1";visibility:=reexport, org.eclipse.core.filesystem;bundle-version="1.2.1" Export-Package: org.overture.ide.ui, org.apache.cayenne.extentions.*, org.apache.cayenne.cayenne-modeler, org.apache.cayenne.unpublished.cayenne-project-unpublished, org.apache.cayenne.unpublished.cayenne-jdk1.5-unpublished, org.apache.cayenne.cayenne-tools, org.apache.cayenne.unpublished.cayenne-wocompat-unpublished, org.apache.cayenne.unpublished.cayenne-di-unpublished I created manifest file manually (with out using felix plugin). But it seems that export packages are not loading. Do i need to put those packages in to class path ? Since manifest contains errors i can not run this as a eclipse application from eclipse IDE. I found a example pom file which uses felix and now trying to do it in this way. http://dirstudio-ldap-tooling.googlecode.com/svn/trunk/persistence-tooling/persistence-ui/pom.xml On Wed, Jun 22, 2011 at 6:07 PM, Eshan Sudharaka wrote: > hi, > > On Wed, Jun 22, 2011 at 2:28 AM, Andrey Razumovsky < > razumovsky.andrey@gmail.com> wrote: > >> Let me join the discussion.. >> >> Eshan, the new dependencies are Eclipse dependencies, right? Are they >> *default* Eclipse bundles? > > > yes. They all are included in Eclipse bundles. > > If so, it is incorrect to provide them as Maven >> dependencies, because they will be included in our bundle, while they are >> already in Eclipse. It's also incorrect to rely on certain Eclipse bundles >> (like workbench-3.6.1.M20100826-1330.jar), because plugin can be run in >> different versions of Eclipse. >> >> I strongly advice you to add all Eclipse bundles via Require-Bundle header >> in manifest, and do not mess with Maven currently at all.. We can figure >> out >> how to build plugin using Maven later. >> Currently manifest in your patch contains lots of unneeded stuff, it >> should >> be really little (most of Private-Package and Import-Package would go >> away, >> since Eclipse bundles would be attached via Require-Bundle). I'm pretty >> sure >> this is the only correct way. >> >> Good luck! >> > thanks for the help. > >> >> 2011/6/21 Andrus Adamchik >> >> > >> > On Jun 21, 2011, at 4:46 AM, Aristedes Maniatis wrote: >> > >> > > Isn't there a process for submitting artifacts to central? >> > >> > BTW, I tried to investigate that for core Cayenne dependencies still >> > sitting on objectstyle.org. Central has a requirement to have a -src >> and >> > -javadoc artifacts submitted with the binary. This is a reasonable >> > expectation for an open source project, but in practice it means a bit >> of an >> > effort to prepare a compatible distro. >> > >> > E.g. it took some time to even find the SVN for Hessian: svn:// >> > svn.caucho.com/resin/ And now I have to checkout everything to find the >> > sources for the right version of Hessian, the figure out how to build >> it. >> > >> > But in case of Eclipse and friends that seems moot, as it is all in >> their >> > p2 repositories already. So it is a question of an appropriate adapter, >> like >> > Tycho. (this is my assumption anyways; I am not an Eclipse dev of >> course). >> > >> > Some more googling shows that Nexus Professional can proxy p2 repos ( >> > http://www.sonatype.com/books/nexus-book/reference/p2.html), which is >> not >> > very helpful either (we don't have a "canonical" install of Nexus >> > Professional). >> > >> > Andrus >> > >> > >> >> >> -- >> Andrey >> > > > > -- > *~Thanks & Regards~* > *** > * > P.A.Eshan Sudharaka > Dept of Computer Science and Engineering > University of Moratuwa > Sri Lanka > http://esudharaka.blogspot.com/ > > -- *~Thanks & Regards~* *** * P.A.Eshan Sudharaka Dept of Computer Science and Engineering University of Moratuwa Sri Lanka http://esudharaka.blogspot.com/ -- *~Thanks & Regards~* *** * P.A.Eshan Sudharaka Dept of Computer Science and Engineering University of Moratuwa Sri Lanka http://esudharaka.blogspot.com/ --20cf307c9ab6c6afef04a65bbe50--