You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2009/01/17 00:27:59 UTC
[jira] Created: (BUILDR-237) Use MacPorts Scala on OS X
Use MacPorts Scala on OS X
--------------------------
Key: BUILDR-237
URL: https://issues.apache.org/jira/browse/BUILDR-237
Project: Buildr
Issue Type: Improvement
Reporter: Assaf Arkin
What would it take to use Scala installed using MacPorts, and would it be possible without extra configuration (i.e. SCALA_HOME)?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-237) Use MacPorts Scala on OS X
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin resolved BUILDR-237.
--------------------------------
Resolution: Fixed
MacPorts installs Scala in /opt/local/share/scala/, just need to check before setting SCALA_HOME:
ENV['SCALA_HOME'] ||= '/opt/local/share/scala/' if File.exist?('/opt/local/share/scala/lib/scala-compiler.jar')
> Use MacPorts Scala on OS X
> --------------------------
>
> Key: BUILDR-237
> URL: https://issues.apache.org/jira/browse/BUILDR-237
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
> Fix For: 1.3.4
>
>
> What would it take to use Scala installed using MacPorts, and would it be possible without extra configuration (i.e. SCALA_HOME)?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-237) Use MacPorts Scala on OS X
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664770#action_12664770 ]
Alex Boisvert commented on BUILDR-237:
--------------------------------------
How do we handle JAVA_HOME on OSX?
> Use MacPorts Scala on OS X
> --------------------------
>
> Key: BUILDR-237
> URL: https://issues.apache.org/jira/browse/BUILDR-237
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
>
> What would it take to use Scala installed using MacPorts, and would it be possible without extra configuration (i.e. SCALA_HOME)?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-237) Use MacPorts Scala on OS X
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664768#action_12664768 ]
Alex Boisvert commented on BUILDR-237:
--------------------------------------
If we detect Mac and no SCALA_HOME is set, we could pick a default location. Is there such a thing? (For all Scala versions?)
> Use MacPorts Scala on OS X
> --------------------------
>
> Key: BUILDR-237
> URL: https://issues.apache.org/jira/browse/BUILDR-237
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
>
> What would it take to use Scala installed using MacPorts, and would it be possible without extra configuration (i.e. SCALA_HOME)?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-237) Use MacPorts Scala on OS X
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664771#action_12664771 ]
Assaf Arkin commented on BUILDR-237:
------------------------------------
Java comes pre-installed on the OS X, with a known path that symlinks to the JDK. Since it's very easy to know you're running on OS X, it's always the same path, and most people use the pre-installed JDK, we have a check for that, in rjb.rb which looks like this:
ENV['JAVA_HOME'] ||= '/System/Library/Frameworks/JavaVM.framework/Home' if Config::CONFIG['host_os'] =~ /darwin/i
> Use MacPorts Scala on OS X
> --------------------------
>
> Key: BUILDR-237
> URL: https://issues.apache.org/jira/browse/BUILDR-237
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
>
> What would it take to use Scala installed using MacPorts, and would it be possible without extra configuration (i.e. SCALA_HOME)?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.