[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] product file + eclipse-repository + local application startup
- From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
- Date: Thu, 06 Sep 2012 06:43:53 -0400
- Delivered-to: firstname.lastname@example.org
- User-agent: K-9 Mail for Android
Are you collocating product and plugin in the same maven module? This is not supported by Tycho. You need separate modules.
Sent from my SGS
>I've got a multi module rich client build which is based on a product
>file (using Tycho 0.15.0). I now would like to use that product file
>for the Maven build and for local application start up (out of the
>The problem is, that if you want to start it out of Eclipse, you need
>to have a dependency in the product file to the plug-in where the
>product file is in. If you don't have that, the application crashes at
>start up with
>!ENTRY org.eclipse.equinox.app 0 0 2012-09-06 12:06:53.244
>!MESSAGE Product rc.product could not be found.
>!ENTRY org.eclipse.osgi 4 0 2012-09-06 12:06:53.275
>!MESSAGE Application error
>java.lang.RuntimeException: No application id has been found.
>But if you add that dependency, the Maven build will complain with
>[ERROR] Internal error: java.lang.RuntimeException: "No solution found
>because the problem is unsatisfiable.": ["Unable to satisfy dependency
>from rc-eclipse-repository.product 0.0.0 to rc-eclipse-repository
>0.0.0.", "No solution found because the problem is unsatisfiable."] ->
>I think that is the case because the product file's pom.xml is
>and therefore it is no plugin for the Maven build when it resolves it
>Of course there's an easy workaround (just tell every developer "fix
>that locally, but don't check it in"), but I was wondering if there is
>a better solution for this?
>This message is for the designated recipient only and may contain
>privileged, proprietary, or otherwise private information. If you have
>received it in error, please notify the sender immediately and delete
>the original. Any other use of the email by you is prohibited.
>tycho-user mailing list