[jbosstools-issues] [JBoss JIRA] (JBIDE-12918) Cannot deploy archive on the server

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Nov 13 03:45:18 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-12918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733595#comment-12733595 ] 

Rob Stryker commented on JBIDE-12918:
-------------------------------------

> Grab Intel i7 Quad Core 3.2GHz and try it. I got equal values for your scenario above. I cannot understand why do you need this ID if file names should be unique anyway?

There needs to be a unique identifier for the project archive. You argue it could be the "file name" but that's not true. Two different projects and their .packages files can have files with the same name. it could also be the output file's full path, but some users may choose to have a strange workspace environment where two projects output to the same place. 

Finally, even if we chose one of these, the user may change those values. If we chose the full output path of the archive to be the unique identifier, than when a user changes the output folder, or output name, the rest of the toolset would think it's a different archive. 

This becomes more important when it comes to deployment of project archives. If you were just using project archives alone, this wouldn't matter at all, but because a server keeps a "module id" to know what's deployed, every archive needs a unique identifier, and this cannot change. So therefore, using any property that can change (archive name, archive output folder, archive source folder, includes / excludes pattern, or ANYTHING that can be changed), this leads to failures. 
                
> Cannot deploy archive on the server
> -----------------------------------
>
>                 Key: JBIDE-12918
>                 URL: https://issues.jboss.org/browse/JBIDE-12918
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Archives
>    Affects Versions: 3.3.0.Final, 3.3.1, 4.0.0.Beta1
>         Environment: Fedora 17 x64, java version "1.7.0_05", AS 7.1.1
>            Reporter: Jaroslav Jankovič
>            Assignee: Rob Stryker
>            Priority: Blocker
>              Labels: respin-c
>             Fix For: 4.0.0.CR1
>
>         Attachments: JBIDE-12918.ogv, pr3.zip
>
>


--
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 jbosstools-issues mailing list