Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to install newest GMF milestones
how to install newest GMF milestones [message #80595] Fri, 24 November 2006 08:50 Go to next message
Wiktor is currently offline WiktorFriend
Messages: 55
Registered: July 2009
Member
Hi,
I decided to install the newest GMF 2.0M3.
But since few days I have problems with dependencies. I tried to download
all manualy or GMF/EMF manualy and rest using update sites. plugins
validation is correct but eclipse has errors in error log.

I want to install everything throug update sites now. But which one should
I use for milestones?

http://download.eclipse.org/modeling/gmf/update-site/milesto ne/site.xml

But I recieve:

Requested operation cannot be performed because it would invalidate the
current configuration. See details for more information.
Unable to retrieve remote reference
" http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.eclipse.emf.ocl_1.0.1.v200611160858.jar".
[Server returned HTTP response code: "404 Not Found" for URL:
http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.eclipse.emf.ocl_1.0.1.v200611160858.jar.]
Server returned HTTP response code: "404 Not Found" for URL:
http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.eclipse.emf.ocl_1.0.1.v200611160858.jar.


Where is valid update sie now?
Re: how to install newest GMF milestones [message #80775 is a reply to message #80595] Fri, 24 November 2006 16:45 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
"Wiktor" <sssnake@wp.pl> wrote in message
news:f20e669b21bc5311bcb152bd0f04d528$1@www.eclipse.org...
> ...
> I want to install everything throug update sites now. But which one
> should I use for milestones?

If I may give you a good advice: forget it!

I tried so and failed. That update sites mechanism may work one day when
things have settled a bit and new versions come out once a year, but if
you want to surf the bleeding edge using the latest builds of different
components and have to satisfy their sometimes even contradicting
prerequisites requirements, then the only mechanism that somewhat
reliably works is using the .link-file mechanism and having different
versions or combinations of the links directory plus maybe a few scripts
that do proper shuffling and renaming...

And keep versions of different components strictly separated! I never
update them via the update mechanism. I ended up with directories that
contained multiple versions of each .jar file, which made it very hard
if not impossible to use an older version and to keep track of which
..jar belonged to which, let alone to clean up once in a while.

Just my 2 cents of wisdom...
Michael
Re: how to install newest GMF milestones [message #80817 is a reply to message #80775] Fri, 24 November 2006 22:39 Go to previous messageGo to next message
Wiktor is currently offline WiktorFriend
Messages: 55
Registered: July 2009
Member
You worried me much:(
Unfortunately under win I do not have link-file mechanism:(

But how do you know what is necessary for download.

1.
Last day i found some www page about M3 dependencies. there were many jars
with (emf, ocl, etc.) but they were only jars for features. i have
all(20-30) of them dedicated (with dates) for M3. Is it possible to easily
and AUTOMATICALLY download plugins from all theirs xml's?



2.
I also found this
http://download.eclipse.org/modeling/gmf/downloads/drops/S-2 .0M3-200611201300/directory.txt
is it also possible to download (and probably build) all of them through
cvs automatically?


thanx a lot for your help.
I really think that maybe it will be better to forget about gmf because it
seems to be little messy and difficult to use now and probably develop in
the future:( But from the other hand it is stupid to write its features
but myself.


Wiktor
Re: how to install newest GMF milestones [message #81009 is a reply to message #80817] Mon, 27 November 2006 10:09 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
"Wiktor" <sssnake@wp.pl> wrote in message
news:9c226f5d21262f967145ab2f3bac750a$1@www.eclipse.org...
> You worried me much:(
> Unfortunately under win I do not have link-file mechanism:(

No - there is! They built it into eclipse! In the eclipse directory you
define a directory "links" and in it you create small ASCII text files
(whose names has to end in ".link") which contain just one line
"path=<path>" (Note that the <path> has to be written using forward
slashes!).

E.g. in my environment I have a .links directory that contains several
file like:

file "EMF-SDO-WDO.link":
-------------
path=C:/eclipse_plugins/EMF-SDO-WDO-sdk-2.2.1
-------------

file "GEF.link":
-------------
path=C:/eclipse_plugins/GEF-3.2.1
-------------
etc.

I.e. you download all prerequisites and extract them to individual
directories. Note, that the directory where the links point to have to
contain a directory "eclipse" (under which you usually find feature and
plugins, etc. - just as in eclipse's main directory).
C:
+- eclipse_plugins
+- GEF-3.2.1 <= the path-statement has to point here
+- eclipse
+- features
+- ...
+- plugins
+- ...

Then you tie everything together using the above links mechanism. That
allows you to easily change the version of a single component - you just
change the <path> statement inside the .link file.

> But how do you know what is necessary for download.

On the download page
( http://download.eclipse.org/modeling/gmf/downloads/index.php) you click
on the version, e.g. 2.0M3 and at the top of that page you see the
requirements listed (here e.g. )

Eclipse build S-3.3M3-200611021715
EMF build 2.3M3
GEF Build 3.3M3
EMF OCL build 1.1M3
EMF Validation build 1.1M3
EMF Query build 1.1M3
EMF Transaction build 1.1M3

Behind these there often is a link, which - alas - very often dangles.
But searching via www.eclipse.org/<name>, e.g. www.eclipse.org/EMF, etc.
one usually find the download page of those (sub-)projects as well.

HTH,
Michael
Re: how to install newest GMF milestones [message #81222 is a reply to message #81009] Mon, 27 November 2006 18:58 Go to previous messageGo to next message
Wiktor is currently offline WiktorFriend
Messages: 55
Registered: July 2009
Member
Thanx a lot for your very detailed informations.
Before I'd seen your post I managed to do this from 'back side':)

I edited platform.xml file in my eclipse configuration file adding many
many:

<site enabled="true" policy="USER-EXCLUDE" updateable="true"
url="file:../../download/eclipse 3.3/GMF-sdk-2.0M3/eclipse/"> </site>

for all plugins.
than i only had to make all of them enabled in plugin manager and it works
now.

But your solutions seems to be more easy:)
Re: how to install newest GMF milestones [message #90278 is a reply to message #80595] Mon, 08 January 2007 01:16 Go to previous message
Richard Gronback is currently offline Richard GronbackFriend
Messages: 605
Registered: July 2009
Senior Member
As soon as the Europa update site is available, you should be able to get
2.0M4 and subsequent milestones and their dependencies from one site.

- Rich


On 11/24/06 3:50 AM, in article
f20e669b21bc5311bcb152bd0f04d528$1@www.eclipse.org, "Wiktor" <sssnake@wp.pl>
wrote:

> Hi,
> I decided to install the newest GMF 2.0M3.
> But since few days I have problems with dependencies. I tried to download
> all manualy or GMF/EMF manualy and rest using update sites. plugins
> validation is correct but eclipse has errors in error log.
>
> I want to install everything throug update sites now. But which one should
> I use for milestones?
>
> http://download.eclipse.org/modeling/gmf/update-site/milesto ne/site.xml
>
> But I recieve:
>
> Requested operation cannot be performed because it would invalidate the
> current configuration. See details for more information.
> Unable to retrieve remote reference
> " http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.e
> clipse.emf.ocl_1.0.1.v200611160858.jar".
> [Server returned HTTP response code: "404 Not Found" for URL:
> http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.ec
> lipse.emf.ocl_1.0.1.v200611160858.jar.]
> Server returned HTTP response code: "404 Not Found" for URL:
> http://download.eclipse.org/modeling/gmf/update-site/milesto ne/features/org.ec
> lipse.emf.ocl_1.0.1.v200611160858.jar.
>
>
> Where is valid update sie now?
>
Previous Topic:Delete Command
Next Topic:How to use the side-affixed property?
Goto Forum:
  


Current Time: Sat Dec 21 13:13:15 GMT 2024

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

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

Back to the top