Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-594

maven2 archetype for custom portal has issues with tomcat-build.xml

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.1-dev
    • 2.1
    • Other
    • None
    • Tomcat 5.5.17 and maven 2.0.4

    Description

      The generated maven2 archetype for custom portal has few bugs, the following diff
      fixes the problem, this has been reported in the mailing list too.
      ===================================================================
      — maven-archetypes/portal/src/archetype/archetype-resources/app-servers/tomcat-build.xml (revision 452890)
      +++ maven-archetypes/portal/src/archetype/archetype-resources/app-servers/tomcat-build.xml (working copy)
      @@ -113,12 +113,12 @@
      <!-- generate and deploy portal application context file -->
      <delete file="${org.apache.jetspeed.server.home}/conf/Catalina/localhost/${artifactId}.xml"/>
      <copy todir="${org.apache.jetspeed.server.home}/conf/Catalina/localhost">

      • <fileset dir="\${basedir}/../etc/conf/tomcat">
        + <fileset dir="\${basedir}/${artifactId}/etc/conf/tomcat">
        <include name="jetspeed-tomcat-5.xml" unless="org.apache.jetspeed.tomcat.5.5"/>
        <include name="jetspeed-tomcat-5.5.xml" if="org.apache.jetspeed.tomcat.5.5"/>
        </fileset>
        <filterset begintoken="@" endtoken="@">
      • <filter token="CONTEXT" value="jetspeed"/>
        + <filter token="CONTEXT" value="${artifactId}"/>
        <filter token="USERNAME" value="${org.apache.jetspeed.production.database.user}"/>
        <filter token="PASSWORD" value="${org.apache.jetspeed.production.database.password}"/>
        <filter token="DRIVER" value="${org.apache.jetspeed.production.database.driver}"/>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mohan.anon M Raj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment