jbossas / jboss-as-maven-plugin

Maven plugin to deploy applications to JBoss AS 7 (moved to https://github.com/wildfly/wildfly-maven-plugin)
74 stars 69 forks source link

Add Hot-Deployment option for jboss-as:redeploy goal #19

Closed samaxes closed 11 years ago

samaxes commented 12 years ago

Changing a JSP or a static file (e.g., CSS, JavaScript, ...) should not force JBoss AS to redeploy the application.

jamezp commented 12 years ago

I'm not sure how this would work. Would adding an execution to the configuration at package or install phase not work?

samaxes commented 12 years ago

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.
jamezp commented 12 years ago

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.

samaxes commented 12 years ago

Unfortunately this is a major drawback and has a huge impact on productivity.

jamezp commented 11 years ago

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.

mp911de commented 11 years ago

@samaxes Use JRebel