[seam-issues] [JBoss JIRA] (JBSEAM-5068) seam-gen explode target touches .dodeploy forcing a restart, preventing hot-deployment

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Thu Jan 17 03:27:22 EST 2013


Marek Schmidt created JBSEAM-5068:
-------------------------------------

             Summary: seam-gen explode target touches .dodeploy forcing a restart, preventing hot-deployment
                 Key: JBSEAM-5068
                 URL: https://issues.jboss.org/browse/JBSEAM-5068
             Project: Seam 2
          Issue Type: Bug
          Components: Hot Deploy
    Affects Versions: 2.3.0.Final
         Environment: AS 7.1.1.Final, Seam 2.3.1-SNAPSHOT (2013-01-17)
            Reporter: Marek Schmidt
            Assignee: Marek Novotny
             Fix For: 2.3.1.CR1


seam-gen generated explode target contains:

{code}
<touch file="${deploy.dir}/${project.name}.war.dodeploy"/>
{code}

which forces the application to restart, which makes the hot-deployment feature useless. 

The problem is that on AS7 at least one touch of the dodeploy is necessary, as it wouldn't deploy otherwise. 

One possible way to fix this could perhaps be to check for the existence of the .deployed file and touch the .dodeploy only if such file doesn't exist. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list