When you add a deployment (in our case for jboss) and you select “<Custom Location>”, the default “Deploy Location” root directory appears to be set to the parent directory of the jboss home directory. At least that’s how I assume it is getting set. For example, my jboss home dir is c:\dev\jboss and the “Deploy Location” defaults to c:\dev\<artifact_name>.
I really want to use a custom location but the issue is that the default deploy location doesn’t appear to be editable anywhere and if I change the location and then undeploy and deploy again later, it does not remember the last location you set. For example, I change the value of “Deploy Location” to “c:\deploy” and it deploys to c:\deploy as expected. But if I remove that deployment and then add a deployment again, the default “Deploy Location” is back to “c:\dev”. So every time I undeploy/deploy, I’m forced to manually change the location again. I’d really like it if there was a way to set that default location for custom deploys OR at least remember my last directory.
Am I missing anything that would allow me to achieve that?
BTW – my motivation for using a custom deploy location is so that I can deploy my artifacts to a central location that multiple jboss instances can both use as their deployment directory. If there’s another way to achieve that, I’m open to suggestions.
Thank you