Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Update Manager and non-java code?
Update Manager and non-java code? [message #74284] Tue, 13 February 2007 19:05 Go to next message
Eclipse User
Originally posted by: etsifrina.chessys.com

We have an RCP Application that we are attempting to distribute using the
Update Manager (Eclipse 3.2.1). Since we don't have any experience with
it, to test the concept, I've created a sample RCP App / Feature and
created an update site to update it. That works fine and I am able to run
the software update from the site, as well as see and install the new
features.

The problem comes here:
In addition to java-based RCP code, a separate part of our application is
written in Power Builder. We were hoping to be able to update it along
side our RCP App, using Update Manager. I haven't been able to find any
substantial information on the subject in either Eclipse Help files nor on
the web. I have also tried to hack it by packaging the code into a .jar
and placing it into features/ folder on the update site and modifying
site.xml file to relfect the new "feature" like so:

<feature url="features/pbClient_1.0.0.jar" id="pbClient"
version="1.0.0">
<category name="PB App"/>
</feature>
<category-def name="PB App" label="PB App"/>

That didn't work and the new "feature" was not visible under new updates.
I suspect that if I can somehow package this code from within Eclipse, it
might work, but I am really at a loss as to how.

So the question is:
Is it possible to update a non-java code/packages via Update Manager?
If so, does anyone have any experience with it and could someone point me
in the right direction? I seem to have exausted my known options.

Thanks in advance for any responses/direction,

~ Elena
Re: Update Manager and non-java code? [message #74302 is a reply to message #74284] Tue, 20 February 2007 11:41 Go to previous message
Erkki Lindpere is currently offline Erkki Lindpere
Messages: 90
Registered: July 2009
Member
This question is probably more appropriate for the eclipse.platform or
eclipse.newcomer newsgroups.

But as far as I know, you could simply put the code in a "plugin
project" and export it as any other bundle. Any files can be packaged in
a bundle, it is not limited to Java files.

You just have to edit the build.properties file to make sure the files
are exported during the build (you can do that via the Plugin Editor GUI).

I hope this helps.

Erkki

Eclipse Newbie wrote:
> We have an RCP Application that we are attempting to distribute using
> the Update Manager (Eclipse 3.2.1). Since we don't have any experience
> with it, to test the concept, I've created a sample RCP App / Feature
> and created an update site to update it. That works fine and I am able
> to run the software update from the site, as well as see and install the
> new features.
>
> The problem comes here:
> In addition to java-based RCP code, a separate part of our application
> is written in Power Builder. We were hoping to be able to update it
> along side our RCP App, using Update Manager. I haven't been able to
> find any substantial information on the subject in either Eclipse Help
> files nor on the web. I have also tried to hack it by packaging the
> code into a .jar and placing it into features/ folder on the update site
> and modifying site.xml file to relfect the new "feature" like so:
>
> <feature url="features/pbClient_1.0.0.jar" id="pbClient" version="1.0.0">
> <category name="PB App"/>
> </feature>
> <category-def name="PB App" label="PB App"/>
>
> That didn't work and the new "feature" was not visible under new
> updates. I suspect that if I can somehow package this code from within
> Eclipse, it might work, but I am really at a loss as to how.
>
> So the question is:
> Is it possible to update a non-java code/packages via Update Manager?
> If so, does anyone have any experience with it and could someone point
> me in the right direction? I seem to have exausted my known options.
>
> Thanks in advance for any responses/direction,
>
> ~ Elena
>
>
Re: Update Manager and non-java code? [message #601365 is a reply to message #74284] Tue, 20 February 2007 11:41 Go to previous message
Erkki Lindpere is currently offline Erkki Lindpere
Messages: 90
Registered: July 2009
Member
This question is probably more appropriate for the eclipse.platform or
eclipse.newcomer newsgroups.

But as far as I know, you could simply put the code in a "plugin
project" and export it as any other bundle. Any files can be packaged in
a bundle, it is not limited to Java files.

You just have to edit the build.properties file to make sure the files
are exported during the build (you can do that via the Plugin Editor GUI).

I hope this helps.

Erkki

Eclipse Newbie wrote:
> We have an RCP Application that we are attempting to distribute using
> the Update Manager (Eclipse 3.2.1). Since we don't have any experience
> with it, to test the concept, I've created a sample RCP App / Feature
> and created an update site to update it. That works fine and I am able
> to run the software update from the site, as well as see and install the
> new features.
>
> The problem comes here:
> In addition to java-based RCP code, a separate part of our application
> is written in Power Builder. We were hoping to be able to update it
> along side our RCP App, using Update Manager. I haven't been able to
> find any substantial information on the subject in either Eclipse Help
> files nor on the web. I have also tried to hack it by packaging the
> code into a .jar and placing it into features/ folder on the update site
> and modifying site.xml file to relfect the new "feature" like so:
>
> <feature url="features/pbClient_1.0.0.jar" id="pbClient" version="1.0.0">
> <category name="PB App"/>
> </feature>
> <category-def name="PB App" label="PB App"/>
>
> That didn't work and the new "feature" was not visible under new
> updates. I suspect that if I can somehow package this code from within
> Eclipse, it might work, but I am really at a loss as to how.
>
> So the question is:
> Is it possible to update a non-java code/packages via Update Manager?
> If so, does anyone have any experience with it and could someone point
> me in the right direction? I seem to have exausted my known options.
>
> Thanks in advance for any responses/direction,
>
> ~ Elena
>
>
Previous Topic:Update Manager and non-java code?
Next Topic:RSP-UI Proposal Discussion Thread
Goto Forum:
  


Current Time: Sat Oct 25 19:49:26 GMT 2014

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

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