Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8678

"Run on Server" does not intelligently handle deletion of .war

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • common
    • None
    • Hide
      if you expect the tools to manage deployments don't mess with the deployments manually :)

      You can reset the server adapters understanding of deployments with a force publish.
      Show
      if you expect the tools to manage deployments don't mess with the deployments manually :) You can reset the server adapters understanding of deployments with a force publish.

      When a seam project is generated and run on the embedded eap server, if you delete the .war or the -ds from the deploy directory, Dev Studio doesn't handle it properly.

      The Dev Studio seems to push only a delta of changed files to the server, and doesn't check to see if the war has been tampered or removed. So if you now attempt to "Run on Server", it will fail as there will be no .war file deployed. Changing one of the files in the project, saving it, then hitting "Run On Server" again results in the changed file being pushed to a .war in the server's deploy directory, but nothing else.

      I managed to get Dev Studio to push the whole project to the server by restarting Dev Studio.

            manderse@redhat.com Max Andersen
            jwulf_jira Joshua Wulf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: