Hi,
I use tycho to create my plugins, my eclipse product and after I install (by script called by a pom) my plugins and other using “installIU”
As I have to install plugins … (using eclipse.exe – installIU), I have to execute eclipse. So I can’t generate the maven build for all the platforms …
I’ve add a parameter in : -DOS=win32 ou linux ou macosx :
In my pom I try (without success …) to do :
<configuration>
<if>
<equals arg1="${OS}" arg2="linux" />
<then>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
</environments>
</then>
</if>
<if>
<equals arg1="${OS}" arg2="win32" />
<then>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</then>
</if>
<if>
<equals arg1="${OS}" arg2="macosx" />
<then>
<environments>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</then>
</if>
</configuration>
If I put –DOS=win32, it generate only win32 32bits, if I put –DOS=linux, idem, , it generate only win32 32bits !
If I put
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
It’s ok all platforms are generated.
Hwo can I do ?
Thank you J
Christelle