[SourceJammer-devel] CommandCentral.getChecker()
Brought to you by:
robertmacgrogan
From: Gupta, K. <kar...@tr...> - 2006-04-20 00:00:24
|
Hi, =20 I'm trying to figure out the use of the function: CommandCentral.getChecker.. =20 public SourceVersionChecker getChecker(java.io.File flDirectory) throws IOException{ =20 String strPath =3D moCurrentTreeNode.getPathAsString(); =20 File flExternalProject =3D null; =20 if (true =3D=3D = SourceJammerClient.getInstance().isExternalProjectInfoPathUsed()){ flExternalProject =3D new = File(System.getProperty("user.home")+"/.sourcejammer.projectinfo/"+msUser= Name+strPath); } =20 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?=20 =20 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. =20 Thanks, Karan |