Posted by
Vinay Agarwal on
Feb 03, 2006; 11:12pm
URL: http://ofbiz.116.s1.nabble.com/Users-Hello-NetBeans-tp137245p137253.html
Eclipse does not use Ant for its internal project configuration. Therefore,
if a project is defined through an Ant script, Eclipse needs to import it.
The problem is that it isn't able to import any non-trivial Ant scripts. In
addition, it doesn't use the original Ant script for builds which results in
problems that you have probably read over this mailing list.
NetBeans, on the other hand, uses Ant for its internal project
configuration. Therefore, if you give it an Ant script, it knows how to
build it. And in its projects, it uses the original Ant script for builds.
So, even if you screw up project configuration, the worst that can happen is
that you won't see code assist or you may not be able to step through the
code.
But with my NetBeans productive experience of about an hour, I won't bet a
lot on how well it works! So far, it looks very good.
Regards,
Vinay Agarwal
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]]
On Behalf Of Charles Johnson
Sent: Friday, February 03, 2006 2:54 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - Hello NetBeans
>>I learned that Eclipse has limited/poor support for Ant based projects
In what way?
CJ
Vinay Agarwal wrote:
>Hello,
>
>After spending hours trying to configure Eclipse, I learned that Eclipse
has
>limited/poor support for Ant based projects and, hence, probably not the
>best option for OFBiz. On the other hand, NetBeans natively uses Ant for
its
>project configuration. I succeeded in configuring OFBiz after several hours
>with NetBeans 5.0.
>
>It requires two steps. The first is to import an external Ant based
>("free-form") project like OFBiz which takes a few seconds. The catch is
>that NetBeans' project still needs to be configured if one wants to use
code
>assist and debugger capabilities. After few hours of trying that, I finally
>figured out what NetBeans wanted and then I was able to do the second step
>in 10 minutes. Anyway, if anyone wants to use NetBeans 5.0, use these two
>steps:
>
>1. Create project: File-New Project-Web-Web Application with Existing
>Ant Script
>2. Edit nbproject/project.xml similar to the one shown below.
>
>The file contents may be mangled up by the email, so if anyone wants
>original file, I can email directly to them.
>
>Regards,
>Vinay Agarwal
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users