Max Spring wrote:
Igor,
ideally, I can specify a set of dependencies to plugins to go into an
update site under a given feature and Tycho generates that feature on
the fly and resolves all the plugins from the Maven repository and/or
targetPlatform. And there should be an option to transitively sweep all
referenced plugins. Something what the maven-war-plugin can do.
I opened http://jira.codehaus.org/browse/MNGECLIPSE-1113 to track this
request. I preliminary think it fails into "pom first" bucket but I need
to think more about it.
On a more practical level: I think I have now something working, but the
site gets created only if I have all the features and their plugins in
the same reactor via a multi-module pom. Tycho does not seem to resolve
the references from the Maven repository.
Use of repositories is rather clunky at the moment. You need explicit
target platform specification in your pom.xml. I think I know how to
streamline this, but have not had time to implement this yet.
I'm also a little unclear how my SNAPSHOT versions should be specified
in the site.feature.version attribute.
Just use .qualifier instead -SNAPSHOT of in site.xml and Tycho will
properly expand .qualifier. You can read slightly outdated overview of
-SNAPSHOT/.qualifier expansion in tycho here
http://docs.codehaus.org/display/M2ECLIPSE/Tycho+SNAPSHOT+and+qualifier+version+expansion
-Max
On 12/13/2008 7:43 AM, Igor Fedorenko wrote:
Max,
Can you explain in some details what you are trying to achieve?
Right now, Tycho follows Eclipse/PDE approach for update sites, i.e.
developers creates update site project and site.xml with all features
to be provided by the update site. Then tycho collects all included
features and plugins during the build. I think this is not what you
ask, but I need to understand your scenario to see if I can suggest
anything better.
--
Regards,
Igor
Max Spring wrote:
On 12/12/2008 1:08 PM, Igor Fedorenko wrote:
Max,
I am not sure what you mean. Are these plugin projects or jars?
These are Eclipse plugins.
Do you have site.xml or want tycho to generate one for you?
I want Tycho to generate it.
Do you have feature(s) that include the plugins?
I don't have a feature. I suppose I have to create a Maven project
for that.
You know that tycho supports building eclipse update site projects,
right?
I have a vague understanding of that, but I couldn't find an example
how to do it.
-Max
--
Regards,
Igor
Max Spring wrote:
Is there a way to create an Eclipse update site using Maven/Tycho
given a set of plugins in a directory?
Thanks!
-Max
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email