[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9711) AS7 Adapter : Deployment of OSGI projects fails if the temporary folder doesn't exist

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Wed Sep 14 07:52:26 EDT 2011


AS7 Adapter : Deployment of OSGI projects fails if the temporary folder doesn't exist
-------------------------------------------------------------------------------------

                 Key: JBIDE-9711
                 URL: https://issues.jboss.org/browse/JBIDE-9711
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS/Servers
    Affects Versions: 3.3.0.M2
         Environment: JBossAS Tools 2.3.0.v20110617-0009-H467-M2
            Reporter: Libor Zoubek
            Assignee: Rob Stryker
             Fix For: 3.3.0.M3


I noticed that, in the context of JBIDE-9133, for the existing -broken-  AS7 server instances the utility projects were not zipped to the deployment area.
On the other hand, creating a new server instance fixed the issue.

So it seems the temporary folder is only created at the same time as the server instance. 
It's an issue in the sense that you can not guarantee the temporary folder will exist at deployment time (could have been deleted by the user ...).

Solution is to call tempdir.mkdirs() right before the actual deployment occurs.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list