| M7: org.eclipse.core.resources.IFile not found by runtime workbench [message #195406] | 
Mon, 16 February 2004 12:17   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: mauricio.almaden.ibm.com 
 
Folks, 
 
I am having this problem after moving some plugin from M6 to M7.  The 
runtime workbench cannot resolve org.eclipse.core.resources.IFile and I am 
wondering if I am missing something.  Here is the .log entry for the runtime 
workbench and the piece of code that produces the exception.  I am running 
on a PC with Win2K and IBM's JRE 1.4.1.  The plugins compile fine and used 
to run fine in M6. 
 
!ENTRY org.eclipse.ui 4 4 Feb 15, 2004 22:38:12.927 
!MESSAGE Unhandled event loop exception 
!ENTRY org.eclipse.ui 4 0 Feb 15, 2004 22:38:12.937 
!MESSAGE org/eclipse/core/resources/IFile 
!STACK 0 
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IFile 
 at TestPlugin.popup.actions.TestAction.run(TestAction.java:45) 
 at  org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:273) 
 at 
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action 
ContributionItem.java:536) 
 at 
 org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI 
tem.java:488) 
 at 
 org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu 
tionItem.java:420) 
 at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled 
Code)) 
 at  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled 
Code)) 
 at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled 
Code)) 
 at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled 
Code)) 
 at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled 
Code)) 
 at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) 
 at 
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265) 
 at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139) 
 at  org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47) 
 at 
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator. 
java:257) 
 at 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104) 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:79 
) 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl 
..java:41) 
 at java.lang.reflect.Method.invoke(Method.java:386) 
 at org.eclipse.core.launcher.Main.basicRun(Main.java:279) 
 at org.eclipse.core.launcher.Main.run(Main.java:742) 
 at org.eclipse.core.launcher.Main.main(Main.java:581) 
 
I was able to reduce the problem to a simple program.  I created a test 
plugin that uses a pop-up menu.  Then, in the action handler for the popup 
menu, I do this: 
 
 /** 
  * @see IActionDelegate#run(IAction) 
  */ 
 public void run(IAction action) { 
  Shell shell = new Shell(); 
  MessageDialog.openInformation( 
   shell, 
   "TestPlugin Plug-in", 
   "Test Action was executed."); 
 
  System.out.println("currentSelection = " + currentSelection);  // 
currentSelection was setup by selectionChanged(). 
 
  StructuredSelection selection = (StructuredSelection) currentSelection; 
  Object firstElm = selection.getFirstElement(); 
  System.out.println("firstElm class=" + firstElm.getClass() + ", firstElm=" 
+ firstElm); 
 
  IFile file = (IFile) firstElm;        // runtime workbench fails here.  It 
cannot resolve org.eclipse.core.resources.IFile. 
 
  System.out.println("Done."); 
 } 
 
Here is the console output: 
 
currentSelection = [L/XSML Test/XSML/test_xsml_1.2.xml] 
firstElm class=class org.eclipse.core.internal.resources.File, 
firstElm=L/XSML Test/XSML/test_xsml_1.2.xml 
Unhandled event loop exception 
Reason: 
org/eclipse/core/resources/IFile 
 
Any ideas on what to do? 
 
Thanks, 
Mauricio
 |  
 |  
  | 
| Re: M7: org.eclipse.core.resources.IFile not found by runtime workbench [message #195553 is a reply to message #195406] | 
Mon, 16 February 2004 16:11    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: John_Arthorne.oti.com_ 
 
Can you post the plugin.xml from your example plugin (or at least the  
"requires" section)? 
-- 
 
Mauricio A. Hernandez wrote: 
> Folks, 
>  
> I am having this problem after moving some plugin from M6 to M7.  The 
> runtime workbench cannot resolve org.eclipse.core.resources.IFile and I am 
> wondering if I am missing something.  Here is the .log entry for the runtime 
> workbench and the piece of code that produces the exception.  I am running 
> on a PC with Win2K and IBM's JRE 1.4.1.  The plugins compile fine and used 
> to run fine in M6. 
>  
> !ENTRY org.eclipse.ui 4 4 Feb 15, 2004 22:38:12.927 
> !MESSAGE Unhandled event loop exception 
> !ENTRY org.eclipse.ui 4 0 Feb 15, 2004 22:38:12.937 
> !MESSAGE org/eclipse/core/resources/IFile 
> !STACK 0 
> java.lang.NoClassDefFoundError: org/eclipse/core/resources/IFile 
>  at TestPlugin.popup.actions.TestAction.run(TestAction.java:45) 
>  at  org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:273) 
>  at 
>  org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action 
> ContributionItem.java:536) 
>  at 
>  org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI 
> tem.java:488) 
>  at 
>  org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu 
> tionItem.java:420) 
>  at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled 
> Code)) 
>  at  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled 
> Code)) 
>  at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled 
> Code)) 
>  at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled 
> Code)) 
>  at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled 
> Code)) 
>  at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) 
>  at 
>  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265) 
>  at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139) 
>  at  org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47) 
>  at 
>  org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator. 
> java:257) 
>  at 
>  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104) 
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>  at 
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:79 
> ) 
>  at 
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl 
> .java:41) 
>  at java.lang.reflect.Method.invoke(Method.java:386) 
>  at org.eclipse.core.launcher.Main.basicRun(Main.java:279) 
>  at org.eclipse.core.launcher.Main.run(Main.java:742) 
>  at org.eclipse.core.launcher.Main.main(Main.java:581) 
>  
> I was able to reduce the problem to a simple program.  I created a test 
> plugin that uses a pop-up menu.  Then, in the action handler for the popup 
> menu, I do this: 
>  
>  /** 
>   * @see IActionDelegate#run(IAction) 
>   */ 
>  public void run(IAction action) { 
>   Shell shell = new Shell(); 
>   MessageDialog.openInformation( 
>    shell, 
>    "TestPlugin Plug-in", 
>    "Test Action was executed."); 
>  
>   System.out.println("currentSelection = " + currentSelection);  // 
> currentSelection was setup by selectionChanged(). 
>  
>   StructuredSelection selection = (StructuredSelection) currentSelection; 
>   Object firstElm = selection.getFirstElement(); 
>   System.out.println("firstElm class=" + firstElm.getClass() + ", firstElm=" 
> + firstElm); 
>  
>   IFile file = (IFile) firstElm;        // runtime workbench fails here.  It 
> cannot resolve org.eclipse.core.resources.IFile. 
>  
>   System.out.println("Done."); 
>  } 
>  
> Here is the console output: 
>  
> currentSelection = [L/XSML Test/XSML/test_xsml_1.2.xml] 
> firstElm class=class org.eclipse.core.internal.resources.File, 
> firstElm=L/XSML Test/XSML/test_xsml_1.2.xml 
> Unhandled event loop exception 
> Reason: 
> org/eclipse/core/resources/IFile 
>  
> Any ideas on what to do? 
>  
> Thanks, 
> Mauricio 
>  
>
 |  
 |  
  | 
| Re: M7: org.eclipse.core.resources.IFile not found by runtime workbench [message #195734 is a reply to message #195553] | 
Mon, 16 February 2004 19:25    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: mauricio.almaden.ibm.com 
 
John, 
 
Here is the plugin.xml file: 
 
<?xml version="1.0" encoding="UTF-8"?> 
<?eclipse version="3.0"?> 
<plugin 
   id="TestPlugin" 
   name="TestPlugin Plug-in" 
   version="1.0.0" 
   provider-name="" 
   class="TestPlugin.TestPluginPlugin"> 
 
   <runtime> 
      <library name="TestPlugin.jar"> 
         <export name="*"/> 
      </library> 
   </runtime> 
   <requires> 
      <import plugin="org.eclipse.ui"/> 
      <import plugin="org.eclipse.core.runtime"/> 
      <import plugin="org.eclipse.core.resources"/> 
   </requires> 
 
 
   <extension 
         point="org.eclipse.ui.popupMenus"> 
      <objectContribution 
            objectClass="org.eclipse.core.resources.IFile" 
            nameFilter="*.xml" 
            id="TestPlugin.contribution1"> 
         <menu 
               label="New Submenu" 
               path="additions" 
               id="TestPlugin.menu1"> 
            <separator 
                  name="group1"> 
            </separator> 
         </menu> 
         <action 
               label="Test Action" 
               class="TestPlugin.popup.actions.TestAction" 
               menubarPath="TestPlugin.menu1/group1" 
               enablesFor="1" 
               id="TestPlugin.newAction"> 
         </action> 
      </objectContribution> 
   </extension> 
 
</plugin> 
 
Mauricio 
 
"John Arthorne" <John_Arthorne@oti.com_> wrote in message 
news:403131F4.8010603@oti.com_... 
> Can you post the plugin.xml from your example plugin (or at least the 
> "requires" section)? 
> -- 
> 
> Mauricio A. Hernandez wrote: 
> > Folks, 
> > 
> > I am having this problem after moving some plugin from M6 to M7.  The 
> > runtime workbench cannot resolve org.eclipse.core.resources.IFile and I 
am 
> > wondering if I am missing something.  Here is the .log entry for the 
runtime 
> > workbench and the piece of code that produces the exception.  I am 
running 
> > on a PC with Win2K and IBM's JRE 1.4.1.  The plugins compile fine and 
used 
> > to run fine in M6. 
> > 
> > !ENTRY org.eclipse.ui 4 4 Feb 15, 2004 22:38:12.927 
> > !MESSAGE Unhandled event loop exception 
> > !ENTRY org.eclipse.ui 4 0 Feb 15, 2004 22:38:12.937 
> > !MESSAGE org/eclipse/core/resources/IFile 
> > !STACK 0 
> > java.lang.NoClassDefFoundError: org/eclipse/core/resources/IFile 
> >  at TestPlugin.popup.actions.TestAction.run(TestAction.java:45) 
> >  at 
 org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:273) 
> >  at 
> > 
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action 
> > ContributionItem.java:536) 
> >  at 
> > 
 org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI 
> > tem.java:488) 
> >  at 
> > 
 org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu 
> > tionItem.java:420) 
> >  at 
 org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled 
> > Code)) 
> >  at  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined 
Compiled 
> > Code)) 
> >  at 
 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled 
> > Code)) 
> >  at 
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled 
> > Code)) 
> >  at 
 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled 
> > Code)) 
> >  at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) 
> >  at 
> > 
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265) 
> >  at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139) 
> >  at 
 org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47) 
> >  at 
> > 
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator. 
> > java:257) 
> >  at 
> > 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104) 
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> >  at 
> > 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:79 
> > ) 
> >  at 
> > 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl 
> > .java:41) 
> >  at java.lang.reflect.Method.invoke(Method.java:386) 
> >  at org.eclipse.core.launcher.Main.basicRun(Main.java:279) 
> >  at org.eclipse.core.launcher.Main.run(Main.java:742) 
> >  at org.eclipse.core.launcher.Main.main(Main.java:581) 
> > 
> > I was able to reduce the problem to a simple program.  I created a test 
> > plugin that uses a pop-up menu.  Then, in the action handler for the 
popup 
> > menu, I do this: 
> > 
> >  /** 
> >   * @see IActionDelegate#run(IAction) 
> >   */ 
> >  public void run(IAction action) { 
> >   Shell shell = new Shell(); 
> >   MessageDialog.openInformation( 
> >    shell, 
> >    "TestPlugin Plug-in", 
> >    "Test Action was executed."); 
> > 
> >   System.out.println("currentSelection = " + currentSelection);  // 
> > currentSelection was setup by selectionChanged(). 
> > 
> >   StructuredSelection selection = (StructuredSelection) 
currentSelection; 
> >   Object firstElm = selection.getFirstElement(); 
> >   System.out.println("firstElm class=" + firstElm.getClass() + ", 
firstElm=" 
> > + firstElm); 
> > 
> >   IFile file = (IFile) firstElm;        // runtime workbench fails here. 
It 
> > cannot resolve org.eclipse.core.resources.IFile. 
> > 
> >   System.out.println("Done."); 
> >  } 
> > 
> > Here is the console output: 
> > 
> > currentSelection = [L/XSML Test/XSML/test_xsml_1.2.xml] 
> > firstElm class=class org.eclipse.core.internal.resources.File, 
> > firstElm=L/XSML Test/XSML/test_xsml_1.2.xml 
> > Unhandled event loop exception 
> > Reason: 
> > org/eclipse/core/resources/IFile 
> > 
> > Any ideas on what to do? 
> > 
> > Thanks, 
> > Mauricio 
> > 
> > 
>
 |  
 |  
  | 
| Re: M7: org.eclipse.core.resources.IFile not found by runtime workbench [message #196604 is a reply to message #195734] | 
Tue, 17 February 2004 17:44   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: John_Arthorne.oti.com_ 
 
That looks fine... I can't think offhand of what would be causing this.  
  How is your runtime workbench set up?  Are the required projects  
loaded in the workspace as source or binary projects, or are they  
external?  Make sure your launch configuration is using all M7 plug-ins  
and not a mix of M6 and M7 plugins. 
-- 
 
Mauricio A. Hernandez wrote: 
> John, 
>  
> Here is the plugin.xml file: 
>  
> <?xml version="1.0" encoding="UTF-8"?> 
> <?eclipse version="3.0"?> 
> <plugin 
>    id="TestPlugin" 
>    name="TestPlugin Plug-in" 
>    version="1.0.0" 
>    provider-name="" 
>    class="TestPlugin.TestPluginPlugin"> 
>  
>    <runtime> 
>       <library name="TestPlugin.jar"> 
>          <export name="*"/> 
>       </library> 
>    </runtime> 
>    <requires> 
>       <import plugin="org.eclipse.ui"/> 
>       <import plugin="org.eclipse.core.runtime"/> 
>       <import plugin="org.eclipse.core.resources"/> 
>    </requires> 
>  
>  
>    <extension 
>          point="org.eclipse.ui.popupMenus"> 
>       <objectContribution 
>             objectClass="org.eclipse.core.resources.IFile" 
>             nameFilter="*.xml" 
>             id="TestPlugin.contribution1"> 
>          <menu 
>                label="New Submenu" 
>                path="additions" 
>                id="TestPlugin.menu1"> 
>             <separator 
>                   name="group1"> 
>             </separator> 
>          </menu> 
>          <action 
>                label="Test Action" 
>                class="TestPlugin.popup.actions.TestAction" 
>                menubarPath="TestPlugin.menu1/group1" 
>                enablesFor="1" 
>                id="TestPlugin.newAction"> 
>          </action> 
>       </objectContribution> 
>    </extension> 
>  
> </plugin> 
>  
> Mauricio 
>  
> "John Arthorne" <John_Arthorne@oti.com_> wrote in message 
> news:403131F4.8010603@oti.com_... 
>  
>>Can you post the plugin.xml from your example plugin (or at least the 
>>"requires" section)? 
>>-- 
>> 
>>Mauricio A. Hernandez wrote: 
>> 
>>>Folks, 
>>> 
>>>I am having this problem after moving some plugin from M6 to M7.  The 
>>>runtime workbench cannot resolve org.eclipse.core.resources.IFile and I 
>> 
> am 
>  
>>>wondering if I am missing something.  Here is the .log entry for the 
>> 
> runtime 
>  
>>>workbench and the piece of code that produces the exception.  I am 
>> 
> running 
>  
>>>on a PC with Win2K and IBM's JRE 1.4.1.  The plugins compile fine and 
>> 
> used 
>  
>>>to run fine in M6. 
>>> 
>>>!ENTRY org.eclipse.ui 4 4 Feb 15, 2004 22:38:12.927 
>>>!MESSAGE Unhandled event loop exception 
>>>!ENTRY org.eclipse.ui 4 0 Feb 15, 2004 22:38:12.937 
>>>!MESSAGE org/eclipse/core/resources/IFile 
>>>!STACK 0 
>>>java.lang.NoClassDefFoundError: org/eclipse/core/resources/IFile 
>>> at TestPlugin.popup.actions.TestAction.run(TestAction.java:45) 
>>> at 
>> 
>  org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:273) 
>  
>>> at 
>>> 
>> 
>  org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action 
>  
>>>ContributionItem.java:536) 
>>> at 
>>> 
>> 
>  org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI 
>  
>>>tem.java:488) 
>>> at 
>>> 
>> 
>  org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu 
>  
>>>tionItem.java:420) 
>>> at 
>> 
>  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled 
>  
>>>Code)) 
>>> at  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined 
>> 
> Compiled 
>  
>>>Code)) 
>>> at 
>> 
>  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled 
>  
>>>Code)) 
>>> at 
>> 
>  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled 
>  
>>>Code)) 
>>> at 
>> 
>  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled 
>  
>>>Code)) 
>>> at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) 
>>> at 
>>> 
>> 
>  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265) 
>  
>>> at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139) 
>>> at 
>> 
>  org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47) 
>  
>>> at 
>>> 
>> 
>  org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator. 
>  
>>>java:257) 
>>> at 
>>> 
>> 
>  org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104) 
>  
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>>> at 
>>> 
>> 
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:79 
>  
>>>) 
>>> at 
>>> 
>> 
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl 
>  
>>>.java:41) 
>>> at java.lang.reflect.Method.invoke(Method.java:386) 
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:279) 
>>> at org.eclipse.core.launcher.Main.run(Main.java:742) 
>>> at org.eclipse.core.launcher.Main.main(Main.java:581) 
>>> 
>>>I was able to reduce the problem to a simple program.  I created a test 
>>>plugin that uses a pop-up menu.  Then, in the action handler for the 
>> 
> popup 
>  
>>>menu, I do this: 
>>> 
>>> /** 
>>>  * @see IActionDelegate#run(IAction) 
>>>  */ 
>>> public void run(IAction action) { 
>>>  Shell shell = new Shell(); 
>>>  MessageDialog.openInformation( 
>>>   shell, 
>>>   "TestPlugin Plug-in", 
>>>   "Test Action was executed."); 
>>> 
>>>  System.out.println("currentSelection = " + currentSelection);  // 
>>>currentSelection was setup by selectionChanged(). 
>>> 
>>>  StructuredSelection selection = (StructuredSelection) 
>> 
> currentSelection; 
>  
>>>  Object firstElm = selection.getFirstElement(); 
>>>  System.out.println("firstElm class=" + firstElm.getClass() + ", 
>> 
> firstElm=" 
>  
>>>+ firstElm); 
>>> 
>>>  IFile file = (IFile) firstElm;        // runtime workbench fails here. 
>> 
> It 
>  
>>>cannot resolve org.eclipse.core.resources.IFile. 
>>> 
>>>  System.out.println("Done."); 
>>> } 
>>> 
>>>Here is the console output: 
>>> 
>>>currentSelection = [L/XSML Test/XSML/test_xsml_1.2.xml] 
>>>firstElm class=class org.eclipse.core.internal.resources.File, 
>>>firstElm=L/XSML Test/XSML/test_xsml_1.2.xml 
>>>Unhandled event loop exception 
>>>Reason: 
>>>org/eclipse/core/resources/IFile 
>>> 
>>>Any ideas on what to do? 
>>> 
>>>Thanks, 
>>>Mauricio 
>>> 
>>> 
>> 
>  
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04799 seconds