forked from n-ando/OpenRTP-aist
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from ga-sakamoto/Python_Compile_501
[RTCB]idlcompile.shの内容を修正
- Loading branch information
Showing
6 changed files
with
92 additions
and
7 deletions.
There are no files selected for viewing
16 changes: 15 additions & 1 deletion
16
jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST1/idlcompile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x$RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH idl/MyService.idl |
16 changes: 15 additions & 1 deletion
16
jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/idlcompile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x$RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH idl/MyService.idl |
16 changes: 15 additions & 1 deletion
16
jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/idlcompile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x$RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH idl/MyService.idl |
16 changes: 15 additions & 1 deletion
16
jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST4/idlcompile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x$RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH idl/MyService.idl |
16 changes: 15 additions & 1 deletion
16
jp.go.aist.rtm.rtcbuilder.python/resource/Python/IDLPath/idlcompile.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x$RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH idl/CalibrationService.idl idl/InterfaceDataTypes.idl idl/BasicDataType.idl idl/ExtendedDataTypes.idl |
19 changes: 17 additions & 2 deletions
19
....rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
#!/bin/sh | ||
IDL_PATH=`rtm-config --rtm-idldir` | ||
omniidl -bpython -I$IDL_PATH #foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end | ||
|
||
RTM_CONFIG="rtm2-config" | ||
if type "rtm-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config" | ||
fi | ||
if type "rtm-config2" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm-config2" | ||
fi | ||
if type "rtm2-config" > /dev/null 2>&1; then | ||
RTM_CONFIG_CMD="rtm2-config" | ||
fi | ||
if test "x${dol}RTM_CONFIG_CMD" = "x" ; then | ||
echo "rtm-config/rtm-config2/rtm2-config command not found." | ||
exit 1 | ||
fi | ||
IDL_PATH=`${dol}RTM_CONFIG_CMD --rtm-idldir` | ||
omniidl -bpython -I${dol}IDL_PATH #foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end |