Tiled website

Web discussions, including project website, forums, wiki, and others.
Post Reply
User avatar
5t3v3
Novice
Novice
Posts: 451
Joined: Wed Oct 31, 2007 4:08 pm
Location: Belgium
Contact:

Tiled website

Post by 5t3v3 » Tue Feb 19, 2008 4:25 pm

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
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post by Bjørn » Tue Feb 19, 2008 6:34 pm

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
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Re: Tiled website

Post by ElvenProgrammer » Tue Feb 19, 2008 10:26 pm

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
Knight
Knight
Posts: 2213
Joined: Sat Nov 19, 2005 2:19 pm
Location: Poland
Contact:

Re: Tiled website

Post by Platyna » Tue Feb 19, 2008 11:21 pm

Code: Select all

# cat /etc/httpd/mime.types | grep jnlp
application/x-java-jnlp-file                    jnlp
Regards.
Zuzanna K. Filutowska
[The rest of this signature was censored by TMWC's "Freedom" and "Free speech".]
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post by Bjørn » Mon Feb 25, 2008 8:08 pm

Platyna wrote:

Code: Select all

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

Re: Tiled website

Post by Jaxad0127 » Mon Feb 25, 2008 8:24 pm

It now tries to download the jnlp file.
Image
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Re: Tiled website

Post by Bjørn » Tue Feb 26, 2008 9:48 am

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
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: Tiled website

Post by Jaxad0127 » Tue Feb 26, 2008 3:22 pm

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