opensubscriber
   Find in this group all groups
 
Unknown more information…

s : sourcejammer-devel@lists.sourceforge.net 20 April 2006 • 8:00AM -0400

[SourceJammer-devel] CommandCentral.getChecker()
by Gupta, Karan

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,

I'm trying to figure out the use of the function:
CommandCentral.getChecker..

public SourceVersionChecker getChecker(java.io.File flDirectory)
        throws IOException{
  
   String strPath = moCurrentTreeNode.getPathAsString();
  
   File flExternalProject = null;

    if (true == SourceJammerClient.getInstance().isExternalProjectInfoPathUsed()){
     flExternalProject = new File(System.getProperty("user.home")+"/.sourcejammer.projectinfo/"+msUserName+strPath);
    }
    
     return new SourceVersionChecker(flDirectory, msURL, msArchiveName, flExternalProject);
}

In my case, the function SourceJammerClient.getInstance().isExternalProjectInfoPathUsed() returns false, so the value of the flExternalProject going to the SourceVersionChecker constructor is null. Whats the primary purpose of this parameter?

I still have not been able to dig through all the code -- hoping someone here will be able to help me out.
I'm developing a plugin for sourcejammer and I keep getting stuck here :-(
Please let me know if you need some more info.

Thanks,
Karan

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.