Skip to content

Conversation

@ybakos
Copy link
Collaborator

@ybakos ybakos commented Sep 27, 2015

Note: This revised PR addresses the issue discussed in #88.

This revision reorders the directories in the path option, to help insulate Processing 3 beta users from a problem that occurs if the old /usr/bin/processing-java still exists. Note that Processing 3b6 fixed this issue by deleting the old /usr/bin/processing-java, so this will never be an issue for new users anyway; but this helps our package users who may be using earlier betas, and who install new versions of Processing 3, without re-installing processing-java.

Fixes #86, #81, #80.

Processing 3 installs processing-java in /usr/local/bin instead of /usr/bin. On OSX, this is a problem, because Sublime Text does not use the user's PATH. This can easily be addressed by installing the "Fix Mac Path" package, which all OSX users should probably install anyway, but it would be better to make the "out of box" experience for this package work without installing another package.

This PR adds osx platform-specific options for path. What's nice is that we declare it at the top level of the build system and all variants inherit it (no need to duplicate the option for all variants).

b-g and others added 3 commits September 9, 2015 06:51
Move --force option to front of options list (compatibility processing 3.0b5)
This provides out-of-box compatibility with Processing 3. Fixes b-g#86, b-g#81, b-g#80.
users who still have older versions of processing-java installed. Later versions of Processing 3 betas remove the old processing-java installed in /usr/bin, so this is probably no longer a big deal. However, this simple re-ordering of the path helps 'protect' some users who are running older Processing 3 betas. Fixes issues discussed in PR b-g#88. References: processing/processing#3786 processing/processing#3497 b-g#88
@ybakos
Copy link
Collaborator Author

ybakos commented Sep 27, 2015

@b-g I closed the previous PR and have a new one. This should do it. I reinstalled the old usr/bin/processing-java as well as having usr/local/bin/processing-java and this now works as expected.

b-g added a commit that referenced this pull request Sep 30, 2015
New OSX path option (revised)
@b-g b-g merged commit 3635203 into b-g:develop Sep 30, 2015
@b-g
Copy link
Owner

b-g commented Sep 30, 2015

Thanks! Works! And merged to dev branch via the green button :)

@ybakos ybakos deleted the osx_path_option branch December 17, 2015 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants