Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] target-platform-configuration

Dear all,

 

I am noticed something strange in our build that use target-platform-configuration [1]

We have defined a target-platform-configuration linked to an artifact.

The maven build reactor compile our target artifact at this end of the process.

I was wondering it should be compiled at first to avoid compiling many other target platform and ensure unicity of target platform?

 

For me, maven tycho should detect our target-platform-configuration, andput it in the top build reactor order, to ensure the artifact has been created before to be used by other plugins?

But I see many

“[INFO] Computing target platform for MavenProject”

And the build reactor put it as the last participant.

 

Do I  miss something?

 

Thanks for explanation.

 

Francois

 

[1]: https://hudson.eclipse.org/papyrus/view/Oxygen%20(Master)/job/Papyrus-Master/3851/consoleText

[INFO] Reactor Build Order:

[INFO]

[INFO] org.eclipse.papyrus.releng

[INFO] Papyrus Main Plugins

[INFO] EMF Facet, the Papyrus Edition

….

….

[INFO] org.eclipse.papyrus.main.target.parent

[INFO] org.eclipse.papyrus.main.eclipse.target  <<<<<<<<<<last element to be compiled?!

[INFO] org.eclipse.papyrus.p2

 

 

(2]

 

<plugin>

                                                                              <groupId>org.eclipse.tycho</groupId>

                                                                              <artifactId>target-platform-configuration</artifactId>

                                                                              <version>${tycho-version}</version>

                                                                              <configuration>

                                                                                              <environments>

                                                                                                              <environment>

                                                                                                                             <os>linux</os>

                                                                                                                             <ws>gtk</ws>

                                                                                                                             <arch>x86_64</arch>

                                                                                                              </environment>

                                                                                                              <environment>

                                                                                                                             <os>linux</os>

                                                                                                                             <ws>gtk</ws>

                                                                                                                             <arch>x86</arch>

                                                                                                              </environment>

                                                                                                              <environment>

                                                                                                                             <os>win32</os>

                                                                                                                             <ws>win32</ws>

                                                                                                                             <arch>x86_64</arch>

                                                                                                              </environment>

                                                                                                              <environment>

                                                                                                                             <os>win32</os>

                                                                                                                             <ws>win32</ws>

                                                                                                                             <arch>x86</arch>

                                                                                                              </environment>

                                                                                                              <environment>

                                                                                                                             <os>macosx</os>

                                                                                                                             <ws>cocoa</ws>

                                                                                                                             <arch>x86_64</arch>

                                                                                                              </environment>

                                                                                              </environments>

                                                                                              <target>

                                                                                                              <artifact>

                                                                                                                             <groupId>org.eclipse.papyrus</groupId>

                                                                                                                              <artifactId>org.eclipse.papyrus.main.portable.target</artifactId>

                                                                                                                             <version>0.0.1-SNAPSHOT</version>

                                                                                                              </artifact>

                                                                                              </target>

                                                                              </configuration>

                                                               </plugin>


Back to the top