Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [amp-dev] Antwort: Re: Antwort: Re: Antwort: Re: Compilable Source Code of AMP


That's great. It's such a relief not having to be the only person dealing with this stuff. Let's update the developer documentation. Do you have access to the web site cvs?

On Apr 11, 2011, at 8:05 AM, Jonas Ruettimann wrote:
By the way I stumbled over three other things:

i. This repository seems to be working but it also seems to be deprecated: git://dev.eclipse.org/org.eclipse.amp/org.eclipse.amp.git --> delete it?

Yes, that's a general problem. I just did a bug for it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=342496


ii. Why do "local.properties" have to be set in "amp.cquery" and "amp-platform.cquery"?? Why not use "local.properties" in the first place (as a relative path)?

I was worried that that would interfere with the Hudson job and as I have had so many rounds with that I've been reluctant to do anything that would cause it to fail again. But yes, I'm sure there is a better way to do this. It can be set for Buckminster directly, or we could put the instructions in a .txt file the way that xtext does, but know one ever reads those. 


iii. In "org.eclipse.amp.releng/releng/amp.rmap" you're using "${workspace.root}/org.eclipse.amp" as value for "checkout.location". This is only correct under the assumption that AMP sources have been checked out into your workspace. --> see 4.

Yes, but you can override that property. We could also change the defaults. Note that you can checkout into anywhere you want, and in fact the location is different for the Hudson build IIRC.




Here's the new protocol:

-----------------------------------------------------------------------------------------------------------------------
1. Install Eclipse IDE
Download and unzip from http://www.eclipse.org/downloads/index-developer.php
 * Eclipse Modeling Indigo (3.7) M6a

2. Install Team-Plugins
Eclipse Marketplace... -> select to install:
 * Subversive - SVN Team Provider
 * EGit - Git Team Provider
Finish Wizard.

3. Install Buckminster
Install new software -> New update Site:
 * http://download.eclipse.org/tools/buckminster/updates-3.6
 
Select:
 * Buckminster - Core
 * Buckminster - PDE Support
 * Buckminster - Git Support
 * Buckminster - CVS Support
 * Buckminster - SVN Support (Subversive)
Finish Wizard.

4. Get AMP sources
Open view "Git Repositories" and hit "Clone a Git Repository and add the clone to this view".

Use URL:
 * git://git.eclipse.org/gitroot/amp/org.eclipse.amp.git

Select branch:
 * master

As destination make sure you're using this directory <your-workspace-root>/org.eclipse.amp!
Finish Wizard, wait for jobs to be done.

5. Create a new target platform
Create a generic project called "TP". Under target platforms preferences, create a new empty target platform. Set that as the active target platform. Switch to "Locations" tab and add the "TP" directory to it:
 * ${workspace_loc}/TP

6. Import releng project
Import... -> Projects from Git -> choose AMP repository -> select only:
 * org.eclipse.amp/releng/org.eclipse.amp.releng

Ignore error: "Build error: build.properties does not exist (org.eclipse.amp.releng)"

7. Materialize using Buckminster
Open in project org.eclipse.amp.releng:
 * releng/amp-platform.cquery
 * releng/amp.cquery

In both files, on the Main tab in the Properties section use the file dialog to select this file:
 * releng/local.properties

Hit "Resolve and Materialize" on both files, wait patiently... ¦¬]
-----------------------------------------------------------------------------------------------------------------------


Materialization works! You rule, Miles!! :-D


 




Von:        Miles Parker <milesparker@xxxxxxxxx>
An:        Jonas Ruettimann <jonas.ruettimann@xxxxxxx>
Kopie:        AMP developer mailing list <amp-dev@xxxxxxxxxxx>
Datum:        08.04.2011 18:47
Betreff:        Re: Antwort: Re: Antwort: Re: Compilable Source Code of AMP





OK Jonas,

A couple of things... [cc'ing in amp developer list].. please see notes about your steps and then suggestions for proceeding.


1.
Download Eclipse Modeling Indigo (3.7) M6a

2.
Install via Eclipse Marketplace:
 * Subversive - SVN Team Provider
 * EGit - Git Team Provider

[That's a good way to do it as well.]

3.
Install new software -> New update Site:
 * http://download.eclipse.org/tools/buckminster/updates-3.6
 
Select and install:
 * Buckminster - Core
 * Buckminster - PDE Support
 * Buckminster - SVN Support (Subversive)

[You need Git support! You might as well get CVS while you're at it -- I'm not sure if we have dependencies or not.]


4.
SVN Repository Browser -> New Repository Location:
 * http://dev.eclipse.org/svnroot/technology/org.eclipse.gef3d/

[Nope! Buckminster should do this for you.]

 
5.
Pull latest AMP-updates from Git (from outside Eclipse).

[Do this from within Eclipse using the Egit "clone a repository" functionality. You want them in your git workspace. I'm not positive that this is necessary but it makes process go a lot more smoothly.]


6.
Import Projects from Git -> choose AMP repository -> select only
 * org.eclipse.amp/releng/org.eclipse.amp.releng

// TODO: Build error: build.properties does not exist (org.eclipse.amp.releng)

Yep, I don't know what the story is with that. It's not really an error because there isn't anything expected in there. But we could see what other releng projects have there.

7.
Open in project org.eclipse.amp.releng:
 * releng/amp-platform.cquery
 * releng/amp.cquery

8.
In both files, on the Main tab in the Properties section use the file dialog to select this file:
 * releng/local.properties

9.
Hit this button on both files:
 * Resolve and Materialize


E     [0001] : Rejecting provider git({0},{1}/features/{2}-feature[C:/daten_ruj/Eclipse-Workspaces/AMP-Workspace/org.eclipse.amp,org.eclipse.amp/features/org.eclipse.amp.build-feature]): No component match was found: No reader type with id git has been registered with extension-point org.eclipse.buckminster.core.readerTypes

See step 3 above -- you need to install the git support for buckminster.

cheers,

Miles

On Apr 8, 2011, at 1:07 AM, Jonas Ruettimann wrote:

Hi Miles,

I've tried to follow the steps you've describes to get my IDE working. It worked great until materializing amp.cquery. I've written a log file with every step I made so far. There are a couple of things I added to your plan. But basically, it's exactly the same.



There are also two log files attached to this mail. The first one is the console output from materializing amp-platform.cquery. There are some warning but I guess they're not critical. The second log file is the console output from meaterializing amp.cquery. There are errors in it and I haven't got a clue how to resolve them. Any ideas?



Cheers, Jonas







________________________________________________________________

Jonas Rüttimann
Wissenschaftlicher Mitarbeiter

Fon +41 71 226 12 29
Fax +41 71 226 12 13
Web http://www.fhsg.ch

FHS St.Gallen, Hochschule für Angewandte Wissenschaften
IMS-FHS | Poststrasse 28 | Postfach 1664 | 9001 St.Gallen | Switzerland


FHO Fachhochschule Ostschweiz


Back to the top