Any experience building an Oracle ATG Web Commerce application?

My challenge today is to use Gradle to build an Oracle ATG Web Commerce application. (We’re running version 2007.1). The build needs to create an ear file. It appears likely that we will need to continue to call ATG’s runAssembler.bat which calls a java packager to produce the ear file. If so, this could become a very simple build script. I just wondered whether anyone has been here before and has any experience to share.

Thanks

/Martin