Converting Oracle Ant target to Gradle

(Sion Williams) #1

I am attempting to Gradle-ize some old Ant scripts that I have for Oracle Service Bus. The original version is as follows:

My attempt is as follows:

However, I get the error as listed in the Gist above. Any help with this one would be greatly received.

(Peter Niederwieser) #2

Sounds like a name conflict for ‘script’; try ‘delegate.script’ instead. Also, there is no ‘sys.argv’ in Java/Groovy.

(Sion Williams) #3

Peter, thanks for the reply. I managed to put the script element into the python script I was calling afterwards. Hopefully that also explains where the sys.argv came from.