BUILDING.md: Added info about incremental compiling, cleaning after switching branches#1475
Merged
mkristian merged 1 commit intojruby:jruby-1_7from Feb 3, 2014
Merged
Conversation
…ntence about cleaning after switching branches. This information is derived from a comment by mkristian: jruby#1470 (comment)
mkristian
added a commit
that referenced
this pull request
Feb 3, 2014
BUILDING.md: Added info about incremental compiling, cleaning after switching branches [skip ci]
Member
|
merged to master as well - thanx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When I started developing with JRuby I didn't know how to do a quick incremental compilation. I ran "mvn package" after every change to any Java code. Thankfully, @mkristian told me how to do it in this comment:
#1470 (comment)
@mkristian also said it would be necessary to clean the build after switching branches (i.e. from master to jruby-1_7) and I have confirmed that it is necessary with an experiment, as discussed in issue #1470.
I think it would be helpful to other new JRuby developers if this information was in BUILDING.md, so I made this pull request to add it. I really don't know much about Maven or Java compilation but hopefully I got this right.
This pull request goes to the jruby-1_7 branch, which I think is the right way to do it. It should be merged into master too so people can see it easily on github. Thanks!