Closed samaxes closed 11 years ago
I'm not sure how this would work. Would adding an execution to the configuration at package or install phase not work?
I believe that the goal jboss-as:redeploy should have an optional parameter such as:
Name | Type | Description |
---|---|---|
touch | Boolean |
If true the application descriptor file should be touched for the application to be redeployed.
If false only modified files should be copied to the application server without touching the application descriptor file.
Default value is: true .
|
The problem is the deployment API deploys the packaged binaries not individuals classes. There is no way to just deploy one file within a JAR, WAR or EAR. It's all or nothing really.
Unfortunately this is a major drawback and has a huge impact on productivity.
I don't believe this is going to be possible with the current API's. Feel free to create a new bug at https://issues.jboss.org/browse/JBASMP and we can see the the JBoss AS API's change.
Changing a JSP or a static file (e.g., CSS, JavaScript, ...) should not force JBoss AS to redeploy the application.