Skip to content

Commit aae4506

Browse files
committed
Changing the script to be without extension and actually executing script
1 parent 8133aee commit aae4506

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

scripts/generateObjectsFromXsd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
mkdir -p "$apidir"
3232
echo Make sure the ns-dest uses destination as: $apidir
3333
echo Generating PHP Classes >> $logfile
34-
vendor/goetas/xsd2php/bin/xsd2php.php convert:php \
34+
vendor/goetas/xsd2php/bin/xsd2php convert:php \
3535
--ns-dest='net.authorize.api.contract.v1.;lib/net/authorize/api/contract/v1' \
3636
--ns-map='http://www.w3.org/2001/XMLSchema;W3/XMLSchema/2001/' \
3737
--ns-map='AnetApi/xml/v1/schema/AnetApiSchema.xsd;net.authorize.api.contract.v1' \
@@ -44,7 +44,7 @@ if [ -d "$jmsdir" ]; then
4444
fi
4545
mkdir -p "$jmsdir"
4646
echo Generating Serializers for Classes >> $logfile
47-
vendor/goetas/xsd2php/bin/xsd2php.php convert:jms-yaml \
47+
vendor/goetas/xsd2php/bin/xsd2php convert:jms-yaml \
4848
--ns-dest='net.authorize.api.contract.v1.;lib/net/authorize/api/yml/v1' \
4949
--ns-map='http://www.w3.org/2001/XMLSchema;W3/XMLSchema/2001/' \
5050
--ns-map='AnetApi/xml/v1/schema/AnetApiSchema.xsd;net.authorize.api.contract.v1' \

scripts/masterUpdate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ for cmd in $cmdlist ; do
1212
echo "Script $currdir/scripts/$cmd not found"
1313
exit 1
1414
fi
15-
echo ***FIXME*** $currdir/scripts/$cmd
15+
$currdir/scripts/$cmd
16+
# echo ***FIXME*** $currdir/scripts/$cmd
1617
ERRORCODE=$?
1718
if [ $ERRORCODE -ne 0 ];then
1819
echo "########################################################################"

0 commit comments

Comments
 (0)