Re: [SourceJammer-users] New SourceJammer plugin
Brought to you by:
robertmacgrogan
From: Gupta, K. <kar...@tr...> - 2006-06-22 18:47:50
|
This bug has been fixed in the latest version (1.0.2). Its available for download at: http://www.karanmg.net/Computers/KSJEclipse/karan.eclipse.plugin.KSJEclip= se_1.0.2.jar=20 When Eclipse starts and it does not find the sourcejammer client, it = will prompt you to select the client directory. So even if your client = is in a non-standard location, the plugin will not fail, rather will = allow itself to be configured to use the specified location. -- Karan -----Original Message----- From: sou...@li... = [mailto:sou...@li...] On Behalf Of = Gupta, Karan Sent: Friday, June 09, 2006 10:36 AM To: sou...@li... Subject: Re: [SourceJammer-users] New SourceJammer plugin Yeah Riccardo, there is a preference, in the plugin to set the = sourcejammer client path. What you have discovered is a bug in the code :-) But I've made a note = of it, and will take care of it.=20 To get around this block what you can do, is just make the directory = structure: C:\SourceJammer\client and copy everythign inside = C:\softdev\jammerclient to it. Then when you start up eclipse, it should hopefully pick up the client = properties from this new directory. Then you can open the preferences = panel and change the location of the Sourcejammer client if you want to. HTHs, Karan=20 -----Original Message----- From: sou...@li... = [mailto:sou...@li...] On Behalf Of = Riccardo Cohen Sent: Friday, June 09, 2006 1:13 AM To: sou...@li... Subject: Re: [SourceJammer-users] New SourceJammer plugin All right, I thought I would find in the preference panel a button to = specify the directory if source jammer client. My client is not in c:\SourceJammer but in C:\softdev\jammerclient , is = it possible to tell the plugin where it is ? Gupta, Karan wrote: > Assuming you do have the SourceJammer client installed, the=20 > english.props files is in /YourSourceJammerDirectory/client/conf/ on = your machine. When the plugin starts it looks for this /conf/ directory. = That's because it needs to set certain defaults (because all preferences = and properties are not visible in the plugin yet), which it can simply = pick up from whatever you have set in the configuration for the client. >=20 > The default lookup path for conf/ is C:\SourceJammer\client\conf If=20 > the client is not in this location, then, as of this build, the plugin = will fail. >=20 > What is the SJ client location on your machine? >=20 > - Karan >=20 >=20 > -----Original Message----- > From: sou...@li... > [mailto:sou...@li...] On Behalf Of = > Riccardo Cohen > Sent: Thursday, June 08, 2006 12:13 PM > To: sou...@li... > Subject: Re: [SourceJammer-users] New SourceJammer plugin >=20 > yes there is a log : (see below). I did not see any english.props file = in the jar... >=20 > Root exception: > java.io.FileNotFoundException: english.props (Le fichier sp=E9cifi=E9 = est introuvable) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:106) > at org.sourcejammer.client.DisplayTextLibrary.<init>(Unknown Source) > at = org.sourcejammer.client.DisplayTextLibrary.initializeInstance(Unknown = Source) > at = org.sourcejammer.client.simpletools.SimpleInterface.setConfDirectory(Unkn= own Source) > at = org.sourcejammer.client.simpletools.SimpleInterface.setConfDirectory(Unkn= own Source) > at = karan.eclipse.plugin.ksjeclipse.KSJEclipsePlugin.start(KSJEclipsePlugin.j= ava:55) > at > = org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleCo= ntextImpl.java:994) > at java.security.AccessController.doPrivileged(Native Method) > at > = org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator= (BundleContextImpl.java:988) > at > = org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleCo= ntextImpl.java:969) > at = org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHos= t.java:316) > at = org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBun= dle.java:264) > at > = org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(Eclips= eClassLoader.java:116) > at > = org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(Bund= leLoader.java:337) > at = org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoa= der.java:389) > at = org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoa= der.java:350) > at > = org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(Abs= tractClassLoader.java:78) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at = org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoa= der.java:275) > at = org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.= java:227) > at > = org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abstrac= tBundle.java:1248) > at > = org.eclipse.core.internal.registry.ConfigurationElement.createExecutableE= xtension(ConfigurationElement.java:152) > at > = org.eclipse.core.internal.registry.ConfigurationElement.createExecutableE= xtension(ConfigurationElement.java:142) > at > = org.eclipse.core.internal.registry.ConfigurationElement.createExecutableE= xtension(ConfigurationElement.java:129) > at > = org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecu= tableExtension(ConfigurationElementHandle.java:48) > at = org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240) > at = org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) > at = org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.j= ava:236) > at > = org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(Workbe= nchPreferenceNode.java:46) > at = org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog= .java:1211) > at > = org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(Filte= redPreferenceDialog.java:238) > at = org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.j= ava:1114) > at > = org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(Filtere= dPreferenceDialog.java:351) > at > = org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(Preferen= ceDialog.java:638) > at = org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:76= 3) > at = org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.j= ava:1044) > at org.eclipse.core.runtime.Platform.run(Platform.java:783) > at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) > at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) > at > = org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(Struc= turedViewer.java:761) > at = org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredVie= wer.java:1042) > at = org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredVie= wer.java:1062) > at = org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.j= ava:231) > at = org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226) > at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392) > at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) > at = org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:1= 23) > at = org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3102) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2761) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:809) > at org.eclipse.jface.window.Window.open(Window.java:787) > at = org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.j= ava:66) > at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) > at > = org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Act= ionContributionItem.java:538) > at = org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributi= onItem.java:488) > at > = org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContr= ibutionItem.java:400) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) > at = org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) > at = org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) > at = org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:36= 7) > at = org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) > at = org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) > at = org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivat= or.java:226) > at = org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:3= 76) > at = org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:1= 63) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) > at org.eclipse.core.launcher.Main.basicRun(Main.java:278) > at org.eclipse.core.launcher.Main.run(Main.java:973) > at org.eclipse.core.launcher.Main.main(Main.java:948) >=20 >=20 > Gupta, Karan wrote: >> I have the same configuration as yours, and the plugin is working = fine. >> I have seen this error before and its always been because of = classpath problems. >> >> Are there errors in the Eclipse log? This log is found in=20 >> /pathToYourEclipseWorkspace/.metadata/ >> >> -----Original Message----- >> From: sou...@li... >> [mailto:sou...@li...] On Behalf=20 >> Of Riccardo Cohen >> Sent: Thursday, June 08, 2006 1:20 AM >> Cc: sou...@li... >> Subject: Re: [SourceJammer-users] New SourceJammer plugin >> >> OS =3D winXP SP2 >> Eclipse 3.1.2 >> Sun jdk 1.5.0_06 standard edition >> >> Content of the log : >> 06/08/06 10:17:31 INFO >> karan.eclipse.plugin.ksjeclipse.KSJEclipsePlugin.start - Activating=20 >> KSJEclipse Plugin >> >> Thanks >> >> Gupta, Karan wrote: >>> The plugin is using Log4j. >>> It is creating a log file at the default location of=20 >>> C:/EclipseWSs/runtime-EclipseApplication >>> The error must be in that log. >>> If you can email that to me I can take a look at it. >>> >>> Some info about your system will also help: OS, Eclipse version, = etc. >>> >>> - Karan >>> =20 >>> >>> -----Original Message----- >>> From: sou...@li... >>> [mailto:sou...@li...] On Behalf=20 >>> Of Riccardo Cohen >>> Sent: Wednesday, June 07, 2006 7:41 AM >>> To: sou...@li... >>> Subject: Re: [SourceJammer-users] New SourceJammer plugin >>> >>> Hi >>> Thanks a lot for this good help. >>> I installed it and there was a class loader exception (see image) I=20 >>> use sun jdk 1.5 >>> >>> Gupta, Karan wrote: >>>> Hi, >>>> =20 >>>> Until Rob has had the chance to review it, I'm making the new=20 >>>> source jammer plugin for Eclipse available for download at=20 >>>> http://www.karanmg.net/Computers/ >>>> =20 >>>> Instructions and help are on the site and in the plugin environment = >>>> in Eclipse. >>>> It can co-exist with the current SJ plugin available from the=20 >>>> sourcejammer website. >>>> =20 >>>> Thanks, >>>> Karan >>>> >>>> >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- >>>> >>>> _______________________________________________ >>>> SourceJammer-users mailing list >>>> Sou...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >>> -- >>> Tr=E8s cordialement, >>> >>> Riccardo Cohen >>> ligne directe : 02-47-49-63-24 >>> ------------------------------------------- >>> Articque >>> http://www.articque.com >>> Moulin des Roches >>> 37230 Fondettes - France >>> tel : 02-47-49-90-49 >>> fax : 02-47-49-91-49 >>> >>> >>> >>> _______________________________________________ >>> SourceJammer-users mailing list >>> Sou...@li... >>> https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >>> >> -- >> Tr=E8s cordialement, >> >> Riccardo Cohen >> ligne directe : 02-47-49-63-24 >> ------------------------------------------- >> Articque >> http://www.articque.com >> Moulin des Roches >> 37230 Fondettes - France >> tel : 02-47-49-90-49 >> fax : 02-47-49-91-49 >> >> >> _______________________________________________ >> SourceJammer-users mailing list >> Sou...@li... >> https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >> >> >> _______________________________________________ >> SourceJammer-users mailing list >> Sou...@li... >> https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >> >=20 > -- > Tr=E8s cordialement, >=20 > Riccardo Cohen > ligne directe : 02-47-49-63-24 > ------------------------------------------- > Articque > http://www.articque.com > Moulin des Roches > 37230 Fondettes - France > tel : 02-47-49-90-49 > fax : 02-47-49-91-49 >=20 >=20 > _______________________________________________ > SourceJammer-users mailing list > Sou...@li... > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >=20 >=20 > _______________________________________________ > SourceJammer-users mailing list > Sou...@li... > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >=20 -- Tr=E8s cordialement, Riccardo Cohen ligne directe : 02-47-49-63-24 ------------------------------------------- Articque http://www.articque.com Moulin des Roches 37230 Fondettes - France tel : 02-47-49-90-49 fax : 02-47-49-91-49 _______________________________________________ SourceJammer-users mailing list Sou...@li... https://lists.sourceforge.net/lists/listinfo/sourcejammer-users _______________________________________________ SourceJammer-users mailing list Sou...@li... https://lists.sourceforge.net/lists/listinfo/sourcejammer-users |