tycho is expected to follow links. can you please submit a bugreport in
JIRA [1] and provide description of your eclipse installation layout.

Also see [2] for eclipse installation layouts we're testing tycho with.

At this point I am reluctant to add direct support for multiple eclipse
installation folders in pom.xml to be honest.

[1] http://jira.codehaus.org/browse/MNGECLIPSE
[2]
http://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-osgi-components/src/test/resources/targetplatforms


>
> Hi,
>
> thanks to the "tycho164" sample i succeed in building my artifacts using
> some in the maven repo.
>
> Now, i have an artifact containing eclipse SDK which provide my "basic"
> target platform.
>
> I'd like to aggregate another target platform containing some "corporate"
> plugins.
>
> I use the "link" technique to merge both directory as a target platform.
>
>
> Tycho doesn't seem to use the "links" i create.
>
>
> So, as a workaround I tried to declare 2 "eclipse-installation"  in my pom
> file like this :
>
> dependency>
>                               <!-- needed to make maven core happy only, not 
> used by tycho -->
>                               <groupId>corporate.com</groupId>
>                               <artifactId>mycorporateplugins</artifactId>
>                               <version>0.0.0</version>
>
>                               <!--  important stuff -->
>                               <type>eclipse-installation</type>
>                               <scope>system</scope>
>                               
> <systemPath>H:\targetPlatforms\corp\eclipse</systemPath>
>                       </dependency>
>
>                       <dependency>
>                               <!-- needed to make maven core happy only, not 
> used by tycho -->
>                               <groupId>eclipse.org</groupId>
>                               <artifactId>targetplatform</artifactId>
>                               <version>0.0.0</version>
>
>                               <!--  important stuff -->
>                               <type>eclipse-installation</type>
>                               <scope>system</scope>
>                               
> <systemPath>H:\targetPlatforms\3.3.2\eclipse</systemPath>
>                       </dependency>
>
> But i went trow a
> "org.codehaus.tycho.osgitools.targetplatform.TargetPlatformException"
>
> Do you plan to use the "links" or to give the possiblility to use several
> "eclipse-installation" in the pom ?
>
>
>
>
>
>
> stack Trace :
> org.codehaus.tycho.osgitools.targetplatform.TargetPlatformException
>       at
> org.codehaus.tycho.osgitools.targetplatform.EclipseTargetPlatformFactory.getEclipseInstallation(EclipseTargetPlatformFactory.java:147)
>       at
> org.codehaus.tycho.osgitools.targetplatform.EclipseTargetPlatformFactory.createTargetPlatform(EclipseTargetPlatformFactory.java:48)
>




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to