Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Did you notice problem with export

Thanks for anwer.

Best regards,
Przemek Tomaszewski

2006/10/2, Leherbauer, Anton <Anton.Leherbauer@xxxxxxxxxxxxx>:
Hi,

I think this is due to a PDE bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=128116

The solution is to add the lines

jre.compilation.profile=J2SE-1.4
javacSource=1.4
javacTarget=1.4

to the build.properties file.

Toni

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Przemek Tomaszewski
> Sent: Monday, October 02, 2006 11:51 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Did you notice problem with export
>
> Hi,
>
>   I've observed that exporting CDT plugins (from HEAD on eclipse
> 3.2.1) causes compilation errors during 'export build'.  Looking into
> 'logs.zip' tells me that 1.3 compiler is used instead of 1.4 (project
> settings are correct):
>
> Example content of error file:
> # 02.10.06 11:08:18 CEST
> # Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
> 2000, 2006. All rights reserved.
> ----------
> 1. WARNING in
> D:\workspace_cdt\org.eclipse.cdt.ui\src\org\eclipse\cdt\intern
> al\ui\InvisibleCharacterPainter.java
> (at line 158)
>       assert text.length() == length;
>       ^^^^^^
> 'assert' should not be used as an identifier, since it is a reserved
> keyword from source level 1.4 on
> ----------
> 2. ERROR in
> D:\workspace_cdt\org.eclipse.cdt.ui\src\org\eclipse\cdt\intern
> al\ui\InvisibleCharacterPainter.java
> (at line 158)
>       assert text.length() == length;
>                  ^
> Syntax error on token ".", = expected
>
>
> Do you know what is going on?
>
> Best regards,
>
> Przemek Tomaszewski
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



--
--------------------------------------
Przemek Tomaszewski


Back to the top