|Re: Project struture [message #23772 is a reply to message #23730]
||Wed, 25 March 2009 13:45
Originally posted by: igor.ifedorenko.com|
There are couple of (semi-)hard constraints to keep in mind.
First, in Maven, only projects with packaging=pom can have modules, so
nesting plugins into features in not going to work.
Second, we strongly recommend using separate projects with
packaging=eclipse-application to build RCP applications. Tyhco will not
be able to guarantee correct build order, if feature-based .product file
is included in a bundle project, for example.
Also, keep in mind that there is currently no integration between tycho
and m2e, so you won't be able to import all projects into Eclipse if you
choose non-flat layout. We do plan to provide m2e/tycho integration, but
exact timeframe is blurry.
As for the long term, I think layout really depends on actual codebase.
For m2e, for example, we've been talking about separating m2e core and
project configurators (i.e. integration with wtp, ajdt, subclipse, etc).
Current flat layout is just too big and diverse. It makes it hard for
somebody new to checkout just wtp-related code, for example. I am
currently thinking about something similar to the "old" wtp structure
(see ) but do not know if it will actually work yet.
We've recently setup separate mailing list dedicated to tycho , lets
continue this discussion on the new list.
Patrik Schalin wrote:
> Sorry if double posting, I've searched the list but don't think I've
> found the answer... =/
> Just wondering what would be the best project layout for tycho enabled
> projects. Lets say we have a RCP app with several features and plugins.
> Should the features be maven projects with its plugins as modules? Is
> mapping features with mvn projects a good idea? Of course you then need
> additional mvn projects for products...
> ..or is the eclipse layout with ./features and ./plugins dirs useful?
> Oh...and here's another one...when "tychonizing" existing RCP projects
> with a flat structure how would one gain most in the long run? By
> keeping the flat structure or by re-arranging into a mvn structure with
> project and modules....?
> Any hint is appreciated.
Powered by FUDForum
. Page generated in 0.01692 seconds