epugh       2003/10/18 14:39:43

  Modified:    eclipse/xdocs changes.xml properties.xml
               eclipse/src/plugin-resources/templates classpath.jelly
  Log:
  Add support for multiple additional directoris in the eclipse classpath.
  
  Revision  Changes    Path
  1.9       +7 -1      maven-plugins/eclipse/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/eclipse/xdocs/changes.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- changes.xml       14 Oct 2003 01:20:01 -0000      1.8
  +++ changes.xml       18 Oct 2003 21:39:43 -0000      1.9
  @@ -6,7 +6,13 @@
     </properties>
   
     <body>
  -  
  +    <release version="1.6" date="CVS">
  +      <action dev="epugh" type="add">
  +        Add support for having multiple other directories
  +        included in the classpath.
  +      </action>
  +    </release>
  +      
       <release version="1.5" date="2003-10-14">
         <action dev="dion" type="fix">
           Only classpath dependencies are generated
  
  
  
  1.6       +8 -0      maven-plugins/eclipse/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/eclipse/xdocs/properties.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- properties.xml    9 May 2003 08:42:21 -0000       1.5
  +++ properties.xml    18 Oct 2003 21:39:43 -0000      1.6
  @@ -55,6 +55,14 @@
                        The directory to which Eclipse should output its test classes.
             </td>
           </tr>
  +        <tr>
  +          <td>maven.eclipse.classpath.include</td>
  +          <td>Yes</td>
  +          <td>
  +                     Comma delimited list of additional directories to include in 
  +                     the classpath, like <code>src/conf</code>.
  +          </td>
  +        </tr>
         </table>
          <p>
                Note that you will need to defined a <code>MAVEN_REPO</code> Java 
  
  
  
  1.6       +9 -0      
maven-plugins/eclipse/src/plugin-resources/templates/classpath.jelly
  
  Index: classpath.jelly
  ===================================================================
  RCS file: 
/home/cvs/maven-plugins/eclipse/src/plugin-resources/templates/classpath.jelly,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- classpath.jelly   3 Oct 2003 04:05:42 -0000       1.5
  +++ classpath.jelly   18 Oct 2003 21:39:43 -0000      1.6
  @@ -4,6 +4,7 @@
     xmlns:util="jelly:util"
     xmlns:ant="jelly:ant"
     xmlns:maven="jelly:maven"
  +  xmlns:u="jelly:util"
     xmlns="dummy"
     trim="true">
   
  @@ -29,6 +30,14 @@
       <ant:echo>Setting compile of ${testSrcDir} to ${testOutputDir}</ant:echo>
       <classpathentry kind="src" path="${testSrcDir}" output="${testOutputDir}"/>
   
  +     <!-- split the list of additional directories for the classpath -->
  +     
  +    <u:tokenize var="maven.eclipse.classpath.include.split" 
delim=",">${maven.eclipse.classpath.include}</u:tokenize>
  +
  +    <!-- add extra directories to be included in the classpath -->
  +    <j:forEach var="res" items="${maven.eclipse.classpath.include.split}">
  +      <classpathentry kind="src" path="${res}"/>
  +    </j:forEach>
   
       <!-- Here are the rules:
            If the project has maven.eclipse.junit property, add that ver of junit
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to