Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho product not including native launchers in 0.11.*

First of all, thank you for your reply.

I just tried switching to 0.13.  The good news is that it looks like it is including the native launchers as it should in the plugins folder of the repository.  Unfortunately, the build is now failing with an error:

     [INFO] Resolving target platform for project MavenProject: com.xxx.xxx:com.xxx.xxx.product:2.1.0-SNAPSHOT @ C:\development\src\xxx\trunk\xxx.client\com.xxx.xxx.product\pom.xml
     [INFO] Cannot complete the request.  Generating details.
     [INFO] Cannot complete the request.  Generating details.
     [INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=win32, osgi.arch=x86, osgi.os=win32, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
     [ERROR] Cannot resolve project dependencies:
     [ERROR]   Software being installed: XXX 2.1.0.qualifier
     [ERROR]   Missing requirement: XXX 2.1.0.qualifier requires 'org.eclipse.equinox.executable.feature.group 0.0.0' but it could not be found
     [ERROR]
     [ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from XXX 2.1.0.qualifier to org.eclipse.equinox.executable.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]

I don't see org.eclipse.equinox.executable.feature being referred to anywhere in the project, but everything has always built successfully with Tycho 0.10 and 0.11.

I also just now tested with Tycho 0.12.  The build was successful, but the launchers are not included.

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Thursday, September 22, 2011 11:14 AM
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] Tycho product not including native launchers in 0.11.*

Are you able to reproduce the problem with recently released tycho 0.13?

--
Regards,
Igor

On 11-09-22 11:09 AM, Eduardo Kortright wrote:
> Hello,
>
> I am new to Tycho, so please excuse my ignorance.
>
> I am working on a project that builds a product using Maven and Tycho. 
> I wanted to upgrade Tycho from version 0.10.0 to 0.11.0 or greater, 
> but for some reason the native launchers that were being included in 
> the product by 0.10.0 are no longer included when running 0.11.0 or 0.11.1.
>
> Here is the slightly modified product XML tag. As you can see, both 
> includeLaunchers and useFeatures are set to true (as mentioned in 
> https://issues.sonatype.org/browse/TYCHO-240).
>
> <product name="XXX" _uid_="XXX" id="com.xxx.xxxProduct"
> application="com.xxx.application" version="2.1.0.qualifier"
> useFeatures="true" includeLaunchers="true">
>
> Can anyone tell me what else I need to do to get Tycho >= 0.11.0 to 
> include the native launchers? There are a number of problems with 
> 0.10.0 that we would very much like to get rid of, but have not been 
> able to because of this problem.
>
> Here is my maven configuration for the Tycho plugins:
>
> <plugins>
>
> <plugin>
>
> <groupId>org.sonatype.tycho</groupId>
>
> <artifactId>tycho-p2-publisher-plugin</artifactId>
>
> <version>${tycho-version}</version>
>
> <configuration>
>
> <publishArtifacts>true</publishArtifacts>
>
> </configuration>
>
> </plugin>
>
> <plugin>
>
> <groupId>org.sonatype.tycho</groupId>
>
> <artifactId>tycho-p2-director-plugin</artifactId>
>
> <version>${tycho-version}</version>
>
> <executions>
>
> <execution>
>
> <id>materialize-products</id>
>
> <goals>
>
> <goal>materialize-products</goal>
>
> </goals>
>
> </execution>
>
> <execution>
>
> <id>archive-products</id>
>
> <goals>
>
> <goal>archive-products</goal>
>
> </goals>
>
> </execution>
>
> </executions>
>
> <configuration>
>
> <products>
>
> <product>
>
> <id>XXX</id>
>
> </product>
>
> </products>
>
> </configuration>
>
> </plugin>
>
> </plugins>
>
> Thank you for any help you can give me.
>
> NOTICE: This electronic mail message and any files transmitted with it 
> are intended exclusively for the individual or entity to which it is 
> addressed. The message, together with any attachment, may contain 
> confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution is strictly prohibited. If you have received this message 
> in error, please immediately advise the sender by reply email and 
> delete all copies.
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



Back to the top