The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Web Start

Thread: How to automate webstart deployment

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 1. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 3 - Last Post: May 27, 2008 12:46 PM by: ocean Threads: [ Previous | Next ]
ocean

Posts: 15
How to automate webstart deployment
Posted: May 22, 2008 9:06 PM
 
  Click to reply to this thread Reply

How are people automating their webstart deployment?

I'm returning to the webstart fold and I'm a bit saddened to see that it's still difficult to automate a webstart deployment. So I'm curious if there are any solutions out there that I simply don't know about. Any magical ant tasks that offer push button automation for webstart? I've searched google and come across a few but they all seem to be woefully out of date. So what are people using to automate their webstart deployment?

mbien

Posts: 157
Re: How to automate webstart deployment
Posted: May 23, 2008 11:48 AM   in response to: ocean
 
  Click to reply to this thread Reply

if you are using NetBeans you will find a check box in the project properties which enables webstart deployment.

If you use java.net (or similar) for project hosting simple <copy/> your deployed project into the www folder with an ANT target and you will have your fresh webstartable application on the webserver on next commit.

At least thats how I am doing that (additionally to signing+pack200 compression).

pepijnve

Posts: 8
Re: How to automate webstart deployment
Posted: May 25, 2008 1:26 AM   in response to: ocean
Helpful
  Click to reply to this thread Reply

I use the Orangevolt JNLP task (http://ovanttasks.sourceforge.net/rat/chapter-N104F5.html) to generate the jnlp file using filesets. I then deploy to the target server using the scp task.

ocean

Posts: 15
Re: How to automate webstart deployment
Posted: May 27, 2008 12:46 PM   in response to: pepijnve
 
  Click to reply to this thread Reply

Thanks pepijnve, that's almost exactly what I was looking for. The next challenge is to automate the signing and packing of jars. This could likely be hacked together using the SignJar ant-task I think. Any other tips?




 XML java.net RSS