Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] ignore_optional_problems source folder attribute supported?

.classpath is a derived and IDE-only file as far as Tycho is concerned and as such it is ignored in a headless build tool.

If you want to configure JDT compiler warnings:

http://wiki.eclipse.org/Tycho/FAQ#How_to_configure_warning.2Ferror_settings_of_the_OSGi_compiler.3F

You may also be interested in https://wiki.eclipse.org/Tycho/Release_Notes/0.22#Compiler coming up in Tycho 0.22.0-SNAPSHOT.

I don't think this can be configured on a per source folder basis though.

Regards,
Jan





From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Knut Wannheden
Sent: Donnerstag, 2. Oktober 2014 12:19
To: Tycho user list
Subject: [tycho-user] ignore_optional_problems source folder attribute supported?

Hi all,

I have in Eclipse configured some source folders with the "ignore_optional_problems" option, because these source folders contain generated code, for which I don't want any compiler warnings to be displayed. Of course it would be best if the generated code didn't have any warnings in the first place, but that is not always an option...

So my .classpath files contain entries like this:

<classpathentry kind="src" path="src-gen">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
</attributes>
</classpathentry>

It however seems like Tycho doesn't respect this attribute. I tried searching for this but couldn't find any reference anywhere. Is there something I am missing?

Kind regards,

Knut Wannheden

Back to the top