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

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.


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 [1]. For 0.13, use something like this in pom.xml






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>

Looks like Tycho got confused about java source/target levels. What
tycho version do you use?


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 for the
org.eclipse.rse.core but it didn't change anything.


tycho-dev mailing list

tycho-dev mailing list
tycho-dev mailing list

Back to the top