Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-releng-dev] FW: [eclipse-dev] FW: unable to build eclipse 2.0

eclipse 2.0

Sonia




                                                                                                                                                
                      "Matt Munz"                                                                                                               
                      <mmunz@xxxxxxxxxx>                To:       <platform-releng-dev@xxxxxxxxxxx>                                             
                      Sent by:                          cc:                                                                                     
                      platform-releng-dev-admin@        Subject:  RE: [platform-releng-dev] FW: [eclipse-dev] FW: unable to build eclipse 2.0   
                      eclipse.org                                                                                                               
                                                                                                                                                
                                                                                                                                                
                      08/07/2002 02:34 PM                                                                                                       
                      Please respond to                                                                                                         
                      platform-releng-dev                                                                                                       
                                                                                                                                                
                                                                                                                                                




Sonia,

> Does this help?

Yes, thank you.  I will try to replicate your process and report on my
success here.  BTW, what version / release # of eclipse were you able to
build?

  - Matt

-----Original Message-----
From: platform-releng-dev-admin@xxxxxxxxxxx
[mailto:platform-releng-dev-admin@xxxxxxxxxxx]On Behalf Of Sonia
Dimitrov
Sent: Wednesday, August 07, 2002 2:06 PM
To: platform-releng-dev@xxxxxxxxxxx
Subject: RE: [platform-releng-dev] FW: [eclipse-dev] FW: unable to build
eclipse 2.0



I have had success running the scripts on both linux and win2k using jdk
1.3.1 and Ant 1.4.

Here are a couple of problems that I have encountered and that have been
reported:

Problem 1.  Running out of memory  running the build.  This can be
determined by doing a search for "The system is out of resources" or
"java.lang.OutOfMemoryError" in the compilelog.txt.  I have seen this when
using the -bc switch on linux in particular when using a 1.3.0 level jdk.
Fix. set the environment variable ANT_OPTS=-Xmx256m in the build script

Problem 2.  Compiling against a non-compatible rt.jar i.e. version other
than 1.3.  This occurs when the JAVA_HOME setting is pointing to a jdk
version other than 1.3.x and the -bc option is not being used.
Fix (option 1).  set the -bc option when running the build.  i.e. build -os
win32 -ws win32 -bc c:\jdk1.3.1\jre\lib\rt.jar.  I would also suggest
setting the ANT_OPTS=-Xms256m environment variable in this case.
Fix (option 2).  set JAVA_HOME to a 1.3.x version of the jdk, and switch to
this version in the path settings.

Does this help?

Sonia





                      "Matt Munz"
                      <mmunz@xxxxxxxxxx>                To:
<platform-releng-dev@xxxxxxxxxxx>
                      Sent by:                          cc:
                      platform-releng-dev-admin@        Subject:  RE:
[platform-releng-dev] FW: [eclipse-dev] FW: unable to build eclipse 2.0
                      eclipse.org


                      08/07/2002 01:34 PM
                      Please respond to
                      platform-releng-dev






Sonia,

  Thanks for your reply.

  1.  which jdk version are you using in trying to run the build?

  I tried it with 1.3 and 1.4.

  2.  are you trying to run the build using the build.bat/build script
or using eclipse to run Ant on the build.xml file directly?

  build script.  I don't mind bootstrapping builds, but I'd like to build
eclipse from the ground up (not using eclipse to build itself) at least
once.

  Have you had any success building the sources?  If so, what platform /
configuration?  I'm happy to replicate someone else's process -- trying to
debug what went wrong in this case isn't a priority for me.

  - Matt

-----Original Message-----
From: platform-releng-dev-admin@xxxxxxxxxxx
[mailto:platform-releng-dev-admin@xxxxxxxxxxx]On Behalf Of Sonia
Dimitrov
Sent: Wednesday, August 07, 2002 1:23 PM
To: platform-releng-dev@xxxxxxxxxxx
Subject: Re: [platform-releng-dev] FW: [eclipse-dev] FW: unable to build
eclipse 2.0



Hi Matt,

      a few questions:

      1.  which jdk version are you using in trying to run the build?
      2.  are you trying to run the build using the build.bat/build script
or using eclipse to run Ant on the build.xml file directly?

Sonia




                      "Matt Munz"
                      <mmunz@xxxxxxxxxx>                To:
<platform-releng-dev@xxxxxxxxxxx>
                      Sent by:                          cc:
                      platform-releng-dev-admin@        Subject:
[platform-releng-dev] FW: [eclipse-dev] FW: unable to build
                      eclipse.org                        eclipse 2.0


                      08/07/2002 01:08 PM
                      Please respond to
                      platform-releng-dev






Hi all,

  The following thread has been diverted from eclipse-dev because
apparently
this topic is more appropriate on this list.  In a nutshell, I am having
trouble getting the build to work on my machine and am looking for some
pointers from people who have any luck at all with this.  Details below.
TIA.

  - Matt Munz

-----Original Message-----
From: eclipse-dev-admin@xxxxxxxxxxx
[mailto:eclipse-dev-admin@xxxxxxxxxxx]On Behalf Of Matt Munz
Sent: Wednesday, August 07, 2002 11:32 AM
To: Eclipse Developers
Subject: [eclipse-dev] FW: unable to build eclipse 2.0


Hi again,

  Can anyone out there help me with this?  Has anyone used the build system
at all?  If not, how are you building the sources?

  - Matt

-----Original Message-----
From: Matt Munz [mailto:mmunz@xxxxxxxxxx]
Sent: Wednesday, July 31, 2002 2:55 PM
To: Eclipse Developers
Subject: unable to build eclipse 2.0


HI all,

  Thanks again to those who created a build system so that those of us who
want to build eclipse from the source code can.

  I am unable to build either eclipse 2.0 (release) or the Integration
build
from 7/23.  Is there some known issue I should be aware of?  My build
target
is win32.  The build script terminates with the following message.

BUILD SUCCESSFUL
Total time: 10 minutes 45 seconds

  This is inaccurate, however, as I have found compiler errors in the
compile.log, like the following.

D:
\programs\eclipse-fetchbuild-2\plugins\org.eclipse.pde.ui\src\org\eclipse\
pde\internal\ui\editor\SelectionProvider.java:7: package
org.eclipse.jface.viewers does not exist
    [javac] import org.eclipse.jface.viewers.*;
    [javac] ^

  The compile log and console output are too verbose to be useful for me
right now -- I just don't know where to start in wading through all that
text (more than 3 MB).

  Could someone who has been able to get this to work submit their process
to this list?  I would be very greatful for that assistance.  My eclipse
startup log is included below.

  - Matt



!SESSION Jul 31, 2002
14:37:55.302 ---------------------------------------------
java.version=1.4.1-beta
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install
file:D:/programs/eclipse-fetchbuild-2/
!ENTRY org.eclipse.core.runtime 4 2 Jul 31, 2002 14:37:55.312
!MESSAGE Plug-in org.eclipse.ui was unable to load class
org.eclipse.ui.internal.Workbench.
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.ui.internal.Workbench
             at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(Delegating



URLClassLoader.java:734)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
             at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension



(PluginDescriptor.java:130)
             at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension


(PluginDescriptor.java:167)
             at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExten



sion(ConfigurationElement.java:102)
             at
org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(Interna



lPlatform.java:463)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



)
             at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at
org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLo



ader.java:440)
             at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav



a:771)
             at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



)
             at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
             at org.eclipse.core.launcher.Main.run(Main.java:698)
             at org.eclipse.core.launcher.Main.main(Main.java:534)
!ENTRY org.eclipse.core.runtime 4 2 Jul 31, 2002 14:37:55.342
!MESSAGE Plug-in org.eclipse.ui was unable to load class
org.eclipse.ui.internal.Workbench.
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.ui.internal.Workbench
             at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(Delegating



URLClassLoader.java:734)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
             at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension



(PluginDescriptor.java:130)
             at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension



(PluginDescriptor.java:167)
             at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExten



sion(ConfigurationElement.java:102)
             at
org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(Interna



lPlatform.java:463)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



)
             at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at
org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLo



ader.java:440)
             at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav



a:771)
             at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



)
             at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
             at org.eclipse.core.launcher.Main.run(Main.java:698)
             at org.eclipse.core.launcher.Main.main(Main.java:534)
!SESSION
-------------------------------------------------------------------
---
!ENTRY org.eclipse.core.launcher 4 0 Jul 31, 2002 14:37:55.372
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



)
             at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
             at org.eclipse.core.launcher.Main.run(Main.java:698)
             at org.eclipse.core.launcher.Main.main(Main.java:534)
Caused by: java.lang.IllegalArgumentException: Application not found:
org.eclipse.ui.workbench.
             at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav



a:773)
             at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
             ... 7 more

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev

_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-releng-dev




_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-releng-dev

_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-releng-dev




_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-releng-dev

_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-releng-dev






Back to the top