Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Compilation failure while building with Tycho

Tycho 0.13 does not use compiler source/target level from
build.properties [1]. For 0.13, use something like this in pom.xml


<build>
<plugins>

  <plugin>
    <groupId>org.eclipse.tycho</groupId>
    <artifactId>tycho-compiler-plugin</artifactId>
    <version>${tycho-version}</version>
    <configuration>
      <source>1.5</source>
      <target>1.5</target>
    </configuration>
  </plugin>

</plugins>
</build>


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=353505

--
Regards,
Igor

On 12-01-03 7:42 AM, Anna Dushistova wrote:
Hi Igor,

On Tue, Jan 3, 2012 at 3:50 AM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>  wrote:
Looks like Tycho got confused about java source/target levels. What
tycho version do you use?

0.13.

Have you checked in pom.xml files so we can
have a look?

No, not yet. Attached is the parent pom file and the pom file for
org.eclipse.rse.core plugin which was generated.
I tried changing compilation levels in build.properties for the
org.eclipse.rse.core but it didn't change anything.

Anna.



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


Back to the top