This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111596 - There is no open API for GSF.
Summary: There is no open API for GSF.
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 11:10 UTC by Oleg Barbashov
Modified: 2016-03-17 09:31 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Barbashov 2007-08-01 11:10:13 UTC
There is no open API for GSF. Only Ruby's packages in friends.
Comment 1 Petr Jiricka 2007-08-02 11:37:26 UTC
Assigning to Tor and changing to enhancement.
Comment 2 Torbjorn Norbye 2007-08-02 18:38:09 UTC
Correct. GSF is _not_ a public API because it needs more work first and there aren't enough resources or time to do that for 6.0. That's why the code lives in 
the Ruby cluster and is treated as a friend API. Anybody using it needs to know these restrictions, and understand that there are no guarantees things will be 
fixed in 6.0.

The approach I've taken is to work on getting really good language support for one language first and learn from that what the APIs will need. For example, 
the "write model" required to support refactoring is still evolving as I'm discovering what I will need.  Of course, having additional people look at the API and 
offer suggestions (and contribute fixes!) will accelerate this and make it usable for more purposes. But producing an API will take a lot of work, especially one 
we can feel comfortable supporting in the future (and especially because the GSF approach involves a pretty large API), so this is unlikely to happen for 6.0.
Comment 3 Oleg Barbashov 2007-08-06 15:28:04 UTC
Please, would you add "org.netbeans.modules.javafx.dataloader" into friends packages of GSF module for JavaFX support?
Comment 4 Torbjorn Norbye 2007-08-07 07:50:40 UTC
Yes, I've added your module to the friend list.

Comment 5 Oleg Barbashov 2007-08-07 11:06:40 UTC
Thank you.
Comment 6 Oleg Barbashov 2007-08-09 12:08:35 UTC
We need an advise, how to use GSF on current stage? Now there is only Common Scripting Language Tools plugin available
on Update Center with no public interface, so even be registered as friend module we can't use GSF API's to build our
module.
Comment 7 Torbjorn Norbye 2007-08-09 17:06:00 UTC
I'm not sure I understand - all of the GSF stuff is on the update center, unless of course it's already installed. Note however that it will be in the Ruby cluster.
Comment 8 Oleg Barbashov 2007-08-13 17:34:15 UTC
Currently (builds 0808-0813, update center
http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz) it is not
possible to install Ruby/GSF plugins correctly, so we can not add GSF libraries into dependecies of our own module to
compile it.
(After restarting of IDE we get message box:
"Warning - could not install some modules:
Ruby Experimental Hints - The module named org.jruby/1 was needed and not found.
Ruby Experimental Hints - The module named org.netbeans.api.gsf/1 was needed and not found.
Ruby Experimental Hints - The module named org.netbeans.modules.ruby/1 was needed and not found.
Ruby Experimental Hints - The module named org.netbeans.modules.ruby.hints/1 was needed and not found.
Common Scripting Language Development Tools - The module named org.netbeans.api.gsf/1 was needed and not found.
Common Scripting Language Development Tools - The module named org.netbeans.api.gsfpath/1 was needed and not found.
Common Scripting Language Development Tools - The module named org.netbeans.modules.gsf/1 was needed and not found.")

We can manually copy GSF's jars into appropriate directory, but it is not appropriate sollution for mean user.
Comment 9 David Strupl 2009-01-14 14:37:04 UTC
Moving from ruby/GSF to editor/CSL. Step one: assign to myself ;-)
Comment 10 David Strupl 2009-01-14 14:46:33 UTC
Step 2: trying to make the owner not myself but the owner of the subcomponent.