function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
A.V.A.V. 

Apex Toolkit for Eclipse

Is Apex Toolkit for Eclipse supposed to work with API 10.0?

I have Eclipse Toolkit version 8.0.2002 and I get an error when I attempt to use 10.0 API.

It works fine when I specify API version 9.0.  My problem, however, is that for summer 07 release orgs, I am unable to run unit tests within eclipse.

This is the error:

Code:
Failed to send request to https://tapp0-api.salesforce.com/services/Soap/s/9.0
  com.appexchange.plugin.actions.RunTests$1.run (RunTests.java 53)
  org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java 369)
  org.eclipse.jface.operation.ModalContext.run (ModalContext.java 313)
  org.eclipse.jface.dialogs.ProgressMonitorDialog.run (ProgressMonitorDialog.java 479)
  org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run (ProgressMonitorJobsDialog.java 265)
  org.eclipse.ui.internal.progress.ProgressManager.run (ProgressManager.java 1107)
  com.appexchange.plugin.actions.RunTests.run (RunTests.java 69)
  org.eclipse.ui.internal.PluginAction.runWithEvent (PluginAction.java 254)
  org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java 539)
  org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java 488)
  org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java 400)
  org.eclipse.swt.widgets.EventTable.sendEvent (EventTable.java 66)
  org.eclipse.swt.widgets.Widget.sendEvent (Widget.java 928)
  org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java 3348)
  org.eclipse.swt.widgets.Display.readAndDispatch (Display.java 2968)
  org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java 1930)
  org.eclipse.ui.internal.Workbench.runUI (Workbench.java 1894)
  org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java 422)
  org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java 149)
  org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java 95)
  org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java 78)
  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java 92)
  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java 68)
  org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java 400)
  org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java 177)
  sun.reflect.NativeMethodAccessorImpl.invoke0 (null -2)
  sun.reflect.NativeMethodAccessorImpl.invoke (null -1)
  sun.reflect.DelegatingMethodAccessorImpl.invoke (null -1)
  java.lang.reflect.Method.invoke (null -1)
  org.eclipse.core.launcher.Main.invokeFramework (Main.java 336)
  org.eclipse.core.launcher.Main.basicRun (Main.java 280)
  org.eclipse.core.launcher.Main.run (Main.java 977)
  org.eclipse.core.launcher.Main.main (Main.java 952)

 



Ron HessRon Hess
the toolkit does not support 10.0 API yet, as you discovered.
work is underway to update this toolkit.
adamgadamg
We are expecting to have an update for Eclipse available on 8/15 - stay tuned!
SuperfellSuperfell
In the mean time though, runTests should still work on the 9.0 endpoint, can you detail what's not working ?
A.V.A.V.
When I attempt to execute tests by clicking 'Apex' > 'Run Tests' from a context menu in Eclipse, I get the error message that I posted above... 

I am working with Summer 07 org (sandbox). 

P.S. I haven't tried invoking tests with an API call outside Eclipse...

-Andrey

Message Edited by A.V. on 07-30-2007 11:17 AM