Hi Rob, I'm working on the SJ plugin. By the time the next version of Eclipse comes out, SourceJammer should be ready for it. Will let you know as soon as I have a decent update.
And yes, the API has changed apparently. When I ported the SJ plugin code into Eclipse 3.2 M3, I'm getting a lot of deprecated class notifications. Happy Holidays! - Karan -----Original Message----- From: Robert MacGrogan [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005 7:33 PM To: Gupta, Karan; SourceJammer Users Subject: RE: SJ Eclipse plugin Hi agaih. I couldn't be happier to have you fix and or enhance (dare I hope?) the SJ Eclipse plugin. I don't know what would cause InvocationTargetException. A full stacktrace would be helpful, if it would be possible to get that somehow. I have not tested the plugin under 3.1.1, but I'm running it under 3.1.0 with no problems. Would they really change the plugin API in a x.x.1 release is such a way as to break plugins? Maybe. I don't really have time right now to dig into this, but I'd love to have you see if you can fix it. Any other enhancements you'd like to make would be welcome. I'd be happy to give you access to the archive and to set you up as an admin on the sjextensions project if you want to do releases. I looked at the code and I don't think that the "/" relative path should be a problem after all. It would be nice if I had set up the plugin to use log4j or something to make debugging easier. Live and learn. One thing you could try is to run the plugin project in Ecliplse in debug mode to see if that helps you narrow down the source of the problem. Keep me posted and let me know how I can help. --Rob PS: You might want to subscribe to either the users or devel lists so you can post your messages there. --- "Gupta, Karan" <[EMAIL PROTECTED]> wrote: > Hi Rob, > > I just spoke to my boss about the plugin you've built and he's expressed an > interest in > making a contribution to your project. So I guess thats good news isn't it?? > He knows how much > we would benefit from this plugin :-) > > Well, I've been working on the code and I don't understand the reason for the > InvocationException. > Is this a bug? Or is it because I'm using Eclipse 3.1.1? > Any ideas? > I sent you another email just before this explaining what I was able to > discover. > We really need this thing to working, coz we cannot change our directory > structure. > Plus fixing this would only make the plugin mor flexible. > If I'm able to do it, I'll send you whatever changes I've made so that they > can be put in. > But as of now, I think I'll not be able to proceed on this (within time and > reason) without your > help. > Any help from you would be really great. > > Thanks a lot, > Karan > > > -----Original Message----- > From: Robert MacGrogan [mailto:[EMAIL PROTECTED] > Sent: Monday, December 05, 2005 2:37 PM > To: Gupta, Karan; SourceJammer Users > Subject: Re: SJ Eclipse plugin > > > Hi, Karan. > > So the root of your SJ archive is also the root of your Eclipse project? In > that case, "/" seems > logical, but this is not something I tested, so I'm not sure it will work. > > Would it be possible for you to move all of your SJ files to a new top level > folder? Something > like dev or project or anything really. You could do this just for testing > purposes to at least > verify what the problem is. > > Then you'd set up the relative path to be "/dev/" > > As for compiling, there should be a build.properties and build.xml in the SJ > eclipse source tree > here: > > http://dev.sourcejammer.org/BrowseArchive?Command=open_archive&archive_name=SourceJammer > > You need to browse down into extensions/sjeclipse. > > --Rob > > > > --- "Gupta, Karan" <[EMAIL PROTECTED]> wrote: > > > Hi Rob, > > > > Sorry I am sending this to your personal email account. > > But this issue has me totally dumbfounded (now we know where that word can > > be used :-). > > And I didn't know where to turn to for help. > > I've been going thru the sourcecode, and seems like I'm the first guy to > > post something about > > the plugin in the forums. > > > > Anyway, so I downloaded the SJ Eclipse plugin (great idea, btw) and am > > trying to get it to > work > > for my archive and project. > > Here's the scenario: > > > > Eclipse project layout: > > I'm using Eclipse 3.1.1. > > C:\EclipseWSs\the_workspace > > C:\EclipseWSs\the_workspace\the_project > > C:\EclipseWSs\the_workspace\the_project\src > > C:\EclipseWSs\the_workspace\the_project\properties > > C:\EclipseWSs\the_workspace\the_project\docs > > C:\EclipseWSs\the_workspace\the_project\DB > > C:\EclipseWSs\the_workspace\the_project\libCompile > > C:\EclipseWSs\the_workspace\the_project\libRuntime > > ....... > > and so on.. > > > > Now my archive completely follows the tree I have in eclipse. > > That means, ALL the directories and files under directory "the_project" are > > in my archive (not > > just src or docs etc). > > > > Archive setup: > > Archive name: the_project > > - the_project > > --- src > > --- properties > > --- docs > > --- DB > > --- libCompile > > --- libRuntime > > ... and so on... > > > > I have set the SJ Eclipse properties in Project Properties: > > Server URL: http://fmms-internal1:8090/sourcejammer/servlet/rpcrouter > > Archive name: the_project > > Relative Path: this is where the problem is. > > I have tried everythign I could think of: "/", "/../", "/docs/../", > > "the_project/", > > "/the_project", "/the_project/", "/ etc...but nothing seems to work. > > I looked through the source code and found this guy: > > private static String buildSJPathFromIPath(IPath path, > > SJEclipseProjectProperties props){ > > //Build the full SJ path. > > StringBuffer str = new StringBuffer(); > > str.append(props.getRelativePath()); > > str.append(path.toString()); > > String sjPath = str.toString(); > > System.out.println(sjPath); > > return sjPath; > > } > > > > "The Relative Path setting must be the path in your SourceJammer archive to > > the SJ folder that > > corresponds to the root of your Eclipse directory. > > This path must begin and end with a forward slash (/) character." > > In my SJ tree the SJ folder which is the root of my Eclipse directory is / > > (isn't it??). > > I am unable to use the plugin, bcoz I keep getting either Exceptions or > > errors: > > java.lang.reflect.InvocationTargetException > > or > > Error: This project does not contain a child with the name: the_project. > > Error: This project > > does not contain a child with the name: the_project. > > > > Also, how can I compile just the plugin? > > > > Please help me out, if u have some time. > > > > Thank you, > > Karan Gupta > > Software Engineer > > TransCore, San Diego > > (858) 826 - 2139 > > > > > > > > > __________________________________________ > Yahoo! DSL - Something to write home about. > Just $16.99/mo. or less. > dsl.yahoo.com > > __________________________________________ Yahoo! DSL - Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ SourceJammer-users mailing list SourceJammer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sourcejammer-users