Here are the result of javac version and java
version
C:\sapphire\org.eclipse.sapphire>javac -version
javac
1.6.0_21
C:\sapphire\org.eclipse.sapphire>java -version
java
version "1.6.0_21"
Java(TM) SE Runtime Environment (build
1.6.0_21-b06)
Java HotSpot(TM) Client VM (build 17.0-b16, mixed
mode)
And with that I no longer get those compiler errors
but I'm still getting the following build
errors:
[java] The installable unit
org.eclipse.test.feature.group has not been found.
[java] Application failed, log file location:
C:\sapphire\org.eclipse.sapphire\build\bootstrap\configuration\1291844958467.log
[java] Installation failed.
Sounds
like your build environment is broken. Maybe old JDK is being picked up. The
errors suggest that compiler doesn’t understand generics. Verify that
JDK_15_HOME environment variable is set correctly and your PATH doesn’t include
Microsoft Java first. Try “java -version" and “javac -version".
-
Konstantin
From: Shenxue Zhou
[mailto:shenxue.zhou@xxxxxxxxxx]
Sent: Wednesday, December 08, 2010
12:51 PM
To: Konstantin Komissarchik
Subject: RE: Error
building Sapphire
Now i'm
getting tons of compiler errors related to el/functions. Samples of the
errors:
[java] [javac] X cannot be resolved to a
type
[java] [javac]
----------
[java] [javac]
1364. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 301)
[java]
[javac] return (X) new
BigDecimal( (String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
[java]
[javac] 1365. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 305)
[java]
[javac] return (X) new
BigInteger( (String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
[java]
[javac] 1366. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 309)
[java]
[javac] return (X) Byte.valueOf(
(String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
[java]
[javac] 1367. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 313)
[java]
[javac] return (X)
Short.valueOf( (String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
[java]
[javac] 1368. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 317)
[java]
[javac] return (X)
Integer.valueOf( (String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
[java]
[javac] 1369. ERROR in
C:\sapphire\org.eclipse.sapphire\plugin
org.eclipse.sapphire.modeling\src\org\eclipse\sapphire\modeling\el\Function.ja
(at
line 321)
[java]
[javac] return (X) Long.valueOf(
(String) obj );
[java]
[javac]
^
[java] [javac] X cannot be
resolved to a type
[java]
[javac] ----------
From: Konstantin
Komissarchik
Sent: Wednesday, December 08, 2010 1:26 PM
To:
Shenxue Zhou
Cc: Sapphire project
Subject: RE: Error
building Sapphire
The
error is a known issue when starting with no downloaded artifacts. It will go
away if you run the same build invocation again.
Re-using
download artifacts is covered on the build instructions
page:
http://www.eclipse.org/sapphire/developers/BuildingLocally.php
-
Konstantin
From: Shenxue Zhou
[mailto:shenxue.zhou@xxxxxxxxxx]
Sent: Wednesday, December 08, 2010
12:23 PM
To: Konstantin Komissarchik
Subject: Error building
Sapphire
It seemed to have
finished downloading. The error I'm getting:
C:\sapphire\org.eclipse.sapphire\releng\ant-library\library.xml:307:
C:\sapphire
\org.eclipse.sapphire\build\bootstrap\plugins not
found.
Any idea what's going
on? If I want to rebuild, how do I bypass the download
stage?