You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-commits@incubator.apache.org by cl...@apache.org on 2005/04/21 22:10:38 UTC
svn commit: r164135 - /incubator/graffito/trunk/jetspeed2-deploy/maven.xml
Author: clombart
Date: Thu Apr 21 15:10:38 2005
New Revision: 164135
URL: http://svn.apache.org/viewcvs?rev=164135&view=rev
Log:
Currently, I prefer to host in the Graffito project, all modified J2 config files instead of updating thoses files with some maven scripts.
What do you think ? I have to found a nice way to be synchronised with J2 releases.
Modified:
incubator/graffito/trunk/jetspeed2-deploy/maven.xml
Modified: incubator/graffito/trunk/jetspeed2-deploy/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jetspeed2-deploy/maven.xml?rev=164135&r1=164134&r2=164135&view=diff
==============================================================================
--- incubator/graffito/trunk/jetspeed2-deploy/maven.xml (original)
+++ incubator/graffito/trunk/jetspeed2-deploy/maven.xml Thu Apr 21 15:10:38 2005
@@ -28,15 +28,19 @@
</copy>
<!-- Insert Graffito's ContentServer and ContentModel into the -->
<!-- jetspeed-spring.xml from a Jetspeed running application -->
- <util:loadText file="${org.apache.jetspeed.deploy.war.dir}/jetspeed/WEB-INF/assembly/jetspeed-spring.xml" var="jetspeedSpringXml"/>
- <j:if test="${jetspeedSpringXml.indexOf('graffito') lt 0}">
+
+ <!-- util:loadText file="${org.apache.jetspeed.deploy.war.dir}/jetspeed/WEB-INF/assembly/jetspeed-spring.xml" var="jetspeedSpringXml"/ -->
+ <!--j:if test="${jetspeedSpringXml.indexOf('graffito') lt 0}">
<replaceregexp file="${org.apache.jetspeed.deploy.war.dir}/jetspeed/WEB-INF/assembly/jetspeed-spring.xml">
<regexp pattern="(.+PortletRegistryComponent.+)" />
<substitution
- expression="<entry key=\"ContentServer\"><ref bean=\"org.apache.portals.graffito.ContentServerService\"/></entry><entry key=\"ContentModel\"><ref bean=\"org.apache.portals.graffito.ContentModelService\"/></entry>\1"
+ expression="<entry key=\"PermissionManager\"><ref bean=\"org.apache.jetspeed.security.PermissionManager\"/></entry><entry key=\"ContentServer\"><ref bean=\"org.apache.portals.graffito.ContentServerService\"/></entry><entry key=\"ContentModel\"><ref bean=\"org.apache.portals.graffito.ContentModelService\"/></entry>\1"
+
+
+
/>
</replaceregexp>
- </j:if>
+ </j:if-->
</goal>
Re: svn commit: r164135 - /incubator/graffito/trunk/jetspeed2-deploy/maven.xml
Posted by David Sean Taylor <da...@bluesunrise.com>.
clombart@apache.org wrote:
> Author: clombart
> Date: Thu Apr 21 15:10:38 2005
> New Revision: 164135
>
> URL: http://svn.apache.org/viewcvs?rev=164135&view=rev
> Log:
> Currently, I prefer to host in the Graffito project, all modified J2 config files instead of updating thoses files with some maven scripts.
> What do you think ? I have to found a nice way to be synchronised with J2 releases.
>
I think this is best too, although it creates a maintenance task of
keeping things synchronized.
We have tried to break down the spring configuration files by category,
so that you can override the ones that you need. What I usually do is
deploy the Jetspeed-2 configuration files and then replace the custom
components with new configuration files
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194