Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Source Builds("problem" Eclipse Source Builds)
Eclipse Source Builds [message #516201] Tue, 23 February 2010 08:14 Go to next message
TonyWu  is currently offline TonyWu Friend
Messages: 10
Registered: September 2009
Junior Member
hi,

i built eclipse use eclipse-sourceBuild-srcIncluded-3.5.zip

my command is: build -os win32 -ws win32 -arch x86

http://update.eclipse.org/downloads/drops/R-3.5-200906111540 /srcIncludedBuildInstructions.html

but there some problem:

[javac] 1. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 1)
[javac] /*
[javac] ^
[javac] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
[javac] ----------
[javac] 2. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 1)
[javac] /*
[javac] ^
[javac] The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files
[javac] ----------
[javac] 3. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 1)
[javac] /*
[javac] ^
[javac] The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
[javac] ----------
[javac] 4. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 19)
[javac] import java.io.IOException;
[javac] ^^^^^^^
[javac] The import java.io cannot be resolved
[javac] ----------
[javac] 5. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 20)
[javac] import java.io.NotSerializableException;
[javac] ^^^^^^^
[javac] The import java.io cannot be resolved
[javac] ----------
[javac] 6. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 21)
[javac] import java.io.ObjectInputStream;
[javac] ^^^^^^^
[javac] The import java.io cannot be resolved
[javac] ----------
[javac] 7. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 22)
[javac] import java.io.ObjectOutputStream;
[javac] ^^^^^^^
[javac] The import java.io cannot be resolved
[javac] ----------
[javac] 8. ERROR in D:\downloads\eclipse-sourceBuild-srcIncluded-3.5\plugins\org .eclipse.osgi\osgi\src\org\osgi\framework\AdminPermission.ja va (at line 23)
[javac] import java.io.ObjectStreamField;
[javac] ^^^^^^^
[javac] The import java.io cannot be resolved

i don't know why, i think i set the right classpath.

Any help would be appreciated.

Thanks!
Re: Eclipse Source Builds [message #821464 is a reply to message #516201] Thu, 15 March 2012 11:46 Go to previous message
Sibi Vaithara is currently offline Sibi VaitharaFriend
Messages: 1
Registered: March 2012
Junior Member
Hi

Just for other who might be looking. In build.properties, uncomment and modify the following lines.

# Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties
javacSource=1.6

# Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties.
javacTarget=1.6

This should do the trick.

For people like me who are new to RCP headless builds refer

ht tp://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_product_build.htm

[Updated on: Thu, 15 March 2012 11:47]

Report message to a moderator

Previous Topic:implement function in my plugin that can be used by other plugins
Next Topic:Eclipse customization
Goto Forum:
  


Current Time: Thu Apr 25 07:06:37 GMT 2024

Powered by FUDForum. Page generated in 0.02663 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top