diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java index 50f380488..60afba291 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java @@ -470,7 +470,7 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon if (!set.contains(sd)) { try { generateSnapshot(sd); - new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(Utilities.path("c:\\temp", "snapshot", tail(sd.getUrl())+".xml")), sd); + // new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(Utilities.path("[tmp]", "snapshot", tail(sd.getUrl())+".xml")), sd); } catch (Exception e) { System.out.println("Unable to generate snapshot for "+tail(sd.getUrl()) +" from "+tail(sd.getBaseDefinition())+" because "+e.getMessage()); if (true) { diff --git a/release.bat b/release.bat index 687fd8855..8ad593ce3 100644 --- a/release.bat +++ b/release.bat @@ -12,6 +12,9 @@ echo check versions and make sure committed... pause call mvn versions:set -DnewVersion=%newver%-SNAPSHOT + +pause + call git commit -a -m "Release new version" call git push origin master call "C:\tools\fnr.exe" -dir "C:\work\org.hl7.fhir\build" -fileMask "*.xml" -find "%oldver%-SNAPSHOT" -replace "%newver%-SNAPSHOT" -count 8