You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2005/10/13 10:22:39 UTC
svn commit: r320688 - /cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl
Author: lgawron
Date: Thu Oct 13 01:22:30 2005
New Revision: 320688
URL: http://svn.apache.org/viewcvs?rev=320688&view=rev
Log:
svn keywords, line endings
Modified:
cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl (contents, props changed)
Modified: cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl?rev=320688&r1=320687&r2=320688&view=diff
==============================================================================
--- cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl (original)
+++ cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl Thu Oct 13 01:22:30 2005
@@ -16,7 +16,7 @@
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"/>
@@ -24,20 +24,20 @@
<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}}">
- <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>
+ <macrodef name="test-include-block">
+ <attribute name="name"/>
+ <sequential>
+ <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>
<xsl:apply-templates select="module"/>
</project>
</xsl:template>
@@ -48,30 +48,30 @@
<!-- 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}"/>
- </xsl:for-each>
+ <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}"/>
+ </xsl:for-each>
<!-- prepare the various paths that will form the project -->
<path id="srcs">
<!-- main source dir -->
- <pathelement path="${{java}}"/>
- <!-- samples source dir -->
+ <pathelement path="${{java}}"/>
+ <!-- samples source dir -->
<!-- FIXME: Load based on local.build.properties -->
- <pathelement path="${{src}}/samples"/>
- <!-- deprecated source dir -->
+ <pathelement path="${{src}}/samples"/>
+ <!-- deprecated source dir -->
<!-- FIXME: Load based on local.build.properties -->
- <pathelement path="${{src}}/deprecated/java"/>
- <!-- test source dir -->
- <pathelement path="${{src}}/test"/>
+ <pathelement path="${{src}}/deprecated/java"/>
+ <!-- test source dir -->
+ <pathelement path="${{src}}/test"/>
</path>
<!--core mocks -->
<path id="mockss">
@@ -150,7 +150,7 @@
<!-- now build the .classpath file -->
<echo>Generate classpath</echo>
<xslt in="${{build.temp}}/classpath-temp.xml" out="${{basedir}}/.classpath"
- processor="trax"
+ processor="trax"
style="${{tools}}/ide/eclipse/make-classpath.xsl">
<param name="exportlib" expression="${{ide.eclipse.export.libs}}"/>
</xslt>
Propchange: cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/tools/ide/eclipse/blocks-classpath.xsl
------------------------------------------------------------------------------
svn:keywords = Id