Use custom template if exists
This commit is contained in:
@@ -70,9 +70,9 @@ of the distribution package..
|
|||||||
<define macroname="project_version">${project.version}</define>
|
<define macroname="project_version">${project.version}</define>
|
||||||
<define macroname="project_description">${project.description}</define>
|
<define macroname="project_description">${project.description}</define>
|
||||||
</rpmspec>
|
</rpmspec>
|
||||||
<package name="EC-GN-PSH0PCF-ioc">
|
<package name="EC-GN-PCF0CORE-ioc">
|
||||||
<url>${rpm.vcs.url}</url>
|
<url>${rpm.vcs.url}</url>
|
||||||
<include name="EC-GN-PSH0PCF" type="ioc" />
|
<include name="EC-GN-PCF0CORE" type="ioc" />
|
||||||
</package>
|
</package>
|
||||||
<package name="EC-GN-PCF0SYSM-ioc">
|
<package name="EC-GN-PCF0SYSM-ioc">
|
||||||
<include name="EC-GN-PCF0SYSM" type="ioc" />
|
<include name="EC-GN-PCF0SYSM" type="ioc" />
|
||||||
@@ -214,4 +214,4 @@ KillSignal=SIGINT]]>
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Submodule ec-gn-ja-pcf-sdd-in updated: 911a5632e8...0318d2002e
10
generate.sh
10
generate.sh
@@ -68,6 +68,9 @@ if [[ ${ok} != "0" ]]; then
|
|||||||
cp -rf ${project_name}-IN/.[^.]* ${project_name}/
|
cp -rf ${project_name}-IN/.[^.]* ${project_name}/
|
||||||
# cp -rf tmp_resources/* ${project_name}/src/main/resources
|
# cp -rf tmp_resources/* ${project_name}/src/main/resources
|
||||||
# rm -rf tmp_resources
|
# rm -rf tmp_resources
|
||||||
|
mkdir ${project_name,,}-sdd-in/SDD_IN/templates
|
||||||
|
/bin/cp -f /opt/codac/marte2-extensions/templates/* ${project_name,,}-sdd-in/SDD_IN/templates
|
||||||
|
/bin/cp -f patches/* ${project_name,,}-sdd-in/SDD_IN/templates
|
||||||
|
|
||||||
cd ${project_name,,}-sdd-in/SDD_IN
|
cd ${project_name,,}-sdd-in/SDD_IN
|
||||||
./sdd-generate.sh
|
./sdd-generate.sh
|
||||||
@@ -83,6 +86,13 @@ cd ${current_dir}
|
|||||||
ok=$(echo ${mask} | cut -c ${cid})
|
ok=$(echo ${mask} | cut -c ${cid})
|
||||||
|
|
||||||
#if [[ ${ok} != "0" ]]; then
|
#if [[ ${ok} != "0" ]]; then
|
||||||
|
|
||||||
|
# cat patches/EC-GN-PCF0CORE_sddPreDriverConf.patch ${project_name}/src/main/epics/iocBoot/iocEC-GN-PCF0CORE/sddPreDriverConf.cmd > sddPreDriverConf_patched.cmd
|
||||||
|
# mv -f sddPreDriverConf_patched.cmd ${project_name}/src/main/epics/iocBoot/iocEC-GN-PCF0CORE/sddPreDriverConf.cmd
|
||||||
|
|
||||||
|
# cat patches/EC-GN-PCF0CORE_userPreDriverConf.patch ${project_name}/src/main/epics/iocBoot/iocEC-GN-PCF0CORE/userPreDriverConf.cmd > userPreDriverConf_patched.cmd
|
||||||
|
# mv -f userPreDriverConf_patched.cmd ${project_name}/src/main/epics/iocBoot/iocEC-GN-PCF0CORE/userPreDriverConf.cmd
|
||||||
|
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
cid=$((cid+1))
|
cid=$((cid+1))
|
||||||
|
|||||||
Reference in New Issue
Block a user