Skip to content

Commit d9b9d83

Browse files
committed
Fixed new-line problems and path specification for java-options.conf in
batch file
1 parent 08ff47f commit d9b9d83

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
*.bat eol=crlf
1818
*.sh eol=lf
1919

20+
# The batch script can only handle the config
21+
# properly if it uses crlf as end-of-line marker:
22+
src/main/config/java-options.conf eol=crlf
23+
2024
# Denote all files that are truly binary and should not be modified:
2125
*.bz2 binary
2226
*.bzip2 binary
2327
*.gz binary
2428
*.gzip binary
25-
*.xz binary
29+
*.xz binary

src/main/scripts/flux.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ IF "x%FLUX_JAVA_BIN%" == "x" (
1111
SET FLUX_JAVA_BIN=java
1212
)
1313

14-
SET JAVA_OPTS_FILE="%METAFACTURE_HOME%/config/java-options.conf"
14+
SET JAVA_OPTS_FILE="%METAFACTURE_HOME%\config\java-options.conf"
1515
SET JAR_FILE="%METAFACTURE_HOME%${project.build.finalName}.jar"
1616

1717
REM Read JVM options from configuration file. Lines starting

0 commit comments

Comments
 (0)