Tuesday, April 26, 2011

webstart on google code

To keep webstart app on google code you can make the following trick:

1. create folder 'jnlp' on googlecode svn
2. check it out
3. copy all webstart files into checked out folder, add them to svn and commit
4. in the jnlp set codebase="http://application-name.googlecode.com/svn/jnlp/"
5. set mime-type property for jnlp file to the application/x-java-jnlp-file value. Without it browser will just show the content of jnlp file instead of opening it.

No comments :

Post a Comment