Results 1 to 9 of 9

Thread: Roo/NetBeans tutorial

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    239

    Default Roo/NetBeans tutorial

    I have searched for a tutorial like this in the net, but I have found nothing.

    How can one integrate Roo with NetBeans ?

    Can the Roo team make such a tutorial ?


    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    First step would be to obtain and install AspectJ support into NetBeans. I believe there is some functionality available, but don't know how good it is. This should get you going, using Spring Roo itself from the command line.

    Regarding further Spring Roo integration like the STS integrated Roo console, I would encourage you to raise this as a feature request with the NetBeans team. Our own tooling efforts are focused on Eclipse/STS--however we are happy to assist other tooling vendors where possible to support our technology stack.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  3. #3
    Join Date
    Jan 2011
    Posts
    6

    Default

    Follow these basic instructions to use Roo with Netbeans

    http://wiki.netbeans.org/SpringRoo

  4. #4
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Red face

    I think that guide is somewhat misleading. As Netbeans is lacking access to the fields and methods Roo put in AspectJ itd-files they are unavailable for code completion and code must be written from memory or by manually opening the itd-files and lookup references and structure. You also have to ignore all guaranteed false errors, that could be proper errors, but there's no way to know. It just isn't worth it.

    I even filed a bug report about the lack of itd-suppport and it has "won't fix" status. See Full AspectJ and AOP support.

    Just getting any AspectJ support in NB was an adventure, at least in NB 6.8, but AFAIK the support is not better in later versions, though I haven't really made an effort in the last 9 months updating myself on this.

    As Roo projects are very nicely made maven projects I've had no problems building and deploying them with Netbeans. For me this is not enough.

    Even as I like Netbeans for many reasons — though I'm stuck on NB 6.8 — I still recommend dropping Netbeans for Spring Roo development and take up Springsource Tools Suite instead. It's way more effective.
    In addition to full Spring support I also appreciate that Infinitest can run on STS and a hundred other things I'd have to give up in Netbeans. The latest STS versions even runs on my OS X 10.5.8 PPC machine (crashes 5-6 times a day, but that is not enough to put me off). I'll have to install Debian to be able to run Netbeans 6.9 or 7 on it.
    Last edited by MiB; Apr 22nd, 2011 at 05:38 AM. Reason: addition

  5. #5
    Join Date
    Sep 2011
    Posts
    6

    Default

    Why would you need debian for Netbeans 6.9/7.0? there are pre-packaged 6/9 and 7.0 for win, linux, and osx..

    Unfortunately, that wont help the AspectJ/ITD issue..

  6. #6
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    Quote Originally Posted by jrussell View Post
    Why would you need debian for Netbeans 6.9/7.0? there are pre-packaged 6/9 and 7.0 for win, linux, and osx..
    I said I'm on OS X 10.5.8 PPC right? The latest jdk from Apple is 1.5. I've tried community builds of openjdk7 with both Netbeans 7, STS and Eclipse. I couldn't get it to work. Perhaps if I compiled my own, but I'm a Java Developer and know close to nothing about building a jdk from some C?? source. I'd be keen to learn if someone got me started though.

    Even with Debian PPC Squeeze (version 6) installed I've found that Eclipse Helios is the latest version that can be used under Linux PPC — unless there is a version for another PPC distribution. Anyone know of one?— and so far I haven't been able to get Maven to work properly. I need to learn the proper way to set my path and my MAVEN_HOME I guess. :-)
    Quote Originally Posted by jrussell View Post
    Unfortunately, that wont help the AspectJ/ITD issue..
    Which is a showstopper to me. I find Netbeans much more stable though than Eclipse / STS. But that could be my aging jdk.
    Last edited by MiB; Sep 7th, 2011 at 05:16 PM.

  7. #7
    Join Date
    Sep 2011
    Posts
    6

    Default

    Quote Originally Posted by MiB View Post
    I said I'm on OS X 10.5.8 PPC right?
    My apologies, I didnt catch the PPC part.. that is a bit of a bummer, shame on Apple for that!

    Which is a showstopper to me. I find Netbeans much more stable though than Eclipse / STS. But that could be my aging jdk.
    The reason I was on this thread is I much prefer NetBeans over Eclipse (any form) and was looking for AspectJ/ITD support..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •