https://github.com/jamesagnew/hapi-fhir
Tip revision: f01a1cb1e9b9a23105830c34df027c232ff551ed authored by James on 20 April 2017, 10:04:09 UTC
Fix #627 - Accidental rename of some codesystem files to text during
Fix #627 - Accidental rename of some codesystem files to text during
Tip revision: f01a1cb
sync_dstu3.sh
# From /Users/james/workspace/fhirbuild/trunk/build/implementations/java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/validation/InstanceValidator.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/validation/InstanceValidator.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/validation/IResourceValidator.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/validation/IResourceValidator.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/ProfileUtilities.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/ProfileUtilities.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/IWorkerContext.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/IWorkerContext.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/FHIRPathEngine.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/utils/FHIRPathEngine.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/ValueSet*.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/terminologies/CodeSystemUtilities.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/terminologies/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/xml/XMLUtil.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/utilities/xml/XMLUtil.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/Element.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/JsonLDParser.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/JsonParser.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/ParserBase.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/Property.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/XmlParser.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/Manager.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/elementmodel/ObjectConverter.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/elementmodel/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/xml/SchematronWriter.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/utilities/xml/
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.utilities/src/org/hl7/fhir/utilities/TextStreamWriter.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/utilities/
# From /Users/james/workspace/fhirbuild/trunk/build
rm ~/workspace/hapi-fhir/hapi-tinder-plugin/src/main/resources/res/dstu3/*
cp ~/workspace/fhirbuild/trunk/build/source/*/*-spreadsheet.xml ~/workspace/hapi-fhir/hapi-tinder-plugin/src/main/resources/res/dstu3/
rm ~/workspace/hapi-fhir/hapi-tinder-plugin/src/main/resources/res/dstu3/*extensions*
rm ~/workspace/hapi-fhir/hapi-tinder-plugin/src/main/resources/res/dstu3/*-profile-*
# Copy definitions
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/Base.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/Base.java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/ResourceType.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/ResourceType.java
for i in $(grep -l "@ResourceDef" ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/*.java); do rm $i; done
for i in $(grep -l "@ResourceDef" ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/*.java); do cp $i ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/; done
for i in $(grep -l "@DatatypeDef" ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/*.java); do rm $i; done
for i in $(grep -l "@DatatypeDef" ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/*.java); do cp $i ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/; done