Tiled website

Web discussions, including project website, forums, wiki, and others.


Post Reply
User avatar
5t3v3
Warrior
Warrior
Posts: 451
Joined: 31 Oct 2007, 15:08
Location: Belgium
Contact:

Tiled website

Post 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>
In game characters: "5t3v3" and "L "
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post 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...).
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Re: Tiled website

Post 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
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Re: Tiled website

Post by Platyna »

Code: Select all

# cat /etc/httpd/mime.types | grep jnlp
application/x-java-jnlp-file                    jnlp
Regards.
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post by Bjørn »

Platyna wrote:

Code: Select all

# cat /etc/httpd/mime.types | grep jnlp
application/x-java-jnlp-file                    jnlp
Regards.
Thanks.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Tiled website

Post by Jaxad0127 »

It now tries to download the jnlp file.
Image
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post 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).
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Tiled website

Post by Jaxad0127 »

Sorry. I thought it was a server-side app.
Image
Post Reply