Mac OSX ant dist failure w/ patch
---------------------------------

                 Key: JRUBY-5968
                 URL: https://jira.codehaus.org/browse/JRUBY-5968
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.7
         Environment: Mac OSX 10.6 (Snow Lepord) and most likely Lion
            Reporter: Chris White
             Fix For: JRuby 1.7
         Attachments: macosx_installer_build_fix.diff

The ant installer target, which is a child of the dist target does not compile 
due to the following issues addressed by the patch:

1) prepare_rubygems in rakelib/installer.rake is called after doing a chdir 
into installer/macosx, but it tries to use paths relative to the top source 
directory. This causes lots of copy calls to fail

2) The xml.erb files in install/macos/JRuby-installer.pmdoc/ reference 
undefined constants MACDIST and GEMDIST which should be MAC_DIST and 
GEM_DIST_DIR

3) Furthermore these values are supposed to be relative, so a ../../ is needed 
to travel back to the toplevel source directory

I have applied this patch against a clean git clone and verified that ant dist 
runs completely with no errors on Mac OSX. As a bonus I've confirmed the 
resulting installer works as well, installing JRuby into 
/Library/Frameworks/JRuby.framework/Versions/Current/bin/

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to