Skip to content

Commit

Permalink
Made runnable jar file from this project in bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Mar 30, 2016
1 parent 13608d2 commit ce79eba
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions projekt.iml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lwjgl" level="project" />
<orderEntry type="module" module-name="jbullet" />
<orderEntry type="module-library">
<library>
<CLASSES>
Expand All @@ -18,5 +16,7 @@
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module" module-name="jbullet" />
<orderEntry type="library" name="lwjgl" level="project" />
</component>
</module>
13 changes: 13 additions & 0 deletions projekt.ipr
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ArtifactManager">
<artifact type="jar" build-on-make="true" name="projekt:jar">
<output-path>$PROJECT_DIR$/out/artifacts/projekt_jar</output-path>
<root id="archive" name="projekt.jar">
<element id="module-output" name="projekt" />
<element id="module-output" name="jbullet" />
<element id="extracted-dir" path="$PROJECT_DIR$/jbullet/jar/vecmath.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/jbullet/jar/jbullet.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/jbullet/jar/jbullet - kopia.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lwjgl/jar/lwjgl.jar" path-in-jar="/" />
</root>
</artifact>
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions />
Expand Down
6 changes: 3 additions & 3 deletions src/se/liu/ida/albhe417/tddd78/game/Main.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package se.liu.ida.albhe417.tddd78.game;

import java.io.File;

public class Main
{
public static void main(String[] args) {
System.out.println("Working Directory = " +
System.getProperty("user.dir"));

System.setProperty("org.lwjgl.librarypath", new File("lwjgl/native").getAbsolutePath());
Game game = new Game();
game.run();
}
Expand Down

0 comments on commit ce79eba

Please sign in to comment.