I've struggled a lot to submit a patch since this is the very first
experience for me. After I submitted the patch, I found the useful
feature of NetBeans for creating a patch file. So, I made a memo, a
steps to make a patch by using NetBeans IDE. This may help those who
want to contribute but don't know how to do.
1. Open the NetBeans IDE 6.0
2. Click "Versioning" on the toolbar, select "Subversion", then "Checkout."
Since NetBeans creates a JRuby project automatically, you don't
need to create the project for checkout-JRuby codes beforehand.
3. Edit a file you want to make a patch and save it.
See http://www.headius.com/jrubywiki/index.php/JRuby_Style_Guide
before you edit a file.
4. Build the JRuby project by right-clicking on the JRuby project in
Projects winodw, and select "Build."
NetBeans builds new version of jruby.jar in your NetBeans projects
directory/folder. For example,
/home/foo/netbeans/projects/jruby/lib/jruby.jar.
5. Test newly built JRuby
6. Click the JRuby project in Projects window, then click "Versioning"
on the toolbar and select "Export Diff Patch." Input "File Name" and
click "Export."
You don't need to type a file extension such as ".diff" or
".patch." NetBeans adds ".patch" extension automatically. Clicking the
JRuby project makes a file path in a patch starting with
"src/org/jruby/," like shown below:
Index: src/org/jruby/javasupport/JavaEmbedUtils.java
--- src/org/jruby/javasupport/JavaEmbedUtils.java Base (BASE)
+++ src/org/jruby/javasupport/JavaEmbedUtils.java Locally Modified
(Based On LOCAL)
done.
-Yoko
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email