Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Getting an EMF resource from an ArtifactEditModel, given an IFile and not a deploy location


> I can't speak to the WTP changes.

Well, we are all WTP.  :)
Sorry, mistyped.  I meant WST.
Which is partially why I was asking ... if you have some fix, I hope it's "pushed down" to the level it should be
at and not just worked around in your own Dali code.

And when you said "I copied some code from ProjectResourceSetImpl (getPlatformFile(Resource), getPlatformFile(URI)) that solves the resource-for-different-file problem."
That sounded like the work-around approach to me ... but, I admit, I have not been following the technical details here, so I may just be misreading what you are saying.
As far as I can tell, I'm pretty much just copying some API usage.  I didn't know what API to use; I found an example of some API to use in ProjectResourceSetImpl; I copied its usage.  Since we don't *know* we're using a ProjectResourceSetImpl (even though we are), and since the "API" there is private, I felt it was probably best to just use a similar API call as done there.

Paul Fullbright
Oracle Corp.
Eclipse Dali/Java Persistence Tools Development
paul.fullbright@xxxxxxxxxx


David Williams wrote:
> I can't speak to the WTP changes.

Well, we are all WTP.  :)

Which is partially why I was asking ... if you have some fix, I hope it's "pushed down" to the level it should be
at and not just worked around in your own Dali code.

And when you said "I copied some code from ProjectResourceSetImpl (getPlatformFile(Resource), getPlatformFile(URI)) that solves the resource-for-different-file problem."
That sounded like the work-around approach to me ... but, I admit, I have not been following the technical details here, so I may just be misreading what you are saying.


_______________________________________________ wtp-dev mailing list wtp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/wtp-dev

Back to the top