Monkeybars and Netbeans

View: New views
3 Messages — Rating Filter:   Alert me  

Monkeybars and Netbeans

by Logan Barnett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
logustus@...
http://www.logustus.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Monkeybars and Netbeans

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

> 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 :/


> 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


>
> 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
> logustus@...
> http://www.logustus.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Monkeybars and Netbeans

by Logan Barnett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

> 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:
>> 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 :/
>
>
>> 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
>
>
>>
>> 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
>> logustus@...
>> http://www.logustus.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...