Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Using local target platform with Tycho

if your local target platform were a valid one, you could refer it as a repository using "file:/":

       <repository>
            <id>MyLocalP2</id>
            <url>file://mylocallocation</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <layout>p2</layout>
        </repository>


or you can create a target platform definition file, pointing to your bundles and setup the master POM to use it:

                <plugin>
                    <groupId>org.eclipse.tycho</groupId>
                    <artifactId>target-platform-configuration</artifactId>
                    <version>${tycho-version}</version>
                    <configuration>
                        <resolver>p2</resolver>
                        <target>
                            <artifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>my.equinox.target</artifactId>
                                <version>${project.version}</version>
                                <classifier>my-osgi-indigo</classifier>
                            </artifact>
                        </target>
                    </configuration>
                </plugin>

search for the tycho demo. there you can see both ways ...

regards

Cristiano

On 10/02/12 14:05, Praveen Innamuri wrote:
I have a local target platform setup (it can said either as an eclipse installation, or a folder containing all the required dependency bundles) with many 3rd party eclipse bundles. So, I badly need to configure Tycho using my local target platform rather than remote update site.

I see that the option -Dtycho.targetPlatform=/Applications/eclipse is deprecated in the current version of Tycho and I would like to know is there any replacement for using the local target platform (either an eclipse installation or folder containing plugins and features) in the latest version of Tycho. Please help me in figuring out the best practice of configuring local target platform with Tycho. Thanks.

Regards,
Praveen



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top