Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] 3.1M4 build error

Philippe, you are right. As I have mentioned, one of the aim is to have a
single (1.5) jdk. But the problem is I can not understand the reason of the
error messages. I have looked at the classes-under-consideration-code
(FeatureWriter, XMLWriter, IPDEBuildConstants) and at the PrintWriter javadoc
and have not found anything criminal. So, I can suggest, it is javac error.
OTOH, it is not very probable. I'm in confusion :-(


======= On Saturday 08 January 2005 23:46, Philippe P Mulet wrote: =======

Eclipse is meant to be compiled against JRE 1.4 libraries; you seem to be
compiling against 1.5 libraries.
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi,

Have tried to get answer at the news group, the thread:

http://www.eclipse.org/newsportal/article.php?group=eclipse.platform&id=%3Ccr3hu5%24qnq%241%40www.eclipse.org%3E


without any success.

The problem is: I'm trying to build the 3.1M4 (linux, gtk, sun jdk
1.5.0.01).
The errors take place:

////////////////////////////////////////////
...
[javac] 1. ERROR in /x/kit/eclipse/build-3.1
M4/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java
 (at line 23)
    [javac]     public class FeatureWriter extends XMLWriter implements
IPDEBuildConstants {
    [javac]                  ^^^^^^^^^^^^^
    [javac] The return type is incompatible with Writer.append(char),
PrintWriter.append(char)
    [javac] ----------
    [javac] 2. ERROR in /x/kit/eclipse/build-3.1
M4/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java
 (at line 23)
    [javac]     public class FeatureWriter extends XMLWriter implements
IPDEBuildConstants {
    [javac]                  ^^^^^^^^^^^^^
    [javac] The return type is incompatible with
Writer.append(CharSequence, int, int), PrintWriter.append(CharSequence,
int, int)
    [javac] ----------
    [javac] 3. ERROR in /x/kit/eclipse/build-3.1
M4/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java
 (at line 23)
    [javac]     public class FeatureWriter extends XMLWriter implements
IPDEBuildConstants {
    [javac]                  ^^^^^^^^^^^^^
    [javac] The return type is incompatible with
Writer.append(CharSequence), PrintWriter.append(CharSequence)
    [javac] ----------
    [javac] 3 problems (3 errors)

BUILD FAILED
...
////////////////////////////////////////////

What are my steps to resolve the problem? One of the aim is to have a
single (1.5) jdk.
Thanks!
Andrew


Back to the top