Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » unable to build RCP
unable to build RCP [message #436873] Mon, 19 September 2005 14:38 Go to next message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
Hi,
I try build RCP myself, but got error:

set JAVA_HOME=D:\jdk1.4
set PATH=%JAVA_HOME%\bin;D:\tools\infozip;D:\Program Files\cvsnt
%JAVA_HOME%\bin\java -cp ..\org.eclipse.releng.basebuilder\startup.jar
org.eclipse.core.launcher.Main
-application org.eclipse.ant.core.antRunner
-buildfile build.xml -Dcomponent=rcp -Dconfigs="win32,win32,x86"
-DjavacDebugInfo=off -Djavacfailonerror=true -DjavacVerbose=false
-DbuildType=R -DmapVersionTag=R3_1 -DbuildDirectory=G:\eclipse
-DbaseLocation=G:\tmp -Dbaseos=win32 -Dbasews=win32 -Dbasearch=x86
-Dbootclasspath=D:\jdk1.4\jre\lib\rt.jar

F:\tmp\eclipse\workspace\org.eclipse.releng.eclipsebuilder\b uild.xml:27: The
following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.basebuilder\plug ins\org.eclipse.pde.build_3.1.0\scripts\build.xml:22:
The following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.basebuilder\plug ins\org.eclipse.pde.build_3.1.0\scripts\build.xml:54:
The following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.eclipsebuilder\r cp\customTargets.xml:157:
The following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.basebuilder\plug ins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:6 7:
org.eclipse.core.runtime.CoreException: Unable to find element:
org.eclipse.swt.tools.

org.eclipse.swt.tools I can find in folder: ${buildDirectory}\plugins

can anyone tell me what is wrong....

Regards

Eric
Re: unable to build RCP [message #436883 is a reply to message #436873] Mon, 19 September 2005 18:08 Go to previous messageGo to next message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
Does this auto-build things really works? for example:my previous error,
after debug, I found it failed because it require plugins
"org.eclipse.core.runtime.compatibility", first, why RCP need that?
second, if really need, why the script not check out it, after I
manually add it to baseLocation, the builder now has new problem:

F:\tmp\eclipse\workspace\org.eclipse.releng.eclipsebuilder\b uild.xml:27: The
following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.basebuilder\plug ins\org.eclipse.pde.build_3.1.0\scripts\build.xml:22:
The following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.basebuilder\plug ins\org.eclipse.pde.build_3.1.0\scripts\build.xml:54:
The following error occurred while executing this line:
F:\tmp\eclipse\workspace\org.eclipse.releng.eclipsebuilder\r cp\customTargets.xml:176:
Warning: Could not find file
G:\eclipse\plugins\org.eclipse.swt.motif.linux.x86\about_lau ncher_libraries.html
to copy.

this is because

getFromCVS:
[cvs] cvs export: cwd=G:\eclipse\plugins ,current=G:\eclipse\plugins
[cvs] cvs server: cannot find module
`org.eclipse.swt.motif.linux.x86/fragment.xml' - ignored
[cvs] cvs [export aborted]: cannot expand modules

can anyone help?
Re: unable to build RCP [message #436884 is a reply to message #436883] Mon, 19 September 2005 18:55 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
For some reason, you're using a Windows system to build something that's configured to use a Linux SWT implementation. It's possible that you're just copying this from a book or website that is set up to use Linux.

You'll need to change any references to 'motif' and 'linux' to 'win32' and 'win32'.
Re: unable to build RCP [message #436915 is a reply to message #436884] Tue, 20 September 2005 02:37 Go to previous message
Eric Suen is currently offline Eric SuenFriend
Messages: 94
Registered: July 2009
Member
> For some reason, you're using a Windows system to build something that's
> configured to use a Linux SWT implementation. It's possible that you're
> just copying this from a book or website that is set up to use Linux.
>
> You'll need to change any references to 'motif' and 'linux' to 'win32' and
> 'win32'.

I don't think so, according org.eclipse.releng.eclipsebuilder/readme.html,
the only thing I
need is check out org.eclipse.releng.basebuilder and
org.eclipse.releng.eclipsebuilder, and
add zip, unzip, jre\bin to PATH, and my build command is:

%JAVA_HOME%\bin\java -cp ..\org.eclipse.releng.basebuilder\startup.jar
org.eclipse.core.launcher.Main
-application org.eclipse.ant.core.antRunner
-buildfile build.xml -Dcomponent=rcp -Dconfigs="win32,win32,x86"
-DjavacDebugInfo=off -Djavacfailonerror=true -DjavacVerbose=false
-DbuildType=R -DmapVersionTag=R3_1 -DbuildDirectory=G:\eclipse
-DbaseLocation=G:\tmp -Dbaseos=win32 -Dbasews=win32 -Dbasearch=x86
-Dbootclasspath=D:\jdk1.4\jre\lib\rt.jar

I can't find anything about 'linux' & 'motif', if the build if really
automatic, I not suppose to modifed anything check out, it should
control by some paramaters. Besides, according readme, you can build
linux component on Windows, bacause it is all about java things, you
don't need a c/c++ compiler, that means all native lib is prebuild,
and according the message:

getFromCVS:
[cvs] cvs export: cwd=G:\eclipse\plugins ,current=G:\eclipse\plugins
[cvs] cvs server: cannot find module
`org.eclipse.swt.motif.linux.x86/fragment.xml' - ignored
[cvs] cvs [export aborted]: cannot expand modules

it seems something missing in server, so, is this the auto-build bug?
Previous Topic:Workbench ActionFactory and i18n
Next Topic:Hibernate + Spring + RCP hibernate error
Goto Forum:
  


Current Time: Fri Dec 27 02:31:54 GMT 2024

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

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

Back to the top