Paul Speed wrote:


Hans Dockter wrote:
Hi Paul,

On Aug 13, 2009, at 2:03 PM, Paul Speed wrote:

Wondering if anyone has played with getting webstart build/deployment going in gradle. This sort of thing is notoriously painful in ANT and now I'm looking at porting something over to gradle and was hoping to avoid starting from scratch.

I poked around on the forums and wiki and couldn't seem to find anything.

we don't have any specific support for webstart yet. What kind of support would you like to have?

- Hans


Yeah, I was hoping someone in the community may have dealt with this already and could offer pointers.

Hand-producing jnlp files can be kind of painful. You either do it by hand and duplicate your dependent jar list in the jnlp or you do it automatically from the project dependencies (and their transient dependencies). Also the jars need to be digitally signed and the whole thing bundled into a .war or something.

We've tried various ways before in Ant but every new webstart project was tedious. I expect this to be a lot easier in gradle since the dependencies are easy to get. In Ant, we'd use template files and produce the jnlp from that and only replace a few things like URLs, etc. I think a proper gradle plug-in would be model based and fully generate the jnlp from that. Bundling a .war with Sun's servlet would be a bonus. [Sun has a standard servlet that they provide allowing runtime substitution of things server URLs, etc.]

I have to get something working in the next week or so. It will be a learning experience, I'm sure.


This would be another good candidate for the 'java-application' plugin we've been talking about recently.


Adam


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to