User: user57  
  Date: 02/03/07 19:56:18

  Modified:    tasks/src/main/org/jboss/tools/buildmagic/task/config
                        LibrarySet.java
  Log:
   o I think it is time to rethink all this mess... *sigh*
  
  Revision  Changes    Path
  1.4       +10 -9     
buildmagic/tasks/src/main/org/jboss/tools/buildmagic/task/config/LibrarySet.java
  
  Index: LibrarySet.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/buildmagic/tasks/src/main/org/jboss/tools/buildmagic/task/config/LibrarySet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LibrarySet.java   28 Feb 2002 09:07:10 -0000      1.3
  +++ LibrarySet.java   8 Mar 2002 03:56:18 -0000       1.4
  @@ -49,7 +49,7 @@
    *
    * </xmp>
    *
  - * @version <tt>$Revision: 1.3 $</tt>
  + * @version <tt>$Revision: 1.4 $</tt>
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Jason Dillon</a>
    */
   public class LibrarySet
  @@ -58,15 +58,15 @@
      /** Instance logger. */
      protected final TaskLogger log = new TaskLogger(this);
   
  -   protected String name;
  +   protected String pathID;
      protected File root;
      protected List libraries;
   
      protected Path classpath;
   
  -   public void setName(final String name)
  +   public void setPathID(final String pathID)
      {
  -      this.name = name;
  +      this.pathID = pathID;
      }
   
      public void setRoot(final File root)
  @@ -105,8 +105,8 @@
       */
      protected void validate() throws BuildException 
      {
  -      if (name == null)
  -         throw new MissingAttributeException("name", this);
  +      if (pathID == null)
  +         throw new MissingAttributeException("pathID", this);
      }
   
      /**
  @@ -121,7 +121,7 @@
   
         validate();
   
  -      log.debug("name: " + name);
  +      log.debug("pathID: " + pathID);
         log.debug("root: " + root);
   
         // setup the classpath
  @@ -143,15 +143,16 @@
               // append the classpath
               classpath.append(lib.getClasspath());
            }
  +
            log.debug("classpath: " + classpath);
         }
   
         // set classpath ref
         Map refs = project.getReferences();
  -      refs.put(name + ".classpath", classpath);
  +      refs.put(pathID, classpath);
   
         // help gc
  -      name = null;
  +      pathID = null;
         root = null;
         libraries = null;
      }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to