Skip to content

Commit

Permalink
BUILDING.md: Added a new section about incremental compiling and a se…
Browse files Browse the repository at this point in the history
…ntence about cleaning after switching branches.

This information is derived from a comment by mkristian:
jruby#1470 (comment)
  • Loading branch information
DavidEGrayson committed Feb 2, 2014
1 parent 24536e0 commit bf27fcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions BUILDING.md
Expand Up @@ -93,6 +93,14 @@ mvn -Pbootstrap
This only needs to be run once to install these gems or if you update
one of the gems to a newer version or clean out all installed gems.

### Incremental compiling

After changing Java code, you can recompile quickly by running:

```
mvn compile
```

### Day to Day Testing

For normal day-to-day testing, we recommend running the Ruby 1.9 tests
Expand Down Expand Up @@ -142,6 +150,10 @@ mvn clean install -Pjruby-jars

this first cleans everything and then starts the new build in one go !

Cleaning the build may be necessary after switching to a different
version of JRuby (for example, after switching git branches) to ensure
that everything is rebuilt properly.

NOTE: ```mvn clean``` just cleans the **jruby-core** artifact and the **./lib/jruby.jar** !

Distribution Packages
Expand Down

0 comments on commit bf27fcb

Please sign in to comment.