bmuschko/gradle-cargo-plugin — Issue #5: some desired extensions to this plugin
Author: dlethin
Created: 2011-10-18 02:28:37+00:00
State: open

Wow, This is a really useful plugin. I ran into a couple of limitations (or I just don't understand how to do what I need) and
I was wondering how easy it would be to extend the plugin to support the following:

1. Support specifying system properties for local containers
2. Support specifying jvm args for local containers (Specifically, need to specify memory settings)
3. For tomcat containers, support specifying desired CATALINA_BASE directory.

I'm not even sure if #3 is supported in cargo today. I'd have to look. I just happen to notice the catalina.base system arg being passed and it points to temporary space. I was thinking it would be useful to possibly override that so that it goes somewhere into the project's buildDir. Alternatively, don't specify a separate catalina_base and just deploy directly to the catalina home dir specified in the convention object.

I'd have to get acclimated to git and the concept of forking the code and possibly resolving this issue myself. Probably not a bad thought, but it would take time.

Thanks so much for providing this plugin. Cheers.