Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » OpenAjax Metadata Support in JSDT
OpenAjax Metadata Support in JSDT [message #518376] Wed, 03 March 2010 22:48 Go to next message
Rosa Tse is currently offline Rosa TseFriend
Messages: 2
Registered: March 2010
Junior Member
Hello,

Based on the presentation found on this link ( http://www.slideshare.net/ajaxexperience2009/adam-peller-int eroperable-ajax-tools-and-mashups), as well as digging through the JSDT code (inside the org.eclipse.wst.jsdt.internal.oaametadata package), I am convinced that OpenAjax Metadata is kind of supported in JSDT.

I am trying to figure out if I can use it to enable content assist of my own library. (Yes, I know that providing a JavaScript file is supposed to work. I could get it working partially, but as long as there is any namespace involved, things don't seem to work.)

I'd like to know if I can provide OAA metadata to make content assist work for my library. And I cannot find any information since documentation is pretty broken.

Any information on that would be much appreciated.

Thanks,
Rosa
Re: OpenAjax Metadata Support in JSDT [message #519756 is a reply to message #518376] Tue, 09 March 2010 20:47 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
Registered: July 2009
Senior Member

bunnyyappi@yahoo.com wrote:
> Based on the presentation found on this link
> ( http://www.slideshare.net/ajaxexperience2009/adam-peller-int eroperable-ajax-tools-and-mashups),
> as well as digging through the JSDT code (inside the
> org.eclipse.wst.jsdt.internal.oaametadata package), I am convinced that
> OpenAjax Metadata is kind of supported in JSDT.
>
> I am trying to figure out if I can use it to enable content assist of my
> own library. (Yes, I know that providing a JavaScript file is supposed
> to work. I could get it working partially, but as long as there is any
> namespace involved, things don't seem to work.)

That's an interesting finding that should be explored further.
Namespaces (packages?) are basically ignored in JSDT, as they don't
really exist in JS. There are bound to be a few quirks from JSDT's
heritage, however, in working with them, but these are areas we're
keen on fixing. If you can provide more detailed information in a
bug report, I'd like to pursue this further.

> I'd like to know if I can provide OAA metadata to make content assist
> work for my library. And I cannot find any information since
> documentation is pretty broken.
>
> Any information on that would be much appreciated.

You're not going to like this, but the answer for now is no. The
support you found was written to a two-year old draft version of the
spec, and hasn't received a lot of attention since then.

--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: OpenAjax Metadata Support in JSDT [message #520494 is a reply to message #519756] Fri, 12 March 2010 15:49 Go to previous message
Rosa Tse is currently offline Rosa TseFriend
Messages: 2
Registered: March 2010
Junior Member
Hi Nitin,

Thanks a lot for your reply.

I've logged a bug for the namespace issue.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=305694

We really need to namespace support. Please let us know if you need other info.

Thanks,
Rosa
Previous Topic:How to build an old version of WTP (2.0.2)?
Next Topic:Basic Installation Question
Goto Forum:
  


Current Time: Tue Mar 19 05:28:10 GMT 2024

Powered by FUDForum. Page generated in 0.02520 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top