Menu

[r3701]: / trunk / LWJGL / www / webstart / demo.php  Maximize  Restore  History

Download this file

36 lines (34 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?
header("Content-type: application/x-java-jnlp-file");
?>
<!-- JNLP File for LWJGL Demos -->
<jnlp
spec="1.0+"
codebase="http://lwjgl.org/webstart/"
href="demo.php/<?php echo substr($_SERVER["PATH_INFO"], 1, strlen($_SERVER["PATH_INFO"])-1); ?>">
<information>
<title>LWJGL Demo [<?php echo substr($_SERVER["PATH_INFO"], 1, strlen($_SERVER["PATH_INFO"])-1); ?>]</title>
<vendor>LWJGL</vendor>
<homepage href="http://lwjgl.org/"/>
<description>Demonstration of LWJGL</description>
<description kind="short">Technology Preview</description>
<icon kind="splash" href="logo.png" />
<offline-allowed/>
</information>
<resources>
<j2se version="1.4+"/>
<jar href="lwjgl_test.jar" main="true"/>
<jar href="media.jar"/>
<extension name="lwjgl" href="http://lwjgl.org/webstart/2.5/extension.jnlp" />
</resources>
<application-desc main-class="org.lwjgl.<?php echo substr($_SERVER["PATH_INFO"], 1, strlen($_SERVER["PATH_INFO"])-1); ?>">
<?php
if(isset($HTTP_GET_VARS['arguments'])) {
$arguments = $HTTP_GET_VARS['arguments'];
foreach ($arguments as $argument) {
echo "<argument>" . $argument . "</argument>\n";
}
}
?>
</application-desc>
</jnlp>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.