smor        2002/07/09 07:04:17

  Modified:    src/plugins/graph plugin.jelly
  Log:
  Splitted the generation of the gif as it requires Graphviz...
  Will try soon to find another (java?) solution to output graphic graphs.
  
  o New goal : graph:goals-to-image
  o Renamed goal : graph:goals -> graph:goals-to-xml
  o Updated prereqs : graph:goals -> graph:goals-to-xml
  
  Revision  Changes    Path
  1.4       +22 -10    jakarta-turbine-maven/src/plugins/graph/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/graph/plugin.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- plugin.jelly      9 Jul 2002 11:41:54 -0000       1.3
  +++ plugin.jelly      9 Jul 2002 14:04:17 -0000       1.4
  @@ -23,13 +23,11 @@
     <!-- ===================================================================== -->
     <!-- G R A P H   G O A L S                                                 -->
     <!-- ===================================================================== -->
  -  <!-- Output the Werkz Project and Goals to an XML file, then make a .dot   -->
  -  <!-- file, which can then be generated by Graphviz. Other implementations  -->
  -  <!-- should come soon (commons-graph, for instance).                       -->
  +  <!-- Output the Werkz Project and Goals to an XML file.                    -->
     <!-- ===================================================================== -->
   
  -  <goal name="graph:goals"
  -        description="Get a .gif graph of current goals and their dependencies">
  +  <goal name="graph:goals-to-xml"
  +        description="Get an xml file representing the goal structure">
   
   
       <mkdir dir="${maven.build.dir}/graph"/>
  @@ -37,6 +35,20 @@
       <maven:goalsToXML file="${maven.build.dir}/graph/goals.xml" 
                         project="${org.apache.commons.jelly.werkz.Project}"/>
   
  +  </goal>
  +
  +  <!-- ===================================================================== -->
  +  <!-- G R A P H   G O A L S  I M A G E                                      -->
  +  <!-- ===================================================================== -->
  +  <!-- From the XML file representing the goals, make a .dot file, which can -->
  +  <!-- then be generated by Graphviz. Other implementations should come soon -->
  +  <!-- (commons-graph, for instance).                                        -->
  +  <!-- ===================================================================== -->
  +
  +  <goal name="graph:goals-to-image"
  +        description="Get a .gif graph of current goals and their dependencies"
  +        prereqs="graph:goals-to-xml">
  +
       <dvsl
         basedir="${maven.build.dir}/graph"
         destdir="${maven.build.dir}/graph"
  @@ -68,8 +80,8 @@
     <!-- ===================================================================== -->
   
     <goal name="graph:goals-to-xdoc"
  -        description="Creates an xdoc document from the project goals"
  -        prereqs="graph:goals">
  +        description="Create an xdoc document from the project goals"
  +        prereqs="graph:goals-to-xml">
   
       <dvsl
         basedir="${maven.build.dir}/graph"
  @@ -88,11 +100,11 @@
     <!-- ===================================================================== -->
     <!-- D E F A U L T   G R A P H   G O A L                                   -->
     <!-- ===================================================================== -->
  -  <!-- Graph the goals to a gif                                              -->
  +  <!-- Graph the goals to an xml file                                        -->
     <!-- ===================================================================== -->
   
     <goal name="graph" 
  -        description="Get a .gif graph of current goals and their dependencies"
  -        prereqs="graph:goals"/>
  +        description="Create an xdoc document from the project goals"
  +        prereqs="graph:goals-to-xdoc"/>
   
   </project>
  
  
  

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

Reply via email to