jvanzyl     02/02/22 16:47:27

  Modified:    src/java/org/apache/maven/update Get.java
  Log:
  - tmp fix to make compile, i forgot about Get.java, this will work from
    the project descriptor soon too.
  
  Revision  Changes    Path
  1.3       +3 -4      jakarta-turbine-maven/src/java/org/apache/maven/update/Get.java
  
  Index: Get.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/update/Get.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Get.java  21 Feb 2002 14:10:02 -0000      1.2
  +++ Get.java  23 Feb 2002 00:47:27 -0000      1.3
  @@ -73,8 +73,6 @@
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.Project;
   
  -import org.apache.maven.StringUtil;
  -
   /**
    * Get a particular file from a URL source.
    * Options include verbose reporting, timestamp based fetches and controlling
  @@ -120,8 +118,9 @@
                   }
                   
                   if (line.startsWith("<non-distributable>"))
  -                {
  -                    String entry[] = StringUtil.split(line,"|",-1);
  +                {   
  +                    //!! I'm getting this to work from the project descriptor now.
  +                    String entry[] = {"",""};
                       String jar = entry[1];
                       String location = entry[2];
                       
  
  
  

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

Reply via email to