Skip to content
Snippets Groups Projects
Commit 5c4e56ce authored by René Schöne's avatar René Schöne
Browse files

0.2.9

- fixed paths used in pages
parent 1f09970f
Branches
No related tags found
No related merge requests found
Pipeline #10096 passed
...@@ -26,7 +26,7 @@ createDoc: ...@@ -26,7 +26,7 @@ createDoc:
- "./gradlew :run" - "./gradlew :run"
artifacts: artifacts:
paths: paths:
- "pages/doc/config.md" - "pages/docs/config.md"
publish: publish:
image: openjdk:11 image: openjdk:11
......
...@@ -53,7 +53,7 @@ task compileTreeIncremental(type: RagConnectTest) { ...@@ -53,7 +53,7 @@ task compileTreeIncremental(type: RagConnectTest) {
} }
``` ```
Available options are listed at [configuration](/config). Available options are listed at [configuration](config).
Notably, all options passed to JastAdd are also passed to the preprocessors, and generated files are handled correctly, e.g., generated aspects are passed to JastAdd automatically. Notably, all options passed to JastAdd are also passed to the preprocessors, and generated files are handled correctly, e.g., generated aspects are passed to JastAdd automatically.
The compilers to be used can be configured as follows: The compilers to be used can be configured as follows:
......
...@@ -12,6 +12,7 @@ plugins: ...@@ -12,6 +12,7 @@ plugins:
locale: en locale: en
fallback_to_build_date: True fallback_to_build_date: True
- macros - macros
repo_url: https://git-st.inf.tu-dresden.de/jastadd/preprocessors/coverage-generator repo_url: https://git-st.inf.tu-dresden.de/jastadd/testing
site_dir: ../public site_dir: ../public
site_url: https://jastadd.pages.st.inf.tu-dresden.de/testing site_url: https://jastadd.pages.st.inf.tu-dresden.de/testing
use_directory_urls: true
...@@ -12,6 +12,7 @@ import java.io.BufferedWriter; ...@@ -12,6 +12,7 @@ import java.io.BufferedWriter;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.nio.file.Files; import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;
import java.nio.file.StandardOpenOption; import java.nio.file.StandardOpenOption;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -45,7 +46,9 @@ public class DocumentationCreator { ...@@ -45,7 +46,9 @@ public class DocumentationCreator {
} }
return e1[0].compareTo(e2[0]); return e1[0].compareTo(e2[0]);
}); });
try(BufferedWriter writer = Files.newBufferedWriter(Paths.get(outputFile), Path outputPath = Paths.get(outputFile);
System.out.println("Writing to " + outputPath.toAbsolutePath());
try(BufferedWriter writer = Files.newBufferedWriter(outputPath,
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) {
writer.write(HEADER); writer.write(HEADER);
for (Map.Entry<String, Class<?>> entry : entitiesToBeDocumented) { for (Map.Entry<String, Class<?>> entry : entitiesToBeDocumented) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment