Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to install updated server adapters
How to install updated server adapters [message #220128] Wed, 03 September 2008 22:46 Go to next message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
The first time, the user does New Server, Download additional server
adapters, and installs & restarts. Note that the update site that hosts
my plugin is known to eclipse (I'm not sure how that was done).

If an update is available:
1) User can repeat above, but this does not seem to be an obvious action
for a user
OR
2) User can register the adapter's update site, then use the software
update functionality

I think 2 makes more sense, but would like to know if I can register the
update site for the user when they install my plugin the first time.

Thanks,
Rochelle
Re: How to install updated server adapters [message #220158 is a reply to message #220128] Thu, 04 September 2008 19:46 Go to previous messageGo to next message
Angel Vera is currently offline Angel VeraFriend
Messages: 63
Registered: July 2009
Member

I haven't done this on a long time, but if I remenber correctly of how
things worked. You need have to have a feature (not just a plugin)
enable the updates.

In the feature.xml, you define the URL where this feature can be
updated.

<url>
<update label="%updateSiteName"
url="http://download.eclipse.org/webtools/updates/"/>
</url>


I am not sure if the Installable Runtime extension point allows you to
declare a feature instead of a plugin, but I belive it does.

Hope this helps..



raccah@dev.java.net (Rochelle Raccah) wrote in
news:88877e800cd0893067390676d2c37ea4$1@www.eclipse.org:

> The first time, the user does New Server, Download additional server
> adapters, and installs & restarts. Note that the update site that
> hosts my plugin is known to eclipse (I'm not sure how that was done).
>
> If an update is available:
> 1) User can repeat above, but this does not seem to be an obvious
> action for a user
> OR
> 2) User can register the adapter's update site, then use the software
> update functionality
>
> I think 2 makes more sense, but would like to know if I can register
> the update site for the user when they install my plugin the first
> time.
>
> Thanks,
> Rochelle
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Re: How to install updated server adapters [message #220280 is a reply to message #220158] Fri, 05 September 2008 19:04 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Angel,

Thanks very much for your response. I do have a feature and this in the
feature.xml:
<url>
<discovery label="Ajax jMaki site"
url="https://ajax.dev.java.net/eclipse/"/>
</url>


But, if I do this:
- Install the server adapter using new server wizard/download additional
link
- Restart - check that my adapter is there - fine
- Open software updates, look in available software - manage sites. To my
surprise, I *do* see the site I specified there. The problem is that it's
not checked, so I never knew it was there...

Is there a way to have it checked without user intervention?

Thanks,
Rochelle

Angel Vera wrote:

> I haven't done this on a long time, but if I remenber correctly of how
> things worked. You need have to have a feature (not just a plugin)
> enable the updates.

> In the feature.xml, you define the URL where this feature can be
> updated.

> <url>
> <update label="%updateSiteName"
> url="http://download.eclipse.org/webtools/updates/"/>
> </url>


> I am not sure if the Installable Runtime extension point allows you to
> declare a feature instead of a plugin, but I belive it does.

> Hope this helps..



> raccah@dev.java.net (Rochelle Raccah) wrote in
> news:88877e800cd0893067390676d2c37ea4$1@www.eclipse.org:

>> The first time, the user does New Server, Download additional server
>> adapters, and installs & restarts. Note that the update site that
>> hosts my plugin is known to eclipse (I'm not sure how that was done).
>>
>> If an update is available:
>> 1) User can repeat above, but this does not seem to be an obvious
>> action for a user
>> OR
>> 2) User can register the adapter's update site, then use the software
>> update functionality
>>
>> I think 2 makes more sense, but would like to know if I can register
>> the update site for the user when they install my plugin the first
>> time.
>>
>> Thanks,
>> Rochelle
>>
Re: How to install updated server adapters [message #221023 is a reply to message #220280] Tue, 09 September 2008 06:55 Go to previous message
Eclipse UserFriend
Originally posted by: david_williams.linux.vnet.ibm.com

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote
cite="mid:62f815bd49cf6749f523d3c4f7f2a077$1@www.eclipse.org"
type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
I think 2 makes more sense, but would like to know if I can register
<br>
the update site for the user when they install my plugin the first
<br>
time. <br>
</blockquote>
</blockquote>
</blockquote>
<br>
All I can do is give you hope :) [not an answer or "how to do"]. <br>
I know there's been several bugs around this topic (such as <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=230323">bug 230323</a>)<br>
And at some point I knew there were settings in the P2 metadata (either
content.jar, or artifacts.jar) <br>
that controlled the initial state of "enabled" or "disabled" ... but,
don't think there was much documented in "how to" <br>
control that. So, "hopefully" :)  you'll  be motivated to keep looking
for an answer and let us all know what you learn.<br>
<br>
<br>
</body>
</html>
Previous Topic:casting error while connecting to oracle database
Next Topic:Change path / location of ejb-jar.xml deployment descriptor
Goto Forum:
  


Current Time: Fri Dec 19 16:45:51 GMT 2014

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

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