cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Gsoc project Patch
Date Wed, 22 Jun 2011 06:20:19 GMT
Ah, thanks for clarification!

On Jun 21, 2011, at 11:59 PM, Andrey Razumovsky wrote:

> The bottom line is that I don't think our Eclipse plugin would require any
> new Maven dependencies at this state.
> 
> 2011/6/22 Andrey Razumovsky <razumovsky.andrey@gmail.com>
> 
>> Let me join the discussion..
>> 
>> Eshan, the new dependencies are Eclipse dependencies, right? Are they
>> *default* 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!
>> 
>> 
>> 2011/6/21 Andrus Adamchik <andrus@objectstyle.org>
>> 
>>> 
>>> 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
>> 
> 
> 
> 
> -- 
> Andrey


Mime
View raw message