File indexing completed on 2025-01-18 09:14:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 copy_files() {
0015 target=${1};
0016 cd DDCore/include/XML
0017 echo "+++ Copy header files from `pwd` to: ${target}/XML ....";
0018 scp DocumentHandler.h Helper.h tinyxml.h tinystr.h UnicodeValues.h UriReader.h \
0019 XMLChildValue.h XMLChildValue.inl \
0020 XMLDimension.h XMLElements.h XML.h XMLParsers.h XMLTags.h ${target}/XML/;
0021 scp -r detail ${target}/XML/;
0022 cd -;
0023 cd DDCore/src/XML;
0024 echo "+++ Copy source files from `pwd` to: ${target}/src ....";
0025 scp DocumentHandler.cpp tinyxmlerror_inl.h tinyxml_inl.h tinyxmlparser_inl.h \
0026 UriReader.cpp XMLElements.cpp XMLHelpers.cpp XMLParsers.cpp XMLTags.cpp ${target}/src/;
0027 cd -;
0028 cd DDParsers/src/Evaluator;
0029 echo "+++ Copy source files from `pwd` to: ${target}/Evaluator ....";
0030 scp Evaluator.cpp hash_map.src setStdMath.cpp setSystemOfUnits.cpp stack.src string.src \
0031 ${target}/Evaluator/;
0032 cd -;
0033 scp doc/externalize/config.h ${target}/XML/;
0034 scp doc/externalize/Printout.h ${target}/XML/;
0035 scp doc/externalize/Printout.cpp ${target}/src/;
0036 scp doc/externalize/ExpressionEvaluator.cpp ${target}/src/;
0037 }
0038
0039 TARGET=${1};
0040 if test "" = "${TARGET}"; then
0041 cat <<EOF
0042 Usage: bash ${0} <scp-target-directory>
0043 e.g. ${USER}/cmtuser/Online_vxry/Online/Dataflow
0044 This script extracts the dd4hep XML interface so that
0045 it can be used without dd4hep.
0046 EOF
0047 exit 1;
0048 fi;
0049
0050 echo "+++ Copy property files to target location: ${TARGET}";
0051 copy_files ${TARGET};