-
Notifications
You must be signed in to change notification settings - Fork 17
classpathFilename
With the classpathFilename setting you can change the default .classpath filename to something else. This is useful option if you bump into conflicts with Eclipse users, since Eclipse uses .classpath files in Eclipse specific format. Typical example of .classpath file contents:
./classes:./lib
NOTE: In Windows you should use ; as classpath separator.
Additionally with javacArgsFilename settings you can define filename for a javac argsfile. Contents of the argfile are passed to javac as arguments. Note that if you define javacArgsFilename setting, it MUST be located alongside with the .classpath file in the same directory. Typical example of argsfile contents:
-d ./classes
-parameters
-encoding ISO-8859-1
Project may also consist of multiple small modules that each have their own classpath. Here is a simple example:
- classpathFilename: .javac-classpath
- javacArgsFilename: .javac-args
/myProject
/lib
/module1
/classes
/src
.javac-args
.javac-classpath
/module2
/classes
/lib
/src
.javac-args
.javac-classpath
.javac-classpath
./classes:../lib
.javac-args
-d ./classes
-parameters
.javac-classpath
./classes:./lib:../lib:../module1/classes
.javac-args
-d ./classes
-parameters
linter-javac
is crafted with ❤️ and 🍺 by our contributors. Earn 👍 by supporting us with use, feedback, issues or codelines!