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

Vaclav Dedik (JIRA) jira-events at lists.jboss.org
Mon Apr 15 06:47:54 EDT 2013


     [ https://issues.jboss.org/browse/JBSEAM-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaclav Dedik updated JBSEAM-5087:
---------------------------------

    Description: 
seam-gen generated explode target contains:

{code}
<touch file="${deploy.dir}/${project.name}.ear.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. 

  was:
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. 


    
> seam-gen EAR explode target touches .dodeploy forcing a restart, preventing hot-deployment
> ------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-5087
>                 URL: https://issues.jboss.org/browse/JBSEAM-5087
>             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: Vaclav Dedik
>            Assignee: Vaclav Dedik
>             Fix For: 2.3.1.CR1
>
>
> seam-gen generated explode target contains:
> {code}
> <touch file="${deploy.dir}/${project.name}.ear.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