Login  Register

Re: Dev - Eclipse POS debugging and NetBeans

Posted by Jacques Le Roux on May 27, 2006; 6:48pm
URL: http://ofbiz.116.s1.nabble.com/Dev-Questions-about-i18n-tp168187p168203.html

Vinay,

I'll "monitor" the Wiki page
(http://ofbizwiki.go-integral.com/PageInfo.jsp?page=OFBizInNetBeans5.0) for
sure... And invite everybody to do so.

Jacques

> Jacques,
>
> I have been using NetBeans 5.0 for 6 months and I do agree that it is a far
> superior Java/BSH editing and debugging tool. The only thing NB5 lacks is
> FTL capability. I use Eclipse for that which gives me a chance to constantly
> compare the two.

Yes using both seems reasonable, at least until FTL come to NetBeans. Perhaps
there are other points in favor of Eclipse too.

> I think the only reason NB5 is not more popular with OFBiz is the lack of
> its project files in the project. I personally think they should be made
> part of ofbiz. The NetBeans project files in the Wiki are a bit dated, I
> will update them probably today.

I agree ! (+1 ;o)

> 1. Start ofbiz without building - it is in the new project files.
> 2. Beanshell - get the plugin from location in wiki.
> 3. If you haven't discovered NB5's auto-coding features, just press
> alt-enter on any line with errors. It will give you options and will do the
> selected ones for you. It will do casts and imports almost all the time.
> 4. If you use LCD screen and spend long hours in front of it (like me) you
> may want sub-pixel font smoothing by running NB5 on JDK1.6 and ofbiz on
> JDK1.4. The new project files will let you do that.
> 5. There are many good NB5 plugins, I will note some of them in the wiki.
> 6. Default start-up settings for NB5 are not right for a project like ofbiz.
> You need to significantly raise the memory settings. Checkout
> http://performance.netbeans.org/ .
> 7. You can reduce the footprint of NB5 by turning off some of the built-in
> server/database stuff.

Thanks Vinay

Jacques

> Regards,
> Vinay
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Jacques Le Roux
> Sent: Saturday, May 27, 2006 2:25 AM
> To: OFBiz Project Development Discussion
> Subject: Re: [OFBiz] Dev - Eclipse POS debugging and NetBeans
>
> So thanks to Vinay, I add update your svn comment with your last message. It
> seems to work, I just installed, I try my new debug toy before updating...
>
> Jacques
>
> > Yes,
> >
> > I've just added the note about SVN... from the history of the page:
> >
> > http://ofbizwiki.go-integral.com/PageInfo.jsp?page=OFBizInNetBeans5.0
> >
> > it seems that Vinay did all the work!
> >
> > Jacopo
> >
> >
> > Jacques Le Roux wrote:
> > > Are you sure  ?
> > > http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0
> > >
> > > Jacques
> > >
> > >
> > >> Jacques,
> > >>
> > >> first of all, I'm not the author of the Wiki page about Netbeans!
> > >>
> > >> About SVN in Netbeans: just follow the instructions in the
> > >> paragraph "VCS Profiles built as modules for NetBeans 5.0" here:
> > >>
> > >> http://vcsgeneric.netbeans.org/profiles/
> > >>
> > >> To run the Update wizard go to Tools-->Update Center
> > >>
> > >> Jacopo
> > >>
> > >> Jacques Le Roux wrote:
> > >>> Hi all,
> > >>>
> > >>> This last 3 days I struggled with a problem in Eclipse debugging.
> > >>> I wanted
> > > to
> > >>> use the debugger with the POS. Altough, after some adjusments, it
> > >>> works perfectly for the "std" OFBiz I was not able to use it with
> > >>> the POS
> because
> > > it
> > >>> was complaining about a problem in XUI. I tried a lot of solutions
> > >>> no one
> > > was
> > >>> working. So I turned myself to the XUI crew (Val Cassidy & Luan
> > >>> O'Carrol
> at
> > >>> Xoetrope). They are really charming people and they have done a
> > >>> great job
> > > with
> > >>> XUI. Luan proposed me to take a look at my Eclipse workspace. I
> > >>> sent it to
> > > him
> > >>> (240 Mo unzipped). I don't know when I will have the time to look
> > >>> at it,
> but
> > >>> anyway and by advance a big *thanks* !
> > >>>
> > >>> BTW, XUI is more a tool used in NetBeans (like Luan told me "we
> > >>> are more a NetBeans shop"). And as I will certainly need to use it
> > >>> to customise the
> > > POS, I
> > >>> gave it a try late this night. Thanks to Jacopo's Wiki NetBeans
> > >>> page I was
> > > able
> > >>> to run OFBiz POS in debug mode in less than 2 hours at all. I was
> > >>> really surprised by the quality and smartness of NetBeans 5.0. The
> > >>> last time I
> > > tried it
> > >>> (3.6 I guess) I was not so impressed. But Wooooowww ! now it's
> > >>> really a
> > > great
> > >>> tool, at least for run in debug mode for the POS ;o) It's
> > >>> intuitive, even
> if
> > >>> there are some bad points (at first look, perhaps it exists some
> > >>> tweaks)
> > > like
> > >>> not being able to run in debug mode without having to run ant
> > >>> before (in
> > > fact
> > >>> NetBeans runs automatically ant every time you launch the debugger).
> > >>>
> > >>> So I'm a very happy OFBiz user this morning even if I have not
> > >>> sleep a lot
> > > these
> > >>> last days :o)
> > >>>
> > >>> BTW Jacopo, how to use svn in NetBeans ? ;o)
> > >>>
> > >>> Have a great week-end
> > >>>
> > >>> Jacques
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Dev mailing list
> > >>> [hidden email]
> > >>> http://lists.ofbiz.org/mailman/listinfo/dev
> > >>>
> > >>
> > >> _______________________________________________
> > >> Dev mailing list
> > >> [hidden email]
> > >> http://lists.ofbiz.org/mailman/listinfo/dev
> > >
> > >
> > > _______________________________________________
> > > Dev mailing list
> > > [hidden email]
> > > http://lists.ofbiz.org/mailman/listinfo/dev
> > >
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev