Cargo
  1. Cargo
  2. CARGO-981

Configuring Tomcat webapps Dir

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: Tomcat
    • Labels:
      None
    • Environment:
      Win XP
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      we configuired a tomcat with a different appbase.
      now we couldnt find a possibility to deploy the war.

      we need a maven cargo property to edit the appbase directory.
      we need something like this:

        @Override
           public String  [Search] getDeployableDir()
           {
               return getFileHandler().append(getContainer().getConfiguration().getHome(), getContainer().getConfiguration().getWebAppDir());
           }
      

      greets

        Issue Links

          Activity

          Hide
          Savas Ali Tokmen added a comment -

          This would probably be best done by adding a new configuration option, for example cargo.tomcat.webappsDirectory, and using that one in the TomcatCopyingInstalledLocalDeployer.getDeployableDir method.

          Patch propositions are welcome.

          Show
          Savas Ali Tokmen added a comment - This would probably be best done by adding a new configuration option, for example cargo.tomcat.webappsDirectory, and using that one in the TomcatCopyingInstalledLocalDeployer.getDeployableDir method. Patch propositions are welcome.
          Hide
          Savas Ali Tokmen added a comment -

          Committed revision 2914.

          Show
          Savas Ali Tokmen added a comment - Committed revision 2914.

            People

            • Assignee:
              Savas Ali Tokmen
              Reporter:
              Han Solo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: