FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Monkeybars and Netbeans

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Logan Barnett
Posted via mailing list.





PostPosted: Wed Jun 17, 2009 1:40 am    Post subject: Monkeybars and Netbeans Reply with quote

Netbeans team,
I've been maintaing the Monkeybars gem, a library for GUI development
on JRuby using Swing. We've strongly encouraged Netbeans as the IDE of
choice to get the neat GUI builder that comes with it. We had to set
up our projects as Java projects in order to get things to work. We've
always thought it best that we made these as Ruby projects, but we've
been pretty happy that we could get it to work. I've been tracking 6.7
RC1 and 2 and I've noticed that we have a lot more JRuby awareness in
Netbeans. This is great!

Unfortunately, you can't add new JFrames and friends to your Ruby
project. I haven't tried editing existing Swing components from a
different project yet. To make things really hurt for us - the Java
projects no longer automatically copy over data files (which includes
Ruby scripts) into the temporary dist directory. This means we have to
manually build for every change we make to re-run the app.

It would be great if we could go forward to 6.7 with using Ruby
projects, but I'll take what I can get. Is there anything we can do to
ensure Monkeybars and Netbeans are compatible come 6.7?

Thanks for your time.

Logan Barnett
address-removed
http://www.logustus.com
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Wed Jun 17, 2009 11:29 am    Post subject: Monkeybars and Netbeans Reply with quote

Hi Logan,

Let me say first that Monkeybars is a pretty cool project, I'm happy
that you guys have settled on NetBeans.

Logan Barnett wrote:
Quote:
Netbeans team,
I've been maintaing the Monkeybars gem, a library for GUI development
on JRuby using Swing. We've strongly encouraged Netbeans as the IDE of
choice to get the neat GUI builder that comes with it. We had to set
up our projects as Java projects in order to get things to work. We've
always thought it best that we made these as Ruby projects, but we've
been pretty happy that we could get it to work. I've been tracking 6.7
RC1 and 2 and I've noticed that we have a lot more JRuby awareness in
Netbeans. This is great!

Unfortunately, you can't add new JFrames and friends to your Ruby project.

Yes, this is indeed unfortunate. Java integration in Ruby projects (and
vice versa) is still pretty basic; certainly an area that could use
improvements. For 6.7 it is too late to do any new
features/enhancements, but better Java integration is one thing that
I've been considering for 6.8. That would include things like being able
to add new JFrames to a Ruby project. Unfortunately doing it properly is
quite a big chunk of work and, as always, there are a bunch of other
things that would need to be addressed in 6.8 as well. So can't promise
anything at this point :/


Quote:
I haven't tried editing existing Swing components from a different
project yet. To make things really hurt for us - the Java projects no
longer automatically copy over data files (which includes Ruby
scripts) into the temporary dist directory. This means we have to
manually build for every change we make to re-run the app.

Do you mean when using the Run action with Compile on Save enabled? Did
6.5 really copy also data files to the build dir in this case (AFAIK it
shouldn't have)? Or do you mean something else?

Thanks,
Erno


Quote:

It would be great if we could go forward to 6.7 with using Ruby
projects, but I'll take what I can get. Is there anything we can do to
ensure Monkeybars and Netbeans are compatible come 6.7?

Thanks for your time.

Logan Barnett
address-removed
http://www.logustus.com






Back to top
Logan Barnett
Posted via mailing list.





PostPosted: Wed Jun 24, 2009 9:45 pm    Post subject: Monkeybars and Netbeans Reply with quote

Erno,
Thanks for your quick reply! Apologies for not returning it, sometimes
work can be a bit taxing.
I've tried this feature again in 6.7RC3 and it doesn't seem to affect
me anymore. I'll have to create a new project just to be sure, but it
looks like things are ok - even though compile on save is unchecked
(default). We'll continue to use Java projects for now.

I understand that adding support for Java forms is no trivial change.
My main goal was just to make sure we could still keep using and
promoting Netbeans as a good tool for Monkeybars.

Thanks for the help!


On Jun 17, 2009, at 4:29 AM, Erno Mononen wrote:

Quote:
Hi Logan,

Let me say first that Monkeybars is a pretty cool project, I'm happy
that you guys have settled on NetBeans.

Logan Barnett wrote:
Quote:
Netbeans team,
I've been maintaing the Monkeybars gem, a library for GUI
development on JRuby using Swing. We've strongly encouraged
Netbeans as the IDE of choice to get the neat GUI builder that
comes with it. We had to set up our projects as Java projects in
order to get things to work. We've always thought it best that we
made these as Ruby projects, but we've been pretty happy that we
could get it to work. I've been tracking 6.7 RC1 and 2 and I've
noticed that we have a lot more JRuby awareness in Netbeans. This
is great!

Unfortunately, you can't add new JFrames and friends to your Ruby
project.

Yes, this is indeed unfortunate. Java integration in Ruby projects
(and vice versa) is still pretty basic; certainly an area that could
use improvements. For 6.7 it is too late to do any new features/
enhancements, but better Java integration is one thing that I've
been considering for 6.8. That would include things like being able
to add new JFrames to a Ruby project. Unfortunately doing it
properly is quite a big chunk of work and, as always, there are a
bunch of other things that would need to be addressed in 6.8 as
well. So can't promise anything at this point :/


Quote:
I haven't tried editing existing Swing components from a different
project yet. To make things really hurt for us - the Java projects
no longer automatically copy over data files (which includes Ruby
scripts) into the temporary dist directory. This means we have to
manually build for every change we make to re-run the app.

Do you mean when using the Run action with Compile on Save enabled?
Did 6.5 really copy also data files to the build dir in this case
(AFAIK it shouldn't have)? Or do you mean something else?

Thanks,
Erno


Quote:

It would be great if we could go forward to 6.7 with using Ruby
projects, but I'll take what I can get. Is there anything we can do
to ensure Monkeybars and Netbeans are compatible come 6.7?

Thanks for your time.

Logan Barnett
address-removed
http://www.logustus.com












Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB