Skip to main content

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

Don't know if this is related but the Tycho platform resolution is computed before the Maven build is really started (extension)

Jeff

On Wed, Jun 14, 2017 at 10:35 AM, LE FEVRE FRANCOIS <francois.le-fevre@xxxxxx> wrote:

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>


_______________________________________________
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



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top