Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » how do I configure my own update web site(configuring my own update site)
how do I configure my own update web site [message #1242486] Sun, 09 February 2014 16:58 Go to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
I'm new to plugin development but have succeeded in a creating a useful plugin and generating the update directory structure locally:

site.xml, content.jar, artifacts.jar, features/my-feature.jar, plugins/my-plugin.jar

I can add this directory as 'software site' in Eclipse if I use the local (file:) option and it works fine.

Now I want to share it, so I've uploaded the same directory structure to my own web server. But I cannot get the the http url to work in Eclipse.

Most likely something further is needed on the server, but after an hour of searching I've given up.

What do I have to do to make this update site available via http?

I apologize in advance if this is a FAQ, but if it is, I didn't find an answer




Re: how do I configure my own update web site [message #1244589 is a reply to message #1242486] Wed, 12 February 2014 15:06 Go to previous messageGo to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Not one reader of this forum knows how to do this?
Re: how do I configure my own update web site [message #1256422 is a reply to message #1242486] Tue, 25 February 2014 12:13 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 09/02/2014 17:58, R Shapiro wrote:
> I'm new to plugin development but have succeeded in a creating a useful
> plugin and generating the update directory structure locally:
>
> site.xml, content.jar, artifacts.jar, features/my-feature.jar,
> plugins/my-plugin.jar
>
> I can add this directory as 'software site' in Eclipse if I use the
> local (file:) option and it works fine.
>
> Now I want to share it, so I've uploaded the same directory structure to
> my own web server. But I cannot get the the http url to work in Eclipse.
>
> Most likely something further is needed on the server, but after an hour
> of searching I've given up.
>
> What do I have to do to make this update site available via http?
>
> I apologize in advance if this is a FAQ, but if it is, I didn't find an
> answer

If it works as a local software site, then it works also when put on a
web site; this must be something related to your web server, or
something went wrong when you transfered the directory...

hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: how do I configure my own update web site [message #1257477 is a reply to message #1256422] Wed, 26 February 2014 13:20 Go to previous messageGo to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Thanks for the reply. The directory looks fine, identical to what's in my local file system site. I can get at the files on the web site via curl or wget without any problem.

Currently it's at the the root of web site like so:

artifacts.jar
category.xml
content.jar
features/my_feature_1.0.0.201402221134.jar
plugins/my_plugin_1.0.0.201402221134.jar
site.xml


Should this tree be under some parent directory rather than at the root? I tried that and it didn't make any difference. But maybe it needs a parent with special name, like 'update-site' or the like?
Re: how do I configure my own update web site [message #1257775 is a reply to message #1257477] Wed, 26 February 2014 19:42 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 26/02/2014 14:20, R Shapiro wrote:
> Thanks for the reply. The directory looks fine, identical to what's in
> my local file system site. I can get at the files on the web site via
> curl or wget without any problem.
>
> Currently it's at the the root of web site like so:
>
> artifacts.jar
> category.xml
> content.jar
> features/my_feature_1.0.0.201402221134.jar
> plugins/my_plugin_1.0.0.201402221134.jar
> site.xml
>
>
> Should this tree be under some parent directory rather than at the
> root? I tried that and it didn't make any difference. But maybe it
> needs a parent with special name, like 'update-site' or the like?

Then I wouldn't know... it should work... does that web site require a
password?

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: how do I configure my own update web site [message #1258475 is a reply to message #1257775] Thu, 27 February 2014 12:27 Go to previous message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Problem solved. The url I originally added to Eclipse was:

http://my_site

That doesn't work.

If instead I use:

http://my_site/

it works fine (aside from category issues but that's a different topic)


Seems a little odd that the trailing slash is necessary but now I know.
Previous Topic:Find feature for plugin
Next Topic:NoClassDefFoundError for imported package
Goto Forum:
  


Current Time: Tue Apr 23 11:12:44 GMT 2024

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

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

Back to the top