You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2003/03/07 11:12:45 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/idea plugin.jelly

evenisse    2003/03/07 02:12:45

  Modified:    src/plugins-build/idea plugin.jelly
  Log:
  Applly patch from Nicolas Franck.
  
  Revision  Changes    Path
  1.5       +6 -2      jakarta-turbine-maven/src/plugins-build/idea/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/idea/plugin.jelly,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- plugin.jelly	7 Mar 2003 10:09:09 -0000	1.4
  +++ plugin.jelly	7 Mar 2003 10:12:44 -0000	1.5
  @@ -28,8 +28,12 @@
             </projectPath>
             <sourcePath>
               <root type="composite">
  -              <root type="simple" url="file://${pom.build.sourceDirectory}"/>
  -              <root type="simple" url="file://${pom.build.unitTestSourceDirectory}"/>
  +              <j:if test="${sourcesPresent}">
  +               <root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.sourceDirectory}"/>
  +              </j:if>
  +              <j:if test="${unitTestSourcesPresent}">
  +               <root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.unitTestSourceDirectory}"/>
  +              </j:if>
                 <root type="jdk" rootType="sourcePath" name="java version &quot;${java.version}&quot;"/>
               </root>
             </sourcePath>