Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » failure building 3.0M2 from sources
failure building 3.0M2 from sources [message #109997] Mon, 11 August 2003 15:58 Go to next message
Eclipse UserFriend
I downloaded the eclipse-sourceBuild-srcIncluded-3.0M2.zip file and
following the build instructions. After about 25 minutes, it failed with
the exception below. I am using jdk1.4.2 and Ant 1.5.3 on windows XP. It
appears to have gotten through a lot of the build, so I'm not sure if
there's something special about this particular build file or not.

Has anyone else had problems building from this source? I'm going to run it
again, but is this likely an out of memory issue or something like that?

Thanks,
Ernest

BUILD FAILED

file:C:/EclipseBuild/assemble.org.eclipse.sdk.win32.win32.x8 6.xml:84:
Execute failed: java.io.IOException: CreateProcess: zip -r -q
win32-win32-x86-sdk.zip eclipse/plugins/org.eclipse.jdt_3.0.0 error=2
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java :371)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java :250)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
at org.apache.tools.ant.Project.executeTargets(Project.java:125 5)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.io.IOException: CreateProcess: zip -r -q
win32-win32-x86-sdk.zip eclipse/plugins/org.eclipse.jdt_3.0.0 error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher. exec(Execute.jav
a:646)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:41 6)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:4 27)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.j ava:329)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java :368)
... 14 more
--- Nested Exception ---
java.io.IOException: CreateProcess: zip -r -q win32-win32-x86-sdk.zip
eclipse/plugins/org.eclipse.jdt_3.0.0 error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher. exec(Execute.jav
a:646)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:41 6)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:4 27)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.j ava:329)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java :368)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java :250)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339 )
at org.apache.tools.ant.Project.executeTargets(Project.java:125 5)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Re: failure building 3.0M2 from sources [message #110034 is a reply to message #109997] Mon, 11 August 2003 16:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

Hallo!

* Ernest Pasour <Ernest.Pasour@sas.com> wrote:
> Caused by: java.io.IOException: CreateProcess: zip -r -q
> java.io.IOException: CreateProcess: zip -r -q win32-win32-x86-sdk.zip

I'm not an expert here, but this looks like it can't find the program
'zip'. Don't know where you can get this... Under unix it should be
installed by default which is why I hadn't any problems building from
source.

If ther wasn't any clean, you probably have a working version of
eclipse, when you
cd <builddir>/result/<win something>/eclipse
mv ../../plugins ./
mv ../../features ./
cd ..
mv eclipse <wherever you want>

BTW: the new build prozess rocks! Many thanks to releng team.

Jan
Re: failure building 3.0M2 from sources [message #110324 is a reply to message #110034] Tue, 12 August 2003 07:24 Go to previous messageGo to next message
Eclipse UserFriend
I ran the build again and this time saw an Out of Memory Error. I'm going
to approach it from that angle first and see if it fixes the problem.

"Jan Schulz" <muelleimer@usenet.katzien.de> wrote in message
news:slrnbjfuhk.kif.muelleimer@snoopy.katzien.de...
> Hallo!
>
> * Ernest Pasour <Ernest.Pasour@sas.com> wrote:
> > Caused by: java.io.IOException: CreateProcess: zip -r -q
> > java.io.IOException: CreateProcess: zip -r -q win32-win32-x86-sdk.zip
>
> I'm not an expert here, but this looks like it can't find the program
> 'zip'. Don't know where you can get this... Under unix it should be
> installed by default which is why I hadn't any problems building from
> source.
>
> If ther wasn't any clean, you probably have a working version of
> eclipse, when you
> cd <builddir>/result/<win something>/eclipse
> mv ../../plugins ./
> mv ../../features ./
> cd ..
> mv eclipse <wherever you want>
>
> BTW: the new build prozess rocks! Many thanks to releng team.
>
> Jan
Re: failure building 3.0M2 from sources [message #110531 is a reply to message #110324] Tue, 12 August 2003 15:34 Go to previous message
Eclipse UserFriend
Okay, it seems that my problem was mostly due to an OutOfMemoryError. I
modified the ANT_OPS parameter of Ant to pass in -mx512m to bump up the
memory for the Java vm. I have 512Meg on my machine, so I believe it was
defaulting to 256meg for the heap size. The out of memory condition was
resulting in later compile errors; bumping up the memory fixed that up.

However, I still see the problem at the end with the "zip" failure, but as
Jan suggested I moved the plugins and features directories under the eclipse
directory and was able to run eclipse.exe and complete the install. I
believe the "zip" is the ant zipfile task, which has been executed
successfully many times previously during the build process. I couldn't
figure out what was different about the ziptask that failed, but I'm not an
Ant jockey.



"Ernest Pasour" <Ernest.Pasour@sas.com> wrote in message
news:bhaioa$saj$1@eclipse.org...
> I ran the build again and this time saw an Out of Memory Error. I'm going
> to approach it from that angle first and see if it fixes the problem.
>
> "Jan Schulz" <muelleimer@usenet.katzien.de> wrote in message
> news:slrnbjfuhk.kif.muelleimer@snoopy.katzien.de...
> > Hallo!
> >
> > * Ernest Pasour <Ernest.Pasour@sas.com> wrote:
> > > Caused by: java.io.IOException: CreateProcess: zip -r -q
> > > java.io.IOException: CreateProcess: zip -r -q win32-win32-x86-sdk.zip
> >
> > I'm not an expert here, but this looks like it can't find the program
> > 'zip'. Don't know where you can get this... Under unix it should be
> > installed by default which is why I hadn't any problems building from
> > source.
> >
> > If ther wasn't any clean, you probably have a working version of
> > eclipse, when you
> > cd <builddir>/result/<win something>/eclipse
> > mv ../../plugins ./
> > mv ../../features ./
> > cd ..
> > mv eclipse <wherever you want>
> >
> > BTW: the new build prozess rocks! Many thanks to releng team.
> >
> > Jan
>
>
Previous Topic:[ANN] CodePro Studio 2.3 - new release
Next Topic:Unable to see class memeber variables within debugger in Eclipse via Tomcat Plugin
Goto Forum:
  


Current Time: Wed May 14 02:00:37 EDT 2025

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

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

Back to the top