Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Does tycho-bundle-target.target work in your IDE?

Hi,

 

I started from scratch following the steps from the “Developing Tycho” wiki page (http://wiki.eclipse.org/Developing_Tycho) and for me that’s working fine. All tycho maven projects are getting compiled in Eclipse without any issue, after setting the target-platform and updating the projects.

Did you check your proxy settings in the maven settings xml file?

I also tried the target-platform-validation-plugin and that was successful too [1][2].

 

-martin

 

 

[1] Validation Plugin output:

 

U:\git\org.eclipse.tycho1\tycho-bundles\tycho-bundles-target>mvn target-platform-validation:validate-target-platform

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building testTheTarget 1.0.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- target-platform-validation-plugin:0.21.0:validate-target-platform (default-cli) @ testTheTarget ---

[INFO] Validating U:\git\org.eclipse.tycho1\tycho-bundles\tycho-bundles-target\tycho-bundles-target.target...

[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/ (0B at 0B/s)

[INFO] Adding repository http://download.eclipse.org/releases/luna

[INFO] Fetching p2.index from http://download.eclipse.org/releases/luna/201406250900/ (0B at 0B/s)

[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository

[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (0B at 0B/s)

[INFO] Adding repository http://download.eclipse.org/releases/indigo

[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (0B at 0B/s)

[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (0B at 0B/s)

[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (0B at 0B/s)

[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (0B at 0B/s)

[INFO] OK!

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 20.378s

[INFO] Finished at: Tue Aug 26 08:23:38 CEST 2014

[INFO] Final Memory: 82M/273M

[INFO] ------------------------------------------------------------------------

 

[2] pom file I used for running the validation:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                <modelVersion>4.0.0</modelVersion>

                <artifactId>testTheTarget</artifactId>

                <packaging>pom</packaging>

                <groupId>theGroup</groupId>

                <version>1.0.0-SNAPSHOT</version> 

                <build>

    <pluginManagement>

      <plugins>

        <plugin>

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

          <artifactId>target-platform-validation-plugin</artifactId>

          <version>0.21.0</version>

        </plugin>

    

      </plugins>

    </pluginManagement>

    <plugins>

      <plugin>

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

        <artifactId>target-platform-validation-plugin</artifactId>

        <version>0.21.0</version>

                               <configuration>

                               <targetFiles>

                                               <file>U:\git\org.eclipse.tycho1\tycho-bundles\tycho-bundles-target\tycho-bundles-target.target</file>

                               </targetFiles>

                               </configuration>

      </plugin>

    </plugins>

  </build>

</project>

 

 

Von: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] Im Auftrag von Mickael Istria
Gesendet: Montag, 25. August 2014 17:44
An: Tycho developers list
Betreff: [tycho-dev] Does tycho-bundle-target.target work in your IDE?

 

Hi all,

I'm trying to write a patch for Tycho, and I tried to use the tycho-bundle-target.target that is provided in Tycho source tree, but this target fails to load in IDE.
I tried to run the target-platform-validation-plugin on it and got:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.sdk.ide 4.4.0.I20140606-1215
[ERROR]   Missing requirement: org.eclipse.sdk.feature.group 4.4.0.v20140606-1558 requires 'org.eclipse.emf.common.source.feature.group [2.7.0,3.0.0)' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.sdk.ide 4.4.0.I20140606-1215 depends on: org.eclipse.sdk.feature.group [4.4.0.v20140606-1558]
[ERROR] 
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of tycho-bundles-target.target

Is this expected or is this a bug?
Is this .target file recommended for usage in IDE?

Cheers,

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets


Back to the top