Skip to content

Commit

Permalink
Update for switch to IntelliJ IDEA
Browse files Browse the repository at this point in the history
  • Loading branch information
richardwilkes committed Dec 14, 2019
1 parent 0974802 commit a240c78
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,48 @@
## GURPS Character Sheet

GURPS Character Sheet (GCS) is a stand-alone, interactive, character sheet
editor that allows you to build characters for the
[GURPS](http://www.sjgames.com/gurps) 4<sup>th</sup> Edition roleplaying game
system.

### Development

I generally use the latest `Eclipse IDE for Eclipse Commiters` package from
http://www.eclipse.org/downloads/eclipse-packages/ for developing GCS. If you
are using Windows, make sure you set the
`General > Workspace > Default Text Encoding` preference to UTF8, as many
source files contain UTF8 characters and the Windows default encoding will
choke on them.
GURPS Character Sheet (GCS) is a stand-alone, interactive, character sheet editor that allows you to
build characters for the [GURPS](http://www.sjgames.com/gurps) 4<sup>th</sup> Edition roleplaying
game system.

### Building from the command line

1. Make sure you have JDK 13 installed and set to be used as your default
Java compiler. You can download it for your platform here:
http://jdk.java.net/13/
1. Make sure you have JDK 13 installed and set to be used as your default Java compiler. You can
download it for your platform here: http://jdk.java.net/13/

2. Until the packager is part of the released JDK again, we also need to
download a pre-release that contains it. You can download it for your
platform here: https://jdk.java.net/jpackage/
Do **NOT** place this in your path. The build expects to find it in your
home directory. If you placed it somewhere else, you'll need to adjust
the variable for `jpackage` in the build.xml file.
2. Until the packager is part of the released JDK again, we also need to download a pre-release that
contains it. You can download it for your platform here: https://jdk.java.net/jpackage/

Do **NOT** place this in your path. The build expects to find it in your home directory. If you
placed it somewhere else, you'll need to adjust the variable for `jpackage` in the build.xml
file.

3. Make sure you have Apache ANT installed. You can download it for your
platform here: https://ant.apache.org/bindownload.cgi
3. Make sure you have Apache ANT installed. You can download it for your platform here:
https://ant.apache.org/bindownload.cgi

4. If you are building on Windows, you'll need to install WiX Toolset from
here: https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm
4. If you are building on Windows, you'll need to install WiX Toolset from here:
https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm

5. Clone the source repositories:

```
% git clone https://github.com/richardwilkes/gcs
% cd gcs
% ant clone-deps
```

6. Build and bundle the code for your platform:
```
% cd gcs
% ant bundle
```

7. Later, to pull changes that have been committed since your initial build, you can do the
following to pull those changes and re-build and bundle the code for your platform without going
through all the steps again:
```
% cd gcs
% ant pull
% ant bundle
```

As part of doing the `clone-deps` step above, a project for IntelliJ IDEA will have been checked
out into a directory named `gcs_intellij`. This can be used to develop and debug GCS.

0 comments on commit a240c78

Please sign in to comment.