Executing an RCP application from a single JAR/ZIP file? [message #461563] |
Fri, 12 January 2007 03:57  |
Eclipse User |
|
|
|
Is it possible to build a single ZIP/JAR file that contains everything
necessary for application execution and run from that file?
I currently do this with my application by simply unpacking all of the
required plugin files into a directory and putting it into a single JAR,
however, this means I can't actually start Eclipse (this is a
headless/server application, so I don't really need to start Eclipse).
The problem with my current implementation is I want to expose the
application as a web service, and I want to take advantage of invoking
the application dynamically so I can test it. This will require
actually starting Eclipse, which will preclude using my building the
single JAR as I have described above.
I want to put everything into a single file for deployment purposes.
This application will be deployable in hosted environments where only a
single JAR can be deployed and it must be in one of the app server
directories.
Thanks,
Francis
|
|
|
|
|
|
|
|
Re: Executing an RCP application from a single JAR/ZIP file? [message #461628 is a reply to message #461563] |
Sun, 14 January 2007 16:11  |
Eclipse User |
|
|
|
Thanks for your responses. My current approach is not to use a
webservice, but just to use a plain servlet and use the the new Equinox
HTTP support which allows the eclipse environment to be started from a
servlet request and the launched environment to exist in the webapps
directory of the app server. This allows the whole thing to be packaged
as a WAR file which is then expanded by the app server.
Francis
Francis Upton wrote:
> Is it possible to build a single ZIP/JAR file that contains everything
> necessary for application execution and run from that file?
>
> I currently do this with my application by simply unpacking all of the
> required plugin files into a directory and putting it into a single JAR,
> however, this means I can't actually start Eclipse (this is a
> headless/server application, so I don't really need to start Eclipse).
>
> The problem with my current implementation is I want to expose the
> application as a web service, and I want to take advantage of invoking
> the application dynamically so I can test it. This will require
> actually starting Eclipse, which will preclude using my building the
> single JAR as I have described above.
>
> I want to put everything into a single file for deployment purposes.
> This application will be deployable in hosted environments where only a
> single JAR can be deployed and it must be in one of the app server
> directories.
>
> Thanks,
>
> Francis
|
|
|
Powered by
FUDForum. Page generated in 0.04690 seconds