Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Compile & Build Eclipse from Sourcecode does NOT work!!
Compile & Build Eclipse from Sourcecode does NOT work!! [message #336778] Thu, 02 July 2009 06:30 Go to next message
Alexander Haag is currently offline Alexander HaagFriend
Messages: 119
Registered: July 2009
Senior Member
Hi there,

I recently wanted to update my eclipseIDE to Ganymede or Galileo
(currently having Europa).

Therefore I loaded the sources and tried to compile the IDE for myself
(target: win32-win32-x86).

While trying the batch-file (build.bat) I ran into the same errors
mentioned earlier e.g. in
http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 657.html
(snippets of logfile see below)

I do have jdk 1.4, 1.5 & 1.6 on my computer and I added their paths to
the build.properties file as mentioned in the instructions.

Could anybody PLEASE tell me how it is possible to build the eclipseIDE
from the sources (3.4 or higher). Is there an 'How-To' or something
similar somewhere??
I do need to compile the IDE on my own because my current project does
need a patched version of the eclipseIDE-presentation.

Thanks in advance
Alex Haag



>>> part of my logfile (galileo):>>>

@dot:
[mkdir] Created dir:
C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\@dot
[javac] Compiling 372 source files to
C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\@dot
[javac] ----------
[javac] 1. ERROR in
C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\osgi\src\org\osgi\framework\AdminPermission.java
(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
C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\osgi\src\org\osgi\framework\AdminPermission.java
(at line 1)
[javac] /*
[javac] ^
[javac] The type java.lang.Class cannot be resolved. It is
indirectly referenced from required .class files

>>> part of my logfile (ganymede):>>>

@dot:
[mkdir] Created dir:
C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\plugins\org .eclipse.osgi\temp.folder\@dot.bin
[javac] Compiling 337 source files to
C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\plugins\org .eclipse.osgi\temp.folder\@dot.bin
[javac] ----------
[javac] 1. ERROR in
C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\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
C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\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

<<< part ended>>>>
Re: Compile & Build Eclipse from Sourcecode does NOT work!! [message #336792 is a reply to message #336778] Thu, 02 July 2009 21:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Alex Haag wrote:
> Hi there,
>
> I recently wanted to update my eclipseIDE to Ganymede or Galileo
> (currently having Europa).
>
> Therefore I loaded the sources and tried to compile the IDE for myself
> (target: win32-win32-x86).
>
[snip]
> I do need to compile the IDE on my own because my current project does
> need a patched version of the eclipseIDE-presentation.

Alex,
I can't help with building from sources, but I can offer a different
path that is probably easier and might still meet your needs: it's
called a feature patch.
If you only need to modify a small part of Eclipse, you could start with
a pre-built package and then apply a feature patch (of your own
creation, of course). This article should help get you going:
http://aniefer.blogspot.com/2009/06/patching-features-with-p 2.html

Another option worth trying would be to override the original Eclipse
plug-in (same plug-in ID) and then increase the version number, then
install that version into your Eclipse. It should load the latest
version it finds, which would be yours instead of the original.

Hope this helps,
Eric
Re: Compile & Build Eclipse from Sourcecode does NOT work!! [message #336808 is a reply to message #336792] Fri, 03 July 2009 15:21 Go to previous messageGo to next message
Alexander Haag is currently offline Alexander HaagFriend
Messages: 119
Registered: July 2009
Senior Member
Hi Eric,

thanks for your reply. I do indeed have to modify an smal part of
Eclipse. I need to remove the actions added by the
'StandardEditorSystemMenu.java'(org.eclipse.ui.internal.pres entation.util)
from 'org.eclipse.ui.workbench_***.jar'


I'll try your approach with the patch, but I'd rather like to know
(maybe someone knows) how to be able to build the eclipseIDE from the
sources.

Atleast someone should know I hope

Greets and hapy weekend
Alex Haag


Eric Rizzo schrieb:
> Alex Haag wrote:
>> Hi there,
>>
>> I recently wanted to update my eclipseIDE to Ganymede or Galileo
>> (currently having Europa).
>>
>> Therefore I loaded the sources and tried to compile the IDE for myself
>> (target: win32-win32-x86).
>>
> [snip]
>> I do need to compile the IDE on my own because my current project does
>> need a patched version of the eclipseIDE-presentation.
>
> Alex,
> I can't help with building from sources, but I can offer a different
> path that is probably easier and might still meet your needs: it's
> called a feature patch.
> If you only need to modify a small part of Eclipse, you could start with
> a pre-built package and then apply a feature patch (of your own
> creation, of course). This article should help get you going:
> http://aniefer.blogspot.com/2009/06/patching-features-with-p 2.html
>
> Another option worth trying would be to override the original Eclipse
> plug-in (same plug-in ID) and then increase the version number, then
> install that version into your Eclipse. It should load the latest
> version it finds, which would be yours instead of the original.
>
> Hope this helps,
> Eric
Re: Compile & Build Eclipse from Sourcecode does NOT work!! [message #336839 is a reply to message #336778] Mon, 06 July 2009 22:11 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
org.eclipse.osgi will require a property set for
"CDC-1.1/Foundation-1.1" in the same way you set properties for 1.4, 1.5
etc.

You can probably get away with point this property at 1.4 class libraries.

-Andrew

Alex Haag wrote:
> Hi there,
>
> I recently wanted to update my eclipseIDE to Ganymede or Galileo
> (currently having Europa).
>
> Therefore I loaded the sources and tried to compile the IDE for myself
> (target: win32-win32-x86).
>
> While trying the batch-file (build.bat) I ran into the same errors
> mentioned earlier e.g. in
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 657.html
> (snippets of logfile see below)
>
> I do have jdk 1.4, 1.5 & 1.6 on my computer and I added their paths to
> the build.properties file as mentioned in the instructions.
>
> Could anybody PLEASE tell me how it is possible to build the eclipseIDE
> from the sources (3.4 or higher). Is there an 'How-To' or something
> similar somewhere??
> I do need to compile the IDE on my own because my current project does
> need a patched version of the eclipseIDE-presentation.
>
> Thanks in advance
> Alex Haag
>
>
>
> >>> part of my logfile (galileo):>>>
>
> @dot:
> [mkdir] Created dir:
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\@dot
>
> [javac] Compiling 372 source files to
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\@dot
>
> [javac] ----------
> [javac] 1. ERROR in
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\osgi\src\org\osgi\framework\AdminPermission.java
> (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
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.5\plugins\org.e clipse.osgi\osgi\src\org\osgi\framework\AdminPermission.java
> (at line 1)
> [javac] /*
> [javac] ^
> [javac] The type java.lang.Class cannot be resolved. It is
> indirectly referenced from required .class files
>
> >>> part of my logfile (ganymede):>>>
>
> @dot:
> [mkdir] Created dir:
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\plugins\org .eclipse.osgi\temp.folder\@dot.bin
>
> [javac] Compiling 337 source files to
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\plugins\org .eclipse.osgi\temp.folder\@dot.bin
>
> [javac] ----------
> [javac] 1. ERROR in
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\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
> C:\FISSK.DEV\work-folder\eclipse_src_build_3.4.2\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
>
> <<< part ended>>>>
Previous Topic:standard button width in wizards and dialogs?
Next Topic:distributing non java executables along with a plugin
Goto Forum:
  


Current Time: Tue Apr 23 14:37:27 GMT 2024

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

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

Back to the top