summaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/getRpcsClassFromYang.sh
diff options
context:
space:
mode:
authorChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:18:56 -0900
committerChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:21:54 -0900
commit4cc1e4b946aedcf6c34550d1903e9bd13e6e160b (patch)
tree4f3369f83f381734fb9aebc3ae9d8ed026c21c99 /dgbuilder/tools/getRpcsClassFromYang.sh
parent76825594b6c95cf09d5142c0f9384a5b2bf9721e (diff)
[SDNC-5] added yang upload
and added break node Change-Id: I8d36b5d400a51a6ebc248b100f04284cf27abcad Signed-off-by: Chinthakayala, Sheshashailavas <sc2914@att.com> Former-commit-id: ae6804f3c5805f78198b26de88ceb6dfa9bb335b
Diffstat (limited to 'dgbuilder/tools/getRpcsClassFromYang.sh')
-rwxr-xr-xdgbuilder/tools/getRpcsClassFromYang.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dgbuilder/tools/getRpcsClassFromYang.sh b/dgbuilder/tools/getRpcsClassFromYang.sh
index 91d95f02..b0703152 100755
--- a/dgbuilder/tools/getRpcsClassFromYang.sh
+++ b/dgbuilder/tools/getRpcsClassFromYang.sh
@@ -12,12 +12,12 @@ module=$(cat $yangFile|egrep "module .*{"|awk '{print $2}'|sed -e 's/{//g')
#echo " \"$module\" : ["
rpcs=$(grep rpc $yangFile|grep -v leaf|sed -e 's/^\s\+rpc//g'|awk '{print $1}')
#echo ${rpcs}
-for i in `find ${toolsDir}/yangToolsJars -name "*.jar" -print`
+for i in `find ${PROJECT_HOME}/svclogic/lib -name "*.jar" -print`
do
#echo $i
export CLASSPATH=$CLASSPATH:$i
done
-export CLASSPATH=$2:$CLASSPATH:.:${toolsDir}/slf4j-api-1.7.2.jar:${toolsDir}/guava-14.0.1.jar:${toolsDir}/printYangToProp.jar
+export CLASSPATH=$CLASSPATH:${toolsDir}/printYangToProp.jar:.
allProps=""
for rpc in $rpcs
do