Forum Discussion

ramfree17's avatar
13 years ago

Creating the mock services WAR file from the command line

Currently there is no documentation on how to generate the deployable WAR file from the command line. This functionality would be useful when integrating the mock services in a continuous integration service as the latest WAR files can be generated when needed and then deployed to a running application server.

Manually storing the generated WAR files are wasteful as there are common libraries included which increases the size to around 50MB per project.

If this functionality is already present then a link to the documentation would be appreciated.

Thank you.

2 Replies

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi, no documentation available, but this feature already exists. In the bin directory, you have a wargenerator.bat/wargenerator.sh file to achieve what you need
    • GJC's avatar
      GJC
      Occasional Contributor

      Hi

       

      Do you have an example of using the batch file to create a WAR file.

      We are integrating SoapUI projects into a CI process.

       

      many thanks,

       

      Geoff