3 Replies Latest reply on Nov 12, 2006 6:57 AM by xie ping

    BETA2 Seam-gen explode/undeploy problem

    Bob Brown Newbie

      LOVE this tool! Kudos to all involved...

      A small 'issue.'

      If I do the sequence:

      seam explode
      ...
      seam undeploy
      


      I get:

      C:\DEVTOOLS\jboss-seam-1.1.0.BETA2>seam undeploy
      Buildfile: C:\DEVTOOLS\jboss-seam-1.1.0.BETA2\seam-gen\build.xml
      
      validate-workspace:
      
      validate-project:
      
      undeploy:
       [echo] Undeploying project 'SEAM11'
      
      undeploy:
       [delete] Directory C:\DEVTOOLS\JBOSS~3.GA\server\default\deploy\SEAM11.ear cannot be removed using the file attribute. Use dir instead.
       [delete] Deleting: C:\DEVTOOLS\JBOSS~3.GA\server\default\deploy\SEAM11-ds.xml
      
      BUILD SUCCESSFUL
      Total time: 0 seconds
      C:\DEVTOOLS\jboss-seam-1.1.0.BETA2>
      


      This seems to come from the seam-gen\build-scripts\build.xml file:

       <target name="undeploy" description="Undeploy the example from JBoss">
       <delete file="${deploy.dir}/${project.name}.ear" />
       <delete file="${deploy.dir}/${project.name}-ds.xml" />
       </target>
      


      Cheers,

      Alph.