krysalis-version/src/java/org/krysalis/version/collecting VersionCollector.java,1.7,1.8

[email protected]
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/collecting
In directory sc8-pr-cvs1:/tmp/cvs-serv17677/src/java/org/krysalis/version/collecting

Modified Files:
	VersionCollector.java 
Log Message:
Try 2: Allow Eclipse plug-in to set the Classpath

Index: VersionCollector.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/collecting/VersionCollector.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** VersionCollector.java	16 Feb 2003 00:08:11 -0000	1.7
--- VersionCollector.java	18 Feb 2003 22:17:07 -0000	1.8
***************
*** 60,63 ****
--- 60,64 ----
  import org.krysalis.version.collecting.collectors.VersionBrandCollector;
  import org.krysalis.version.exception.VersionException;
+ import org.krysalis.version.util.classpath.PathSet;
  
  /**
***************
*** 65,70 ****
--- 66,77 ----
   */
  public class VersionCollector extends Collector {
+     private PathSet m_pathSet = null;
+     
      public VersionCollector() {
  
+     } 
+     
+     public VersionCollector(PathSet pathSet) {
+         m_pathSet = pathSet;
      }
  
***************
*** 74,78 ****
  
      public void collectInto(EntryCollection collection) throws VersionException {
!         VersionBrandCollector vcc = new VersionBrandCollector();
          vcc.collectInto(collection);
  
--- 81,88 ----
  
      public void collectInto(EntryCollection collection) throws VersionException {
!         VersionBrandCollector vcc = (m_pathSet == null ) ?
!             new VersionBrandCollector() :
!             new VersionBrandCollector(m_pathSet);
!                     ;
          vcc.collectInto(collection);
  




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.