cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r320689 - /cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl
Date Thu, 13 Oct 2005 08:23:34 GMT
Author: lgawron
Date: Thu Oct 13 01:23:24 2005
New Revision: 320689

URL: http://svn.apache.org/viewcvs?rev=320689&view=rev
Log:
svn keywords

Modified:
    cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl   (contents, props
changed)

Modified: cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl?rev=320689&r1=320688&r2=320689&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl Thu Oct 13 01:23:24
2005
@@ -16,25 +16,26 @@
   limitations under the License.
 -->
 
-<!-- @version $Id: make-classpath.xsl 106334 2004-11-23 19:52:40Z antonio $ -->
+<!-- @version $Id$ -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output method="xml" indent="yes"/>
 
     <xsl:template match="/">
         <project default="generate-customized-eclipse-project" basedir="." name="blocks-eclipse">
             <description>Autogenerated Ant build file that builds customized eclipse
project for selected blocks.</description>
-
+        	<!-- copied over from blocks-build.xsl -->
             <macrodef name="test-include-block">
                 <attribute name="name"/>
                 <sequential>
-                   <condition property="include.block.@{{name}}">
-                  <not>
-                    <istrue value="${{exclude.block.@{{name}}}}"/>
-                  </not>
-                </condition>
-                <condition property="internal.exclude.block.@{{name}}">
-                  <isfalse value="${{include.block.@{{name}}}}"/>
-                </condition>
+                    <condition property="include.block.@{{name}}">
+                        <and>
+                            <equals arg1="${{default.block.mode}}" arg2="include"/>
+                            <not><istrue value="${{exclude.block.@{{name}}}}"/></not>
+                        </and>
+                    </condition>
+                    <condition property="internal.exclude.block.@{{name}}">
+                        <not><istrue value="${{include.block.@{{name}}}}"/></not>
+                    </condition>
                 </sequential>
             </macrodef>
 
@@ -127,6 +128,14 @@
 
         <!-- Define wich blocks will be included -->
         <target name="init">
+        	<!-- copied over from blocks-build.xsl -->
+            <condition property="default.block.mode" value="include">
+                <istrue value="${{include.all.blocks}}"/>
+            </condition>
+            <condition property="default.block.mode" value="exclude">
+                <istrue value="${{exclude.all.blocks}}"/>
+            </condition>
+            <property name="default.block.mode" value="include"/>
             <xsl:for-each select="$cocoon-blocks">
                 <xsl:variable name="block-name" select="substring-after(@name,'cocoon-block-')"/>
                 <test-include-block name="{$block-name}"/>

Propchange: cocoon/branches/BRANCH_2_1_X/tools/ide/eclipse/blocks-classpath.xsl
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message