You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/12/08 12:39:26 UTC

cvs commit: cocoon-2.1 build.properties

cziegeler    2003/12/08 03:39:26

  Modified:    tools/ide/eclipse make-classpath.xsl
               tools/targets ide-build.xml
               .        build.properties
  Log:
  Eclipse: Optionally export all jars for other projects
  
  Revision  Changes    Path
  1.2       +4 -3      cocoon-2.1/tools/ide/eclipse/make-classpath.xsl
  
  Index: make-classpath.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/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 17:20:24 -0000	1.1
  +++ make-classpath.xsl	8 Dec 2003 11:39:26 -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 -->
  
  
  
  1.2       +3 -1      cocoon-2.1/tools/targets/ide-build.xml
  
  Index: ide-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/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 17:20:23 -0000	1.1
  +++ ide-build.xml	8 Dec 2003 11:39:26 -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.30      +1 -0      cocoon-2.1/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/build.properties,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- build.properties	24 Nov 2003 11:46:33 -0000	1.29
  +++ build.properties	8 Dec 2003 11:39:26 -0000	1.30
  @@ -129,6 +129,7 @@
   
   # IDE
   ide.eclipse.outputdir=${build.root}/eclipse/classes
  +ide.eclipse.export.libs=false
   
   # Libraries
   lib=lib