Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Include the product plugin in the update site

yes, the plugin with splash screen etc should be built as just another plugin, i.e. packaging type eclipse-plugin.
the .product file should go into a separate module of packaging type eclipse-repository.

Regards
Jan



On 30/03/16 14:50, "tycho-user-bounces@xxxxxxxxxxx on behalf of Wim Jongman" <tycho-user-bounces@xxxxxxxxxxx on behalf of wim.jongman@xxxxxxxxx> wrote:

>The product plugin (it has a plugin.xml and MANIFEST.MF) indeed contains the .product file but also contains the splash screen and other artifacts. In its pom it has eclipse-repository as pack. type.
>
>
>I want to also include this as a plugin in the product.feature so that it can be updated by the update site.
>
>
>[INFO] it.baeyens.arduino.product ......................... SUCCESS [01:35 min]
>[INFO] it.baeyens.arduino.product.feature ................. FAILURE [  0.467 s]
>[INFO] it.baeyens.arduino.updatesite ...................... SKIPPED
>
>
>
>Is your suggestion to make a separate build for the update site where I change the packaging type of the i.b.a.product to eclipse-plugin?
>
>
>Cheers,
>
>
>Wim
>
>
>
>
>
>
>
>
>On Wed, Mar 30, 2016 at 9:29 AM, Sievers, Jan 
><jan.sievers@xxxxxxx> wrote:
>
>I guess you are talking about a .product file (not a plugin).
>
>Hard to tell without more details about your build but .product files are included directly in eclipse-repository modules, see [1]. I think it's not possible right now to build the product first and then consume it in another downstream module of the same build.
>
>Regards
>Jan
>
>[1] 
>http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/eclipse-repository <http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/eclipse-repository>
>
>
>
>
>On 29/03/16 17:58, "tycho-user-bounces@xxxxxxxxxxx on behalf of Wim Jongman" <tycho-user-bounces@xxxxxxxxxxx on behalf of
>wim.jongman@xxxxxxxxx> wrote:
>
>>Hi,
>>
>>
>>I want to include the product plugin in an update site but Tycho 0.24 won't let me. I have been searching for a couple of hours.
>>
>>
>>Below you see that the product is build (eclipse-repository) but it does not get included in the target platform for some reason.
>>
>>
>>
>>Any clues on how to get this done?
>>
>>
>>Thanks,
>>
>>
>>Wim
>>
>>[INFO] Reactor Summary:
>>[INFO]
>>[INFO] it.baeyens.arduino.parent .......................... SUCCESS [  1.610 s]
>>[INFO] it.baeyens.arduino.common .......................... SUCCESS [  4.020 s]
>>[INFO] it.baeyens.arduino.monitor ......................... SUCCESS [  2.275 s]
>>[INFO] it.baeyens.arduino.core ............................ SUCCESS [  4.318 s]
>>[INFO] it.baeyens.arduino.core.nl1 ........................ SUCCESS [  0.495 s]
>>[INFO] it.baeyens.cdt.refactor ............................ SUCCESS [  0.870 s]
>>[INFO] it.baeyens.arduino.application ..................... SUCCESS [  0.980 s]
>>[INFO] it.baeyens.arduino.feature ......................... SUCCESS [  0.764 s]
>>[INFO] it.baeyens.arduino.product ......................... SUCCESS [01:35 min]
>>[INFO] it.baeyens.arduino.product.feature ................. FAILURE [  0.467 s]
>>[INFO] it.baeyens.arduino.updatesite ...................... SKIPPED
>>[INFO] root ............................................... SKIPPED
>>[INFO] ------------------------------------------------------------------------
>>[INFO] BUILD FAILURE
>>[INFO] ------------------------------------------------------------------------
>>[INFO] Total time: 02:35 min
>>[INFO] Finished at: 2016-03-29T17:27:24+02:00
>>[INFO] Final Memory: 120M/397M
>>[INFO] ------------------------------------------------------------------------
>>[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-feature (default-package-feature) on project it.baeyens.arduino.product.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.24.0:package-feature
>> failed: eclipse-plugin artifact with ID "it.baeyens.arduino.product" and version matching "0.0.0" was not found in the target platform -> [Help 1]
>>
>>
>>
>>
>>
>
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
>
>

Back to the top