[jboss-cvs] jbossbuild/src/main/org/jboss/ant/tasks/build ...

Paul Gier pgier at redhat.com
Sat May 17 16:49:32 EDT 2008


  User: pgier   
  Date: 08/05/17 16:49:32

  Modified:    src/main/org/jboss/ant/tasks/build 
                        GenerateLibrariesFile.java
  Log:
  Fix deprecation warning.
  
  Revision  Changes    Path
  1.6       +2 -2      jbossbuild/src/main/org/jboss/ant/tasks/build/GenerateLibrariesFile.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: GenerateLibrariesFile.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossbuild/src/main/org/jboss/ant/tasks/build/GenerateLibrariesFile.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- GenerateLibrariesFile.java	4 Aug 2005 18:54:33 -0000	1.5
  +++ GenerateLibrariesFile.java	17 May 2008 20:49:32 -0000	1.6
  @@ -25,7 +25,7 @@
    * in buildmagic format  
    *  
    * @author <a href="ruel.loehr at jboss.com">Ruel Loehr</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public class GenerateLibrariesFile extends BuildTask
   {
  @@ -77,7 +77,7 @@
            BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);
   
            //create a visitor to visit the graph and provide the writer it should use
  -         ComponentRefGraphClasspathVisitor visitor = new ComponentRefGraphClasspathVisitor(project);
  +         ComponentRefGraphClasspathVisitor visitor = new ComponentRefGraphClasspathVisitor( getProject() );
            visitor.setBufferedWriter(bufferedWriter);
   
            //get the graph the visitor should visit
  
  
  



More information about the jboss-cvs-commits mailing list