Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sapphire-dev] Error building Sapphire

Actually, forget about that. The download logic checks hash of what it has against what’s published. It would noticed corrupted downloads. But it may not notice corrupted generated repositories. Look in the downloads directory and delete all folders that you see. Then re-run the build.

 

- Konstantin

 

 

From: sapphire-dev-bounces@xxxxxxxxxxx [mailto:sapphire-dev-bounces@xxxxxxxxxxx] On Behalf Of Konstantin Komissarchik
Sent: Wednesday, December 08, 2010 2:50 PM
To: 'Shenxue Zhou'
Cc: 'Sapphire project'
Subject: Re: [sapphire-dev] Error building Sapphire

 

That sounds like a case of corrupted download of one of the required repositories. Maybe you killed the build in the middle of the download? The problem is with the platform test framework repository…

 

Two resolutions:

 

1. Blow away your downloads directory and start the build from scratch. Point to a separate downloads directory like recommended in the instructions.

 

2. Compute the md5 hash of these two URLs and delete file in the downloads directories corresponding to those hashes.

 

/eclipse/downloads/drops/R-3.6.1-201009090800/eclipse-test-framework-3.6.1.zip

/eclipse/downloads/drops/R-3.6-201006080911/eclipse-test-framework-3.6.zip

 

- Konstantin

 

 

From: Shenxue Zhou [mailto:shenxue.zhou@xxxxxxxxxx]
Sent: Wednesday, December 08, 2010 2:45 PM
To: Konstantin Komissarchik
Cc: Sapphire project
Subject: RE: Error building Sapphire

 

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'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.
     [java]

 


From: Konstantin Komissarchik
Sent: Wednesday, December 08, 2010 2:00 PM
To: Shenxue Zhou
Cc: Sapphire project
Subject: RE: Error building Sapphire

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?

 

Thanks,

 

Shenxue


Back to the top