Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » webappBuilder.xml / war deployment still supported?
webappBuilder.xml / war deployment still supported? [message #121274] Wed, 11 February 2009 20:14 Go to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Folks;

is deploying RAP application packaged as .war files still "supported"? Just
as of recently I have been through using the demo.feature /
webappBuilder.xml ant script for this which, for whichever arcane reasons,
obviously doesn't do anything useful anymore after switching to 1.2m5 -
script seems to run, but PDE Export seems to work way too short and,
consequently, the "eclipse" folder supposed to contain the exported plugins
is empty. I see Eclipse Help mentioning that obviously these things are just
intended to work with Equinox 3.2 and 3.3 which is not what I have running
Eclipse 3.4 / RAP 1.2m5. So, I wonder...

- ... whether there is a reliable, kinda "reproducible" way of getting an
Eclipse RAP feature set up right to be exported as a war / webapp package?

- ... whether, asides this, there is any way to make the webappBuilder.xml
pde-export task more verbose to at least see why it is not doing anything
(just quietly stopping without any particular message is not the way to go...)?

- ... if using webappBuilder.xml, which things I would eventually need off
Eclipse CVS for I see a lot of server-sided bundles referred to by these
servletbridge-anon.psf files already part of my target platform in 1.2m5?


Thanks a bunch in advance, all the best,
Kristian

--
Kristian Rink
cell : +49 176 2447 2771
personal: http://pictorial.zimmer428.net
"Past midnight. Never knew such silence.
The earth might be uninhabited..."
//beckett / krapp's last tape//
Re: webappBuilder.xml / war deployment still supported? [message #121332 is a reply to message #121274] Thu, 12 February 2009 07:45 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Folks;

adding to this, at least there is a little progress I managed to make, last
night:


Kristian Rink schrieb:
[...]
> - ... whether, asides this, there is any way to make the webappBuilder.xml
> pde-export task more verbose to at least see why it is not doing anything
> (just quietly stopping without any particular message is not the way to go...)?
[...]

Sometimes reading does help, and so, following the FAQ, I tried a to export
the feature as a "Deployable Feature" and figured out that, at the very
least in 1.2M5, "com.ibm.icu" obviously seems to be "com.ibm.icu.base" which
makes the "export-deployable-feature" fail in an error stating that this
package is missing but rather makes the pde-export ant task just quietly
terminate. Oh well... at least it is working now. :)

Cheers & all the best,
Kristian


--
Kristian Rink
cell : +49 176 2447 2771
personal: http://pictorial.zimmer428.net
"Past midnight. Never knew such silence.
The earth might be uninhabited..."
//beckett / krapp's last tape//
Re: webappBuilder.xml / war deployment still supported? [message #121359 is a reply to message #121332] Thu, 12 February 2009 10:19 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Kristian,
>
> Sometimes reading does help, and so, following the FAQ, I tried a to export
> the feature as a "Deployable Feature" and figured out that, at the very
> least in 1.2M5, "com.ibm.icu" obviously seems to be "com.ibm.icu.base" which
> makes the "export-deployable-feature" fail in an error stating that this
> package is missing but rather makes the pde-export ant task just quietly
> terminate. Oh well... at least it is working now. :)

Which version did you use of the "org.eclipse.rap.demo.feature"? Because
with the switch to com.ibm.icu.base we also updated the feature.xml of
the mentioned project. In the future be sure to synchronize the project
with CVS HEAD from time to time.

> Cheers & all the best,
> Kristian
>
>

Cheers
Benny
Re: webappBuilder.xml / war deployment still supported? [message #121375 is a reply to message #121359] Thu, 12 February 2009 11:00 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Hi Benjamin;

.... and first off, thanks for the pointer, much appreciated. :)

Benjamin Muskalla schrieb:
[...]
> Which version did you use of the "org.eclipse.rap.demo.feature"? Because
> with the switch to com.ibm.icu.base we also updated the feature.xml of
> the mentioned project. In the future be sure to synchronize the project
> with CVS HEAD from time to time.

Hmmm, I thought I did check it out yesterday in the morning as well, but
obviously at least I missed migrating this part into my own feature project.
I'll keep watching the repository then to see where things are heading, of
course hoping for a more "straightforward" war export feature one day. ;)

Cheers & all the best,
Kristian

--
Kristian Rink
cell : +49 176 2447 2771
personal: http://pictorial.zimmer428.net
"Past midnight. Never knew such silence.
The earth might be uninhabited..."
//beckett / krapp's last tape//
Re: webappBuilder.xml / war deployment still supported? [message #121383 is a reply to message #121375] Thu, 12 February 2009 11:17 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Kristian,

> I'll keep watching the repository then to see where things are heading, of
> course hoping for a more "straightforward" war export feature one day. ;)

I think the best way to do war export is to setup your own PDE build.
Using continuous integration for such a task is the best way to achieve
good results.

Cheers
Benny


>
> Cheers & all the best,
> Kristian
>
Re: webappBuilder.xml / war deployment still supported? [message #121391 is a reply to message #121383] Thu, 12 February 2009 12:47 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Hi Benjamin;


Benjamin Muskalla schrieb:
> I think the best way to do war export is to setup your own PDE build.
> Using continuous integration for such a task is the best way to achieve
> good results.

Looking at our doings and environment so far, setting up and maintaining a
working CI intrastructure seems pretty much overkill, and I yet have to make
any experiences with (headless) PDE Build (so far, in the backend system, we
rely upon maven for doing the build which, however, also ain't that funny
while dealing with OSGi, bundles et al as I just had to learn).

From my point of view, at the moment simply adding a <war> task to the
webappBuilder.xml eventually would be the most straightforward solution but
I doubt this would work given the asynchronous nature of the pde-exporter
task... but I don't have much hope here, given there obviously are some
issues filed against this filed in early 2004 and still "resolved" as
LATER[1]. Oh well... but maybe it's indeed PDE Build to solve my problems
here... :)

Thanks anyway, best regards,
Kristian

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=58413


--
Kristian Rink
cell : +49 176 2447 2771
personal: http://pictorial.zimmer428.net
"Past midnight. Never knew such silence.
The earth might be uninhabited..."
//beckett / krapp's last tape//
Re: webappBuilder.xml / war deployment still supported? [message #121398 is a reply to message #121391] Thu, 12 February 2009 13:51 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Kristian,

take a look at the "org.eclipse.rap.releng.warbuild" project in the RAP
CVS (folder releng). It's a pde build setup for our demo applications.
By replacing the feature and the map files with your stuff it should be
straight forward to have a running pde build with war export.

Cheers
Benny

Kristian Rink wrote:
> Hi Benjamin;
>
>
> Benjamin Muskalla schrieb:
>> I think the best way to do war export is to setup your own PDE build.
>> Using continuous integration for such a task is the best way to achieve
>> good results.
>
> Looking at our doings and environment so far, setting up and maintaining a
> working CI intrastructure seems pretty much overkill, and I yet have to make
> any experiences with (headless) PDE Build (so far, in the backend system, we
> rely upon maven for doing the build which, however, also ain't that funny
> while dealing with OSGi, bundles et al as I just had to learn).
>
> From my point of view, at the moment simply adding a <war> task to the
> webappBuilder.xml eventually would be the most straightforward solution but
> I doubt this would work given the asynchronous nature of the pde-exporter
> task... but I don't have much hope here, given there obviously are some
> issues filed against this filed in early 2004 and still "resolved" as
> LATER[1]. Oh well... but maybe it's indeed PDE Build to solve my problems
> here... :)
>
> Thanks anyway, best regards,
> Kristian
>
> [1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=58413
>
>
Re: webappBuilder.xml / war deployment still supported? [message #121414 is a reply to message #121398] Thu, 12 February 2009 15:12 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Hi Benjamin;

and first off, thanks a bunch for your continued support on this... :)

Benjamin Muskalla schrieb:
[...]
> take a look at the "org.eclipse.rap.releng.warbuild" project in the RAP
> CVS (folder releng). It's a pde build setup for our demo applications.
> By replacing the feature and the map files with your stuff it should be
> straight forward to have a running pde build with war export.

I already did browse through the RAP CVS repository but somehow must have
missed this. Gonna take a dive into this later tonight, hope it'll get me
somewhere... :)

Thanks again and all the best,
Kristian

--
Kristian Rink
cell : +49 176 2447 2771
personal: http://pictorial.zimmer428.net
"Past midnight. Never knew such silence.
The earth might be uninhabited..."
//beckett / krapp's last tape//
Re: webappBuilder.xml / war deployment still supported? [message #121593 is a reply to message #121414] Sat, 14 February 2009 03:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evolanakis.innoopract.com

Also, you may want to add yourself as CC to this one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252881

Elias.

Kristian Rink wrote:
> Hi Benjamin;
>
> and first off, thanks a bunch for your continued support on this... :)
>
> Benjamin Muskalla schrieb:
> [...]
>> take a look at the "org.eclipse.rap.releng.warbuild" project in the RAP
>> CVS (folder releng). It's a pde build setup for our demo applications.
>> By replacing the feature and the map files with your stuff it should be
>> straight forward to have a running pde build with war export.
>
> I already did browse through the RAP CVS repository but somehow must have
> missed this. Gonna take a dive into this later tonight, hope it'll get me
> somewhere... :)
>
> Thanks again and all the best,
> Kristian
>


--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
Re: webappBuilder.xml / war deployment still supported? [message #122220 is a reply to message #121414] Fri, 20 February 2009 23:52 Go to previous messageGo to next message
Christoph is currently offline ChristophFriend
Messages: 55
Registered: July 2009
Member
Kristian,

I have been unsuccessfully attempting to deploy a rap application as a
..war file. If you were successful in the PDE build approach, and would
care to share any step-by-step notes on which files you altered and the
subsequent steps required for deployment, I would be very interested to
read those.

Cheers,

Christoph

On 02/12/2009 07:12 AM Kristian Rink wrote:
> Hi Benjamin;
>
> and first off, thanks a bunch for your continued support on this... :)
>
> Benjamin Muskalla schrieb:
> [...]
>> take a look at the "org.eclipse.rap.releng.warbuild" project in the RAP
>> CVS (folder releng). It's a pde build setup for our demo applications.
>> By replacing the feature and the map files with your stuff it should be
>> straight forward to have a running pde build with war export.
>
> I already did browse through the RAP CVS repository but somehow must have
> missed this. Gonna take a dive into this later tonight, hope it'll get me
> somewhere... :)
>
> Thanks again and all the best,
> Kristian
>
Re: webappBuilder.xml / war deployment still supported? [message #122231 is a reply to message #122220] Sat, 21 February 2009 11:38 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Christoph,

maybe it's easier if you share your problems with us. Which of the steps
do make problems? Does any exception occur?

Greets
Benny

Christoph Hoashi-Erhardt wrote:
> Kristian,
>
> I have been unsuccessfully attempting to deploy a rap application as a
> .war file. If you were successful in the PDE build approach, and would
> care to share any step-by-step notes on which files you altered and the
> subsequent steps required for deployment, I would be very interested to
> read those.
>
> Cheers,
>
> Christoph
>
> On 02/12/2009 07:12 AM Kristian Rink wrote:
>> Hi Benjamin;
>>
>> and first off, thanks a bunch for your continued support on this... :)
>>
>> Benjamin Muskalla schrieb:
>> [...]
>>> take a look at the "org.eclipse.rap.releng.warbuild" project in the RAP
>>> CVS (folder releng). It's a pde build setup for our demo applications.
>>> By replacing the feature and the map files with your stuff it should be
>>> straight forward to have a running pde build with war export.
>>
>> I already did browse through the RAP CVS repository but somehow must have
>> missed this. Gonna take a dive into this later tonight, hope it'll get me
>> somewhere... :)
>>
>> Thanks again and all the best,
>> Kristian
>>
Re: webappBuilder.xml / war deployment still supported? [message #133613 is a reply to message #122220] Wed, 20 May 2009 07:58 Go to previous message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 64
Registered: July 2009
Member
Christoph Hoashi-Erhardt schrieb:
> Kristian,
>
> I have been unsuccessfully attempting to deploy a rap application as a
> .war file. If you were successful in the PDE build approach, and would
> care to share any step-by-step notes on which files you altered and the
> subsequent steps required for deployment, I would be very interested to
> read those.

Well, actually... I gave up on the PDE build approach a while ago but, by
now, kind of am back investigating it again for the reason of wanting to be
capable of throwing in maven-pde-build plugin hoping for making dependency
management inside RAP application bundles a little more sane (if you're used
to maven2, most of the dependency management toolings in developing Eclipse
RxP - applications seems utterly broken).

However, at the moment I am already stuck at the very first steps, which is
partly caused by the fact that good documentation on PDE build seems rather
limited and the best tutorial I could find on that [1] doesn't make much
sense along with RAP (delta packs? architecture? windowing system? packaging
as .zip?), and adding to this I don't see any PDE related plugins included
in RAP itself, not sure whether to move forth from here. RAP CVS seems to
contain a project "org.eclipse.rap.pde.runtime" which seems a starting
point, yet I couldn't get it to run lacking

<stringAttribute key="product" value="org.eclipse.sdk.ide"/>


in my environment. Overally, I would love to contribute anything (in terms
of documentation, quick-start, ...) back here, but I am caught even before
making any serious discoveries it seems... :(

K.


[1]http://www.vogella.de/articles/EclipsePDEBuild/article.html
Previous Topic:Exception creating session singleton
Next Topic:Tableeditor
Goto Forum:
  


Current Time: Thu Mar 28 21:06:39 GMT 2024

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

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

Back to the top