Skip to content

Commit aff68ca

Browse files
committed
Add ability to set .j2s config filepath/name by setting property net.sf.j2s.core.j2sFileName when launching Eclipse
1 parent 0cc4956 commit aff68ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.core/src/net/sf/j2s/core/Java2ScriptCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Java2ScriptCompiler {
3838
/**
3939
* The name of the J2S options file, aka as the "Dot-j2s" file.
4040
*/
41-
private static final String J2S_OPTIONS_FILE_NAME = ".j2s";
41+
private static final String J2S_OPTIONS_FILE_NAME = System.getProperty("net.sf.j2s.core.j2sFileName",".j2s");
4242

4343
private int nResources, nSources, nJS, nHTML;
4444

0 commit comments

Comments
 (0)