smor        2002/07/18 13:02:53

  Modified:    src/plugins-build/changelog plugin.jelly
  Log:
  Started the implementation of the offline mode (with the flags "-o" and "--offline") 
:
  - if we are online, we check the changelog,
  - else we simply show a warning saying that we can't do that offline
  
  Revision  Changes    Path
  1.8       +6 -0      jakarta-turbine-maven/src/plugins-build/changelog/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/changelog/plugin.jelly,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- plugin.jelly      16 Jul 2002 01:01:17 -0000      1.7
  +++ plugin.jelly      18 Jul 2002 20:02:53 -0000      1.8
  @@ -16,6 +16,7 @@
     <goal name="changelog:generate"
           description="Generate a changelog report">
   
  +    <j:when test="${maven.mode.online}">
       <define:taglib uri="changelog">
         <define:jellybean
           name="changelog"
  @@ -36,6 +37,11 @@
         project="${maven.ant.project}"
         mavenProject="${pom}"
       />
  +    </j:when>
  +
  +    <j:when test="${!maven.mode.online}">
  +      <echo>The Changelog is available in the online mode only.</echo>
  +    </j:when>
   
     </goal>
   
  
  
  

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

Reply via email to