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

Paul Gier pgier at redhat.com
Sat May 17 17:18:13 EDT 2008


  User: pgier   
  Date: 08/05/17 17:18:13

  Modified:    src/main/org/jboss/ant/types  ComponentRef.java
  Log:
  [JBBUILD-432] Apply patch to fix compatibility with ant 1.7.
  Submitted By: Torsten Werner
  
  Revision  Changes    Path
  1.7       +3 -3      jbossbuild/src/main/org/jboss/ant/types/ComponentRef.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ComponentRef.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossbuild/src/main/org/jboss/ant/types/ComponentRef.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- ComponentRef.java	10 Aug 2005 20:05:48 -0000	1.6
  +++ ComponentRef.java	17 May 2008 21:18:13 -0000	1.7
  @@ -24,7 +24,7 @@
    * 
    * @author <a href="ruel.loehr at jboss.com">Ruel Loehr</a>
    * @author Scott.Stark at jboss.org
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   public class ComponentRef extends AbstractBuildDataType
   {
  @@ -162,7 +162,7 @@
       * @return
       * @throws MalformedURLException
       */
  -   public URL getLocation() throws MalformedURLException
  +   public URL getLocationURL() throws MalformedURLException
      {
         URL locationURL = null;
         if (location != null)
  @@ -171,7 +171,7 @@
         }
         else
         {
  -         locationURL = build.getLocation();
  +         locationURL = build.getLocationURL();
         }
   
         URL componentLocation = FileUtil.resolve(locationURL, getName());
  
  
  



More information about the jboss-cvs-commits mailing list