cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1378073 - /cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java
Date Tue, 28 Aug 2012 10:41:46 GMT
Author: simonetripodi
Date: Tue Aug 28 10:41:45 2012
New Revision: 1378073

URL: http://svn.apache.org/viewvc?rev=1378073&view=rev
Log:
deprecated method replaced by the newer version

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java

Modified: cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java?rev=1378073&r1=1378072&r2=1378073&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/PipelineDescriptorModule.java
Tue Aug 28 10:41:45 2012
@@ -37,7 +37,7 @@ final class PipelineDescriptorModule
             .createObject().ofType( PipelinesRegistry.class )
             .then()
             .setProperties()
-                .addAlias( "default", "defaultId" );
+                .addAlias( "default" ).forProperty( "defaultId" );
         forPattern( "pipelines/pipeline" ).addRuleCreatedBy( new PipelineCreateRuleProvider()
);
         forPattern( "pipelines/pipeline/generator" ).addRuleCreatedBy( new CreateXMLGeneratorRuleProvider()
);
         forPattern( "pipelines/pipeline/serializer" )



Mime
View raw message