PascalLeclercq wrote:
Hello,
we plan to use tycho for the mavenisation of our project. It's works pretty
good but i have 3 problems :
1. We have dependencies between plugins and we have an error we we try to
build a plugins which have dependency on another. The only workaround we
found was to copy the artifact in the target plaform. Is there a better
solution ? Why we can't rely simply on dependencies in the pom.xml ?
Do you build all your plugins in one reactor build (i.e. parent project
with modules) or separately?
If all your plugins are built together, then tycho is expected to
properly establish dependencies among plugins, assuming you have proper
Require-Bundle, Import-Package, etc OSGi MANIFEST attributes. I will
need to know more details about your projects to be able to diagnose the
problem.
Tycho does not support separate build of inter-dependent plugins at the
moment. I am currently working to add this support and I hope to have
something ready in next few weeks, time permitting, of course.
2. We use UTF8 so each build.properties in our plugins files have
"javacDefaultEncoding.. = UTF-8" at their bottom. This directives doesn't
seems to be taken in account by tycho. This is important for us, do you plan
to implement it soon ?
Can you please open an enhancement request in JIRA [1] and provide a
sample project that demonstrates use of this feature? Should not take
too long to implement, but I simply was not aware of this feature ;-)
3. There is no "product" packaging in Tycho. For building a product i make
an AntCall to the ant file provided by eclipse. Do you plan to provide a
"product" packaging.
Initial support for RCP application packaging comes really soon,
hopefully in this week's DEV build, so stay tuned.
[1] http://jira.codehaus.org/browse/MNGECLIPSE
Thanks in advance
Igor Fedorenko-4 wrote:
New Tycho build 0.3.0-DEV-1572 has been deployed to
repository.sonatype.org and you can download distribution from [1].
This build comes packaged with newer version of maven 3.0, which
supposed to fix problems with proxy configuration.
New and noteworthy changes in Tycho itself (in no particular order)
* Added support for pack200
* Added support for signed bundles
* Tycho will properly generate multiple nested JARs as defined
in build.properties file
* Tycho will properly package bundles with existing nested JARs
* Fixed number of problems running unit tests in OSGi runtime
We also setup continuous build of tycho integration tests which we run
against Eclipse 3.2, 3.3 and 3.4. Look for tycho-its* jobs on our hudson
instance [2].
[1]
http://repository.sonatype.org/service/local/repositories/tycho-pseudo-releases/content/org/codehaus/tycho/tycho-distribution/0.3.0-DEV-1572/
[2] http://ci.sonatype.org/view/Tycho/
--
Regards,
m2e/tycho team
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email