Page 1 of 1

Tiled website

Posted: 19 Feb 2008, 15:25
by 5t3v3
I dunno if this is the right place to post it, it's not really about the TMW website, but an associated website. But anyways...
Since a couple of days, if I go to http://mapeditor.org/
And I press the "start now" link I get:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://mapeditor.org/" href="tiled.jnlp">

<information>
<title>Tiled</title>
<vendor>Tiled Development Team</vendor>
<homepage href="http://mapeditor.org/"/>
<description>Tiled map editor</description>
<icon href="/images/logo.png"/>
<!-- <icon kind="splash" href="/images/your_splash_graphic.gif"/> -->
<offline-allowed/>
</information>

<security>
<all-permissions/>
</security>

<resources>
<j2se version="1.4+"/>
<jar href="tiled-ws.jar" />
</resources>

<application-desc main-class="tiled.mapeditor.MapEditor"/>

</jnlp>

Re: Tiled website

Posted: 19 Feb 2008, 17:34
by Bjørn
Hmm yes, this is because of Apache not knowing the mime type of *.jnlp files.

Platyna, can you please add application/x-java-jnlp-file as the mime type for *.jnlp to your Apache configuration? Or can I do this with a .htaccess option or something (no time to look up now...).

Re: Tiled website

Posted: 19 Feb 2008, 21:26
by ElvenProgrammer
I use this .htaccess file for my web start applications:

Code: Select all

# Return the right mime type for JARs
AddType application/x-java-jnlp-file JNLP

Re: Tiled website

Posted: 19 Feb 2008, 22:21
by Platyna

Code: Select all

# cat /etc/httpd/mime.types | grep jnlp
application/x-java-jnlp-file                    jnlp
Regards.

Re: Tiled website

Posted: 25 Feb 2008, 19:08
by Bjørn
Platyna wrote:

Code: Select all

# cat /etc/httpd/mime.types | grep jnlp
application/x-java-jnlp-file                    jnlp
Regards.
Thanks.

Re: Tiled website

Posted: 25 Feb 2008, 19:24
by Jaxad0127
It now tries to download the jnlp file.

Re: Tiled website

Posted: 26 Feb 2008, 08:48
by Bjørn
jaxad0127 wrote:It now tries to download the jnlp file.
Yes, but is probably because you haven't installed Java Webstart, or at least you have not associated files of type *.jnlp (application/x-java-jnlp-file) with javaws(.exe).

Re: Tiled website

Posted: 26 Feb 2008, 14:22
by Jaxad0127
Sorry. I thought it was a server-side app.