You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "saminda wijeratne (JIRA)" <ji...@apache.org> on 2008/07/01 07:37:44 UTC

[jira] Created: (AXIS2-3881) The temporary folder created to create the aar file is not unique

The temporary folder created to create the aar file is not unique
-----------------------------------------------------------------

                 Key: AXIS2-3881
                 URL: https://issues.apache.org/jira/browse/AXIS2-3881
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
         Environment: Java : jdk 1.5
OS   : Ubuntu 8.04
eclipse : ganymede
            Reporter: saminda wijeratne


The temporary folder created in order to setup the neccessary folder structure and files for later creation for aar file does not have a unique name. This can result in following problems.

1. incase of such a folder exist in the tmp folder it will be deleted
2. if any files were added externaly to the folder while creating the aar file the generted aar file would contain those unwanted files also. 
3. In a rare case of more than one eclipse instances attempt to create the aar file the files and folders will overwrite/replace each others files creating invalid file/folders for the aar and missing neccessary files/folders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3881) The temporary folder created to create the aar file is not unique

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Sandakith resolved AXIS2-3881.
-------------------------------------

    Resolution: Fixed

applied the patch to the trunk, thanks saminda wijeratne

Commit Log 

 svn commit -m "Applying the patch by saminda wijeratne for the issue 3881"
Sending        axis2-eclipse-service-plugin/src/main/java/org/apache/axis2/tool/service/control/Controller.java
Transmitting file data .
Committed revision 673020.


> The temporary folder created to create the aar file is not unique
> -----------------------------------------------------------------
>
>                 Key: AXIS2-3881
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3881
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>         Environment: Java : jdk 1.5
> OS   : Ubuntu 8.04
> eclipse : ganymede
>            Reporter: saminda wijeratne
>         Attachments: AXIS2-3881_patch.txt
>
>
> The temporary folder created in order to setup the neccessary folder structure and files for later creation for aar file does not have a unique name. This can result in following problems.
> 1. incase of such a folder exist in the tmp folder it will be deleted
> 2. if any files were added externaly to the folder while creating the aar file the generted aar file would contain those unwanted files also. 
> 3. In a rare case of more than one eclipse instances attempt to create the aar file the files and folders will overwrite/replace each others files creating invalid file/folders for the aar and missing neccessary files/folders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3881) The temporary folder created to create the aar file is not unique

Posted by "saminda wijeratne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

saminda wijeratne updated AXIS2-3881:
-------------------------------------

    Attachment: AXIS2-3881_patch.txt

this patch will create a temporary unique filename and use that to create the temporary folder which would be used to include the files needed for the aar.

> The temporary folder created to create the aar file is not unique
> -----------------------------------------------------------------
>
>                 Key: AXIS2-3881
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3881
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>         Environment: Java : jdk 1.5
> OS   : Ubuntu 8.04
> eclipse : ganymede
>            Reporter: saminda wijeratne
>         Attachments: AXIS2-3881_patch.txt
>
>
> The temporary folder created in order to setup the neccessary folder structure and files for later creation for aar file does not have a unique name. This can result in following problems.
> 1. incase of such a folder exist in the tmp folder it will be deleted
> 2. if any files were added externaly to the folder while creating the aar file the generted aar file would contain those unwanted files also. 
> 3. In a rare case of more than one eclipse instances attempt to create the aar file the files and folders will overwrite/replace each others files creating invalid file/folders for the aar and missing neccessary files/folders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Closed: (AXIS2-3881) The temporary folder created to create the aar file is not unique

Posted by "saminda wijeratne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

saminda wijeratne closed AXIS2-3881.
------------------------------------


fixed

> The temporary folder created to create the aar file is not unique
> -----------------------------------------------------------------
>
>                 Key: AXIS2-3881
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3881
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>         Environment: Java : jdk 1.5
> OS   : Ubuntu 8.04
> eclipse : ganymede
>            Reporter: saminda wijeratne
>         Attachments: AXIS2-3881_patch.txt
>
>
> The temporary folder created in order to setup the neccessary folder structure and files for later creation for aar file does not have a unique name. This can result in following problems.
> 1. incase of such a folder exist in the tmp folder it will be deleted
> 2. if any files were added externaly to the folder while creating the aar file the generted aar file would contain those unwanted files also. 
> 3. In a rare case of more than one eclipse instances attempt to create the aar file the files and folders will overwrite/replace each others files creating invalid file/folders for the aar and missing neccessary files/folders.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org