Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] How to export the project in PTP2.1

This is because the scripts in org.eclipse.ptp.releng assume a certain configuration on the build machine. Now that you have checked out a copy of the project, you can modify it to suit your environment.

1. In ptpbuild, change STAGING_DIR and BUILDS_DIR to appropriate locations on your machine.

2. Comment out the following lines in ptpbuild:

		# remove the old build
		rm -fr org.eclipse.ptp

		# Check out the releng project
		export CVSROOT=:pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/tools
		cvs co org.eclipse.ptp/releng/org.eclipse.ptp.releng

3. Download the following files from the builds pages of each project:

		eclipse-SDK-3.4-linux-gtk-ppc.tar.gz
		cdt-master-5.0.2-I200902130801.zip
		mylyn-3.0.1.v20080721-2100-e3.4.zip
		RSE-SDK-3.0.3.zip

4. Edit build.xml and change each of the following lines to the correct paths for your machine.

<property name="eclipseDist" value="/home/data/httpd/ download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/ eclipse-SDK-3.4-linux-gtk-ppc.tar.gz"/> <property name="cdtDist" value="/home/data/httpd/ download.eclipse.org/tools/cdt/builds/5.0.2/I.I200902130801/cdt- master-5.0.2-I200902130801.zip"/> <property name="mylynDist" value="/home/data/httpd/ download.eclipse.org/tools/mylyn/update/ganymede/ mylyn-3.0.1.v20080721-2100-e3.4.zip"/> <property name="rseDist" value="/home/data/httpd/ download.eclipse.org/dsdp/tm/downloads/drops/R-3.0.3-200902181300/RSE- SDK-3.0.3.zip"/>

5. Download http://nic.uoregon.edu/~wspear/tau_jars.zip and put the zip file in your home directory.

6. Change "nightly" on the first line to "testbuild".

Hopefully now you should be able to run ptpbuild.

Greg

On Mar 10, 2009, at 2:48 AM, peichang shi wrote:


Hi Greg,
 You are right.
After I installed the cvs, I run "./ptpbuild 2.1.0" and found the problem
as the following:
......
cvs checkout: Updating org.eclipse.releng.basebuilder/swt-win32
Buildfile:
/opt/public/download-staging.priv/tools/ptp/releng/org.eclipse.ptp/ releng/org.eclipse.ptp.releng/build.xml
init:
   [mkdir] Created dir:
/opt/public/download-staging.priv/tools/ptp/releng/org.eclipse.ptp/ releng/org.eclipse.ptp.releng/results
   [mkdir] Created dir:
/opt/public/download-staging.priv/tools/ptp/releng/org.eclipse.ptp/ releng/org.eclipse.ptp.releng/results/I.I200903100920/testReports
tag:
tagone:
     [cvs] cvs [rtag aborted]: /cvsroot/tools/CVSROOT: No such file or
directory
......
tagone:
     [cvs] cvs [rtag aborted]: /cvsroot/tools/CVSROOT: No such file or
directory
unzip:
BUILD FAILED
/opt/public/download-staging.priv/tools/ptp/releng/org.eclipse.ptp/ releng/org.eclipse.ptp.releng/build.xml:60:
Error while expanding
/home/data/httpd/download.eclipse.org/eclipse/downloads/drops/ R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk-ppc.tar.gz
Total time: 5 seconds
cd: 35: can't cd to results/plugins
cvs checkout: Updating org.eclipse.ptp.rdt.core.remotejars
......

How to deal with this? I have analysed the build.sh and build.xml,but I
haven't found the reason.
I have brought you so much trouble, but now I am on the way to rebuild the PTP project successfully.So I hope you can give me a more specific
director like before. Thank you very much.
  Regards,
  Peichang Shi

--
View this message in context: http://www.nabble.com/How-to-export-the-project-in-PTP2.1-tp22273296p22428921.html
Sent from the Eclipse Parallel Tools - Dev mailing list archive at Nabble.com.

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



Back to the top