[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-dev] Compilation failure while building with Tycho
|
It depends.
From my experience, Tycho is able to guess proper source/target level in
most cases based on information defined in bundle manifest. I saw only
very few projects where Tycho picked wrong source/target level, so it
was easier for me to change pom.xml of just these few projects.
If you have a project where Tycho uses wrong source/target level for
majority of modules, then you need to specify default source/target
level in the parent pom and override the default in module pom.xml files
as needed.
--
Regards,
Igor
On 12-01-04 4:18 AM, Anna Dushistova wrote:
Igor, you mean the parent pom.xml or per plugin?
In our project we have different settings in various plugins.
On Wed, Jan 4, 2012 at 1:21 AM, Igor Fedorenko<igor@xxxxxxxxxxxxxx> wrote:
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
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev