Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've ported the code to maven #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ should only really be needed on very slow machines, and breaks some code that us

## Building the Emulator

JPSX is very simple to build. Just run `ant`, and it will build `jar` files in the `ship` folder.
JPSX is very simple to build. Just run `mvn clean install` and it will build a `jar` file in the `target` folder.

## Running the Emulator

To run JPSX in its default configuration, run the following command:

```
java -XX:-DontCompileHugeMethods -XX:-OmitStackTraceInFastThrow -jar ship/jpsx.jar image=path/to/game.cue
java -XX:-DontCompileHugeMethods -XX:-OmitStackTraceInFastThrow -jar target/jpsx-jar-with-dependencies.jar image=path/to/game.cue
```

Note that JPSX does not have a GUI; you must launch it from the command line. Also, you need a PlayStation BIOS image named `bios.bin`.
Expand Down
33 changes: 33 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jpsx</groupId>
<artifactId>api</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>jpsx-api</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.bcel/bcel -->
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
<version>5.2</version>
</dependency>

</dependencies>
<build>
<finalName>jpsx-api</finalName>
</build>
</project>
42 changes: 42 additions & 0 deletions bootstrap/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jpsx</groupId>
<artifactId>bootstrap</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>jpsx-bootstrap</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jpsx</groupId>
<artifactId>api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.13</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.bcel/bcel -->
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
<version>5.2</version>
</dependency>


</dependencies>
</project>
124 changes: 0 additions & 124 deletions build.xml

This file was deleted.

15 changes: 0 additions & 15 deletions external/bcel-5.1/BCEL.iml

This file was deleted.

53 changes: 0 additions & 53 deletions external/bcel-5.1/LICENSE.txt

This file was deleted.

Loading