cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.2/tools/ide/eclipse make-classpath.xsl
Date Mon, 08 Dec 2003 11:41:18 GMT
cziegeler    2003/12/08 03:41:18

  Modified:    .        build.properties
               tools/targets ide-build.xml
               tools/ide/eclipse make-classpath.xsl
  Log:
  Eclipse: Optionally export all jars for other projects
  
  Revision  Changes    Path
  1.30      +1 -0      cocoon-2.2/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/build.properties,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- build.properties	15 Oct 2003 18:03:52 -0000	1.29
  +++ build.properties	8 Dec 2003 11:41:18 -0000	1.30
  @@ -134,6 +134,7 @@
   
   # IDE
   ide.eclipse.outputdir=${build.root}/eclipse/classes
  +ide.eclipse.export.libs=false
   
   # Libraries
   lib=lib
  
  
  
  1.2       +3 -1      cocoon-2.2/tools/targets/ide-build.xml
  
  Index: ide-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/tools/targets/ide-build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ide-build.xml	18 Nov 2003 18:56:12 -0000	1.1
  +++ ide-build.xml	8 Dec 2003 11:41:18 -0000	1.2
  @@ -103,7 +103,9 @@
       <!-- now build the .classpath file -->
       <xslt in="${build.temp}/classpath-temp.xml" out="${basedir}/.classpath"
             processor="trax"
  -          style="${tools}/ide/eclipse/make-classpath.xsl"/>
  +          style="${tools}/ide/eclipse/make-classpath.xsl">
  +       <param name="exportlib" expression="${ide.eclipse.export.libs}"/>
  +    </xslt>
   
       <!-- copy the project file (expand version) -->
       <copy file="${tools}/ide/eclipse/project"
  
  
  
  1.2       +4 -3      cocoon-2.2/tools/ide/eclipse/make-classpath.xsl
  
  Index: make-classpath.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/tools/ide/eclipse/make-classpath.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- make-classpath.xsl	18 Nov 2003 18:56:13 -0000	1.1
  +++ make-classpath.xsl	8 Dec 2003 11:41:18 -0000	1.2
  @@ -10,7 +10,8 @@
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
     <xsl:output indent="yes" method="xml"/>
  -
  +  <xsl:param name="exportlib"/>
  +  
     <xsl:strip-space elements="*"/>
   
     <xsl:template match="/data">
  @@ -34,7 +35,7 @@
           <xsl:sort select="concat(substring-after(substring-after(substring-after(substring-after(.,
'/'), '/'), '/'), '/'),
                                                    substring-after(substring-after(substring-after(.,
'/'), '/'), '/'),
                                                                    substring-after(substring-after(.,
'/'), '/'))"/>
  -        <classpathentry kind="lib" path="{.}"/>
  +        <classpathentry exported="{$exportlib}" kind="lib" path="{.}"/>
         </xsl:for-each>
   
         <!-- 3. JRE runtime -->
  
  
  

Mime
View raw message