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 "Ate Douma (JIRA)" <je...@portals.apache.org> on 2008/10/08 02:00:44 UTC
[jira] Closed: (JS2-594) maven2 archetype for custom portal has
issues with tomcat-build.xml
[ https://issues.apache.org/jira/browse/JS2-594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma closed JS2-594.
-------------------------
Resolution: Won't Fix
Fix Version/s: 2.1
Jetspeed 2.2 provides a brand new jetspeed-archetype (and a new maven-2 build configuration overall).
The old archetypes are no longer used nor provided so this issue no longer applies.
> maven2 archetype for custom portal has issues with tomcat-build.xml
> -------------------------------------------------------------------
>
> Key: JS2-594
> URL: https://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
> Fix For: 2.1
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org