[jboss-jira] [JBoss JIRA] (AS7-2514) Deployment name attribute is superfluous

Stan Silvert (Created) (JIRA) jira-events at lists.jboss.org
Fri Nov 4 10:10:46 EDT 2011


Deployment name attribute is superfluous
----------------------------------------

                 Key: AS7-2514
                 URL: https://issues.jboss.org/browse/AS7-2514
             Project: Application Server 7
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 7.1.0.Alpha1
            Reporter: Stan Silvert
            Assignee: Thomas Diesler
            Priority: Minor


The name attribute on deployments is not needed.  For instance, here the name is jsfwithjsp.war.  But that name is already bound to the deployment as its key and it can not change.  Since the name attribute servers no purpose it should be removed.
{code}[standalone at localhost:9999 /] ./deployment=jsfwithjsp.war/:read-resource
{
    "outcome" => "success",
    "result" => {
        "content" => [{
            "path" => "deployments/jsfwithjsp.war",
            "relative-to" => "jboss.server.base.dir",
            "archive" => true
        }],
        "enabled" => true,
        "name" => "jsfwithjsp.war",
        "persistent" => false,
        "runtime-name" => "jsfwithjsp.war",
        "subdeployment" => undefined,
        "subsystem" => {"web" => undefined}
    }
}{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list