Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Downloading specfic version using update site(Downloading specfic version using update site for gmf)
Downloading specfic version using update site [message #519822] Wed, 10 March 2010 04:33 Go to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Hi ,
I have developed my plugin using GMF and I have created one update site project for it. For this in my feature project I have specified GMF as <requires>. So while installing my plugin it download all the required dependencies from web.

Now I want to control the version of GMF plugins getting downloaded using update site. For instance I want my update site to download
" org.eclipse.gmf_1.1.1.v20090114-0940-7d8B0FXwnKwGb15VuKFF0EL pPk0b "
this version of GMF but it downloads " org.eclipse.gmf_1.3.0.v20091021-2333-7d8W3FXwnL5Tg7CuwHV2mGB rQk0b " version

I tried to specify the version number in my feature.xml file but it still downloads the latest version.

How I can specify the version to be downloaded in my update site project?

Thanks in advance
Vikas
Re: Downloading specfic version using update site [message #519851 is a reply to message #519822] Wed, 10 March 2010 04:14 Go to previous messageGo to next message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hi Vikas,

you need to set the maximum version on your plugins dependencies, if you
like exluding specific versions.

e.g.
Require-Bundle:
org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.1.0,1.2.0) "

within the plugins manifest.

Sven
Re: Downloading specfic version using update site [message #520744 is a reply to message #519851] Mon, 15 March 2010 04:53 Go to previous messageGo to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Thank you Sven for your response.

I tried to specify the maximum version as suggested by you. In my feature project in feature.xml file I gave dependency as :
<import plugin="org.eclipse.gmf.runtime.diagram.ui" version="(1.1.0,1.2.0)"/> but schema for feature.xml doesn't validate it at all . Could you please give me some pointer or example how I can specify specific version.

Best regards,
Vikas
Re: Downloading specfic version using update site [message #521287 is a reply to message #519851] Wed, 17 March 2010 06:27 Go to previous messageGo to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Hi,
I understood the problem. I was doing this in feature.xml but I should be doing this in my plugins manfies.mf file. But now the problem is when I give the required plugin constrain as you suggested , I am getting error
"Unsatisfied version Constraint : 'org.eclipse.gmf.runtime.diagram.ui: [1.1.0,1.2.0)' ".I tried to change the version numbers but for any version I am getting the same error. I am using galileo and gmf version 2.2.0.

Thank you
Vikas
Re: Downloading specfic version using update site [message #521295 is a reply to message #521287] Wed, 17 March 2010 07:50 Go to previous messageGo to next message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hi Vikas,

did you try the micro version variants too? I'm using 1.2.1 comming with
gmf 2.2.0.

Sven
Re: Downloading specfic version using update site [message #521307 is a reply to message #521295] Wed, 17 March 2010 08:43 Go to previous messageGo to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Yes,

I did try micro version variants also but getting the same error.

Best regards,
Vikas
Re: Downloading specfic version using update site [message #521331 is a reply to message #521307] Wed, 17 March 2010 09:58 Go to previous messageGo to next message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hm!? I'm using Graphical Modeling Framework SDK version
2.2.1(.v20090814-1000...), which seems not available any more... So you
might really need help from the project guys. Zorry.
Re: Downloading specfic version using update site [message #521918 is a reply to message #521331] Fri, 19 March 2010 09:53 Go to previous messageGo to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
I posted the same query to eclipse comunity as well . Could you please tell me how I can get help from project guys?

I didn't get any help from web as well for this particular problem. Now I am really wondering is it really possible or not ?

Best regards,
Vikas
Re: Downloading specfic version using update site [message #521998 is a reply to message #521918] Fri, 19 March 2010 15:07 Go to previous message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hi Vikas,

usually you are here at the right place, but it looks like the gmf
support is slowing down over the last time. It's open source and you are
not able to force people spending their time to help you. On the other
hand: you see there is an active community that tries to help as much as
possible.

I went to the gmf download page. There is the 2.2.1 as manual download
available. Did you try this a local install site or archive?

Sven
Previous Topic:Exclude a view from property sheet
Next Topic:gmf editor fails when working with xml without namespace
Goto Forum:
  


Current Time: Wed Sep 30 06:24:43 GMT 2020

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

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

Back to the top