Skip to content

Commit

Permalink
Merge pull request #935 from brianpos/BP-xver-fixes2
Browse files Browse the repository at this point in the history
Ensure the xver-qa temp folder exists before trying to write/read files from the folder
  • Loading branch information
grahamegrieve authored Aug 18, 2024
2 parents fc09150 + c25b578 commit b929851
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,30 @@ This project is maintained by [Grahame Grieve][Link-grahameGithub] and [Lloyd Mc
[Badge-AzureReleasePipeline]: https://dev.azure.com/fhir-pipelines/ig-publisher/_apis/build/status/Release%20Branch%20Pipeline?branchName=master
[Badge-SonatypeReleases]: https://img.shields.io/nexus/r/https/oss.sonatype.org/org.hl7.fhir.publisher/org.hl7.fhir.publisher.svg "Sonatype Releases"
[Badge-SonatypeSnapshots]: https://img.shields.io/nexus/s/https/oss.sonatype.org/org.hl7.fhir.publisher/org.hl7.fhir.publisher.svg "Sonatype Snapshots"

## Debugging this project with VS-Code
Setup a launch.json file in the .vscode folder with the following content:
``` json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Publisher",
"request": "launch",
"mainClass": "org.hl7.fhir.igtools.publisher.Publisher",
"projectName": "org.hl7.fhir.publisher.core",
"cwd": "c:/git/hl7/utg",
"args": [
"-ig", ".",
"-tx", "http://tx.fhir.org/r4"
]
}
]
}
```
Update the path to the location of the IG that you want to debug the generation of
and click debug in VS-Code.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public boolean preProcess(String path) {

cu = new ContextUtilities(engine.getVdr5());
engine.logProgress("Generating fragments");
Utilities.createDirectory(Utilities.path(path, "temp", "xver-qa"));
genChainsHtml(path, "cross-version-chains-all", false, false);
genChainsHtml(path, "cross-version-chains-valid", true, false);
genChainsHtml(path, "cross-version-chains-min", true, true);
Expand Down

0 comments on commit b929851

Please sign in to comment.