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 15:14  |
Eclipse User |
|
|
|
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 02:45   |
Eclipse User |
|
|
|
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 #121391 is a reply to message #121383] |
Thu, 12 February 2009 07:47   |
Eclipse User |
|
|
|
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 08:51   |
Eclipse User |
|
|
|
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 #133613 is a reply to message #122220] |
Wed, 20 May 2009 03:58  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Fri Jul 04 02:29:25 EDT 2025
Powered by FUDForum. Page generated in 0.05207 seconds
|