Re: How to make something runnable from the web
jt wrote:
Do you run ant (or any major IDE like Eclipse, or NetBeans)?
..
Everything works except for the section which actually creates the .jnlp
file.
..
http://johnandsharon.homelinux.com/repository/build.xml
Can you give me any ideas what I'm missing?
Check the src/conf directory - I suspect you will need to
change the name of the JNLP 'template' file.
Also, you have not needed to worry about 'uninstall'ing
yet, but that command needs changing, to work for
your project.
If you would like to put the launch file here (for example)
http://johnandsharon.homelinux.com/repository/chess/ChessGame.jnlp
The uninstall command for the app. should be ..
-unistall http://johnandsharon.homelinux.com/repository/chess/ChessGame.jnlp
The 'codebase' and 'href' in the JNLP template might
also require change - and check that the JNLP
refers to ChessGame.jar, while you have it open.
Note also that it would be easier to give advice if
you upload the 'zip' of all files*, as I did at my site.
* Note though - that I don't especially want to have to
download a *huge* zip file, and if the code is closed
source, it might suffice to see an example using any
simple 'toy' code that is failing for you (in place of
the real app.)
HTH
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via http://www.javakb.com