Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] is there something changed in the target-platform mojo?



The itest project

https://github.com/eclipse/tycho/tree/master/tycho-its/projects/product.installation

might be a good starting point, it contains different items like plugins, features and so on...

Am 30.07.21 um 18:35 schrieb Johan Compagner:
hmm,

this is a bit more tricky to setup i guess..

I can try, but a lot more stuff is needed (like an actual product plugin, target plugin)


On Fri, 30 Jul 2021 at 18:25, Christoph Läubrich <laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>> wrote:

    ANy special configuration? I'm asking this because none of the itest
    fails but we have some product builds there, can you try to reproduce
    this case using any of the itest examples so it can be analyzed in
    isolation?

    Am 30.07.21 um 16:19 schrieb Johan Compagner:
     > the order seems to be changed...
     >
     > if i look at the goals list i see in 23
     >
    that org.eclipse.tycho:target-platform-configuration:2.3.0:target-platform

     > (default-target-platform) is after the clean and
     >
    before org.eclipse.tycho:tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee

     > (default-publish-osgi-ee)
     >
     > but in 24 i
     >
    see org.eclipse.tycho:target-platform-configuration:2.4.0:target-platform
    (default-target-platform)
     >
    after org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:attach-artifacts

     > (default-attach-artifacts)
     >
     > so instead of it is the 3rd goal in 23
     > it suddenly the 7th goal in 24
     >
     >
     > On Fri, 30 Jul 2021 at 15:54, Christoph Läubrich
    <laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>
     > <mailto:laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>>> wrote:
     >
     >     Can you run the build with -X option to see if there are any
    additional
     >     error information?
     >
     >     Am 30.07.21 um 15:35 schrieb Johan Compagner:
     >      > hi,
     >      >
     >      > below is what i get compared 2.3 against 2.4
     >      >
     >      > i can't really find anything in the release notes for this.
     >     Should i do
>      > something now my self with the target-platform-configuration ?
     >      >
     >      > tycho 2.3:
     >      >
     >      >
     >      > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
     >      > com.servoy.eclipse.product ---
     >      > [INFO]
     >      > [INFO] ---
    tycho-packaging-plugin:2.3.0:build-qualifier-aggregator
     >      > (default-build-qualifier-aggregator) @
    com.servoy.eclipse.product ---
     >      > [INFO] The project's OSGi version is 2021.9.0.3700_rc
     >      > [INFO]
     >      > [INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
     >      > com.servoy.eclipse.product ---
     >      > [INFO]
     >      > [INFO] --- target-platform-configuration:2.3.0:target-platform
     >      > (default-target-platform) @ com.servoy.eclipse.product ---
     >      > [INFO]
     >      > [INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee
     >      > (default-publish-osgi-ee) @ com.servoy.eclipse.product ---
     >      > [INFO] Published profile IUs: [config.a.jre.javase 11.0.0,
     >     a.jre.javase
     >      > 11.0.0]
     >      > [WARNING] No system packages found in profile nor
    toolchain for
     >      > JavaSE-15, using current JRE system packages.
     >      > This can cause faulty dependency resolution, consider adding a
     >      > definition for a 'jdk' with id=JavaSE-15 in your
    toolchains.xml
     >      > [INFO] Published profile IUs: [config.a.jre.javase 15.0.0,
     >     a.jre.javase
     >      > 15.0.0]
     >      > [WARNING] No system packages found in profile nor
    toolchain for
     >      > JavaSE-16, using current JRE system packages.
     >      > This can cause faulty dependency resolution, consider adding a
     >      > definition for a 'jdk' with id=JavaSE-16 in your
    toolchains.xml
     >      > [INFO] Published profile IUs: [config.a.jre.javase 16.0.0,
     >     a.jre.javase
     >      > 16.0.0]
     >      > [INFO]
     >      > [INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-products
     >      > (default-publish-products) @ com.servoy.eclipse.product ---
     >      >
     >      >
     >      >
     >      > tycho 2.4:
     >      >
     >      > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
     >      > com.servoy.eclipse.product ---
     >      > [INFO]
     >      > [INFO] ---
    tycho-packaging-plugin:2.4.0:build-qualifier-aggregator
     >      > (default-build-qualifier-aggregator) @
    com.servoy.eclipse.product ---
     >      > [INFO] The project's OSGi version is 2021.9.0.3700_rc
     >      > [INFO]
     >      > [INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
     >      > com.servoy.eclipse.product ---
     >      > [INFO]
     >      > [INFO] --- tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee
     >      > (default-publish-osgi-ee) @ com.servoy.eclipse.product ---
     >      >
     >      > [ERROR] Failed to execute goal
     >      >
    org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee
     >      > (default-publish-osgi-ee) on project
    com.servoy.eclipse.product:
     >      > Publisher failed. Verify your
    target-platform-configuration and
     >      > executionEnvironment are suitable for proper resolution:
    Target
     >     platform
     >      > is missing -> [Help 1]
     >      >
     >      > --
     >      > Johan Compagner
     >      > Servoy
     >      >
     >      > _______________________________________________
     >      > tycho-user mailing list
     >      > tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    <mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>>
     >      > To unsubscribe from this list, visit
     > https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>
     >     <https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>>
     >      >
     >     _______________________________________________
     >     tycho-user mailing list
     > tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    <mailto:tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>>
     >     To unsubscribe from this list, visit
     > https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>
     >     <https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>>
     >
     >
     >
     > --
     > Johan Compagner
     > Servoy
     >
     > _______________________________________________
     > tycho-user mailing list
     > tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
     > To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>
     >
    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/tycho-user
    <https://www.eclipse.org/mailman/listinfo/tycho-user>



--
Johan Compagner
Servoy

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



Back to the top