I'll take a look at it.
Uli
Am 16.11.2006 um 05:28 schrieb Mike Schrag:
> I'll have to look at how the locate stuff works ..
> On Nov 15, 2006, at 11:23 PM, Chuck Hill wrote:
>
>> Feh! We use a preprocessor. So there are two Main.java files in
>> the project. One is on the source path. One is not. That seems
>> to be what is throwing it. If I remove the generated .java it can
>> open the .wo. That also explains why it opens Main.wod twice.
>>
>> Anyone have any ideas on how to get it to restrict its .java
>> search to files on the classpath?
>>
>> Chuck
>>
>>
>> On Nov 15, 2006, at 7:46 PM, Mike Schrag wrote:
>>
>>> I'm only the wod editor part, not the multipageditorpart :) This
>>> code is just calling setActivePage(0), which is failing. How
>>> many projects do you have open? Can you try closing all the
>>> projects that you can and try again? I'm wondering if it's
>>> finding something else named "Main" when it's hunting for
>>> your .wo's maybe? This is a bit of a shot in the dark.
>>>
>>> On Nov 15, 2006, at 7:34 PM, Chuck Hill wrote:
>>>
>>>> Not only Main, anything starting with Main.
>>>>
>>>> Mike, you messing with my head?
>>>>
>>>>
>>>> Chuck
>>>>
>>>> On Nov 15, 2006, at 4:22 PM, Chuck Hill wrote:
>>>>
>>>>> This is a bit odd. When I try to open a .wo using the
>>>>> WOComponent Editor, I am getting "Unable to create this part
>>>>> due to an internal error. Reason for the failure: assertion
>>>>> failed:
>>>>>
>>>>> at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
>>>>> at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95)
>>>>> at org.eclipse.ui.part.MultiPageEditorPart.setActivePage
>>>>> (MultiPageEditorPart.java:688)
>>>>> at org.eclipse.ui.part.MultiPageEditorPart.createPartControl
>>>>> (MultiPageEditorPart.java:280)
>>>>> at org.eclipse.ui.internal.EditorReference.createPartHelper
>>>>> (EditorReference.java:596)
>>>>> at org.eclipse.ui.internal.EditorReference.createPart
>>>>> (EditorReference.java:372)
>>>>> at org.eclipse.ui.internal.WorkbenchPartReference.getPart
>>>>> (WorkbenchPartReference.java:566)
>>>>> at org.eclipse.ui.internal.EditorReference.getEditor
>>>>> (EditorReference.java:214)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
>>>>> (WorkbenchPage.java:2595)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
>>>>> (WorkbenchPage.java:2528)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.access$10
>>>>> (WorkbenchPage.java:2520)
>>>>> at org.eclipse.ui.internal.WorkbenchPage$9.run
>>>>> (WorkbenchPage.java:2505)
>>>>> at org.eclipse.swt.custom.BusyIndicator.showWhile
>>>>> (BusyIndicator.java:67)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.openEditor
>>>>> (WorkbenchPage.java:2500)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.openEditor
>>>>> (WorkbenchPage.java:2485)
>>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
>>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
>>>>>
>>>>> This is very close to this bug reported trying to open a .java
>>>>> file with this editor (which I am NOT doing, the .java opens
>>>>> just fine in its own editor),
>>>>> http://objectstyle.org/jira/browse/WOL-236
>>>>>
>>>>> I have another project (a framework, not an application if that
>>>>> matters) open in the same workspace. I can open components in
>>>>> that just fine. I can create a new component in the project
>>>>> that produces the failure above, and it opens fine.
>>>>>
>>>>> It seems that I can create and open any component except one
>>>>> named Main in an application. That always causes the exception
>>>>> above.
>>>>>
>>>>> Am I smoking crack?
>>>>>
>>>>>
>>>>> Chuck
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Practical WebObjects - for developers who want to increase
>>>>> their overall knowledge of WebObjects or who are trying to
>>>>> solve specific problems.
>>>>> http://www.global-village.net/products/practical_webobjects
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>> Practical WebObjects - for developers who want to increase their
>>>> overall knowledge of WebObjects or who are trying to solve
>>>> specific problems.
>>>> http://www.global-village.net/products/practical_webobjects
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>>
>> Practical WebObjects - for developers who want to increase their
>> overall knowledge of WebObjects or who are trying to solve
>> specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Thu Nov 16 2006 - 03:18:29 EST