public
Last active

A sublime build setting for compiling MXJ objects for Max/MSP

  • Download Gist
mxj.sublime-build.json
JSON
1 2 3 4
{
"cmd": ["javac", "-classpath", "/Applications/Max 6.1/Cycling '74/java/lib/jitter.jar:/Applications/Max 6.1/Cycling '74/java/lib/jode-1.1.2-pre-embedded.jar:/Applications/Max 6.1/Cycling '74/java/lib/jython.jar:/Applications/Max 6.1/Cycling '74/java/lib/log4j-1.2.16.jar:/Applications/Max 6.1/Cycling '74/java/lib/max.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.jython-1.2.1.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.lib-1.8.0.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.scripting-1.1.0.jar:/Applications/Max 6.1/Cycling '74/java/classes/", "$file"],
"file_regex": "^ *\\[javac\\] (.+):([0-9]+):() (.*)$"
}

remove the .json and place it in ~/Application Support/Sublime Text 3/Packages/User/
This will allow you to compile the java classes by pressing command-b and you will also get error output.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.