Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to build eclipse
How to build eclipse [message #659457] Mon, 14 March 2011 02:12 Go to next message
Wang is currently offline Wang
Messages: 2
Registered: March 2011
Junior Member
I've been trying to build eclipse in two method, but both method unsuccessful.

First, I was build eclipse from eclipse-sourceBuild-srcInclude-3.6.2.zip, but I was unsuccessful.

this is build command:
build -os linux -ws gtk -arch x86

this build command need password for CVS, but I don't have the CVS password.

Second, I was build eclipse from org.eclipse.releng.eclipsebuilder

this is build command:
ant -buildfile buildAll.xml

this build command report message about file does not exist:
${eclipse.pdebuild.scripts} does not exist


what's the correct build step to build eclipse?

Is there any other build tutorial for how to build eclipse?
Re: How to build eclipse [message #659514 is a reply to message #659457] Mon, 14 March 2011 07:48 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/14/2011 02:13 AM, Wang wrote:
> I've been trying to build eclipse in two method, but both method
> unsuccessful.
>
> First, I was build eclipse from
> eclipse-sourceBuild-srcInclude-3.6.2.zip, but I was unsuccessful.
>
> this is build command:
> build -os linux -ws gtk -arch x86
>
> this build command need password for CVS, but I don't have the CVS
> password.

If sourceBuild is not working, then please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=Releng


> Second, I was build eclipse from org.eclipse.releng.eclipsebuilder
>
> this is build command:
> ant -buildfile buildAll.xml

There are scripts in org.eclipse.releng.eclipsebuilder that show you the
command-line to use for a PDE build, but for PDE build itself you need:

eclipse -application org.eclipse.ant.core.antRunner -buildfile
buildAll.xml ...

This give ant access to all of the eclipse variables and PDE ant tasks.

PW




--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: How to build eclipse [message #659663 is a reply to message #659457] Tue, 15 March 2011 01:26 Go to previous message
Wang is currently offline Wang
Messages: 2
Registered: March 2011
Junior Member
Thank you for your time.

The build command of second method does work.

eclipse -application org.eclipse.ant.core.antRunner -buildfile
buildAll.xml ...

But, it's also need password.

The following message is console's output:
------------------
wang@euca-nc01 :~/eclipse/eclipse-sourceBuild-srcIncluded-3.6.2/org.eclipse .releng.eclipsebuilder$ eclipse -application org.eclipse.ant.core.antRunner -buildfile buildAll.xml
Buildfile: buildAll.xml

init:

init:

create.label.properties:
[delete] Deleting: /home/wang/eclipse/eclipse-sourceBuild-srcIncluded-3.6.2/src /absolutetemp.txt

main:

buildEclipseSourceDrops:

preBuild:

preSetup:

checkLocal:

getMapFiles:

postSetup:

fetch:

preFetch:

allElements:

init:

fetchElement:
Password:

------------------------

The build process was interruped by password.
Previous Topic:building eclipse with javac
Next Topic:How to import a project with a launch configuration ?
Goto Forum:
  


Current Time: Fri Aug 01 20:28:59 EDT 2014

Powered by FUDForum. Page generated in 0.03981 seconds