You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "M Raj (JIRA)" <je...@portals.apache.org> on 2006/10/06 15:14:22 UTC

[jira] Updated: (JS2-594) maven2 archetype for custom portal has issues with tomcat-build.xml

     [ http://issues.apache.org/jira/browse/JS2-594?page=all ]

M Raj updated JS2-594:
----------------------

    Attachment: j2-archetype.diff

The following diff fixes the issues, w/o manually hacking the
tomcat-build.xml

> maven2 archetype for custom portal has issues with tomcat-build.xml
> -------------------------------------------------------------------
>
>                 Key: JS2-594
>                 URL: http://issues.apache.org/jira/browse/JS2-594
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1-dev
>         Environment: Tomcat 5.5.17 and maven 2.0.4 
>            Reporter: M Raj
>            Priority: Minor
>         Attachments: j2-archetype.diff
>
>
> 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}"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org