Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6620 JON/Open Console Issues
  3. JBAS-6697

provide API in DeploymentManager for specifying which dir the file should be deployed to (e.g. to deploy to farm dir, rather than deploy dir)

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-5.1.0.GA
    • ProfileService
    • None

    Description

      I could also use an API that tells me which deployment directories are available, e.g.:

      Set<URL> getDeploymentDirectories();

      I need this for the EAR/WAR create functionality in the jboss-as-5 plugin, because I want to throw an Exception if an EAR/WAR with the same name is already deployed. I suppose this could also be accomplished with an additional parameter to distribute(), e.g.:

      DeploymentProgress distribute(String name, URL contentURL, boolean copyContent, boolean overwriteIfAlreadyExists) throws Exception;

      i.e. where it would throw an exception if overwriteIfAlreadyExists=false and an app with the same name is already deployed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ips_jira Ian Springer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: