[SourceJammer-users] RE: [SourceJammer-devel] CommandCentral.getChecker()
Brought to you by:
robertmacgrogan
From: Gupta, K. <kar...@tr...> - 2006-04-21 17:14:38
|
Thanks, Rob. Which list should I mail similar queries to, in the future? I don't see any traffic on the The DEV list... My company here needs a more enhanced version of the sjEclipse plugin, = than whats currently out there (this version didnt work on our = installations -- I'm guessing because of the error below). So, thats what I have been working on the past few days. Are you working on a second version as well? -- Karan -----Original Message----- From: sou...@li... [mailto:sou...@li...]On Behalf Of Robert MacGrogan Sent: Friday, April 21, 2006 9:26 AM To: ML SJ Devel (E-mail) Cc: ML SJ Users (E-mail) Subject: RE: [SourceJammer-devel] CommandCentral.getChecker() Excellent, Karan. Glad you figured this out on your own. I was just = about to dig in and help you out, but you beat me to it. --Rob --- "Gupta, Karan" <kar...@tr...> wrote: > I got it! > I updated the getChecker() method in CommandCentral.java with the = following code and rebuilt the > jars (the ant script is really slick, btw :-). > =20 > String strPath =3D new String(); > if (moCurrentTreeNode !=3D null) > { > strPath =3D moCurrentTreeNode.getPathAsString(); > } > else > { > System.out.println("moCurrentTreeNode is NULL."); > } > =20 > The moCurrentTreeNode variable was null and generating a = NullPointerException. > =20 > Cheers, > Karan > =20 > =20 >=20 > -----Original Message----- > From: sou...@li... > [mailto:sou...@li...]On Behalf Of = Gupta, Karan > Sent: Wednesday, April 19, 2006 5:00 PM > To: ML SJ Devel (E-mail) > Cc: ML SJ Users (E-mail) > Subject: [SourceJammer-devel] CommandCentral.getChecker() >=20 >=20 > 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); > } >=20 > 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 >=20 >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ SourceJammer-devel mailing list Sou...@li... https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel |