Skip to content

Instantly share code, notes, and snippets.

@eman41
Last active December 16, 2015 08:19
Show Gist options
  • Save eman41/5405067 to your computer and use it in GitHub Desktop.
Save eman41/5405067 to your computer and use it in GitHub Desktop.
Java Project Settings for SublimeLinter. A helpful command here (from javac) is the -d option that provides the target directory for the compiled class files. Standard classpath note: if you keep sub-folders in your lib directory, they must be specified since the -cp switch isn't recursive.Test classes are always in a separate test src so that i…
{
"folders":
[
{
"path": "/C/workspace/project"
}
],
"settings":
{
"SublimeLinter":
{
"Java":
{
"working_directory": "c:/workspace/project",
"lint_args":
[
"-sourcepath", "src;test",
"-classpath", "lib/junit_4/*;lib/commons/*;lib/Cobertura/*",
"-Xlint", "-Xlint:-serial",
"-d","build/classes",
"{filename}"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment