Login  Register

Re: Users - Hello NetBeans

Posted by Vinay Agarwal on Feb 05, 2006; 11:21pm
URL: http://ofbiz.116.s1.nabble.com/Users-Hello-NetBeans-tp137245p137247.html

CJ thanks for the info. Actually I am glad I tried NetBeans 5.0. so far, I
like it slightly better than Eclipse 3.1.2.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Charles Johnson
Sent: Saturday, February 04, 2006 2:16 AM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - Hello NetBeans

>>Therefore, if a project is defined through an Ant script

I'm interested to know how you'd define a project in an Ant file - e.g.
what tasks would be used to do so?

Your general point, i think, hinges on the fact that there is no
complete identification between project configuration and the file
system, since Eclipse uses its own internal database. This can create
problems, but can also be a strength. Having lost or devasted my code in
the filesystem, i have been glad in the past to retrieve it from
Eclipse's own metadata.

Building using Ant in Eclipse is simply a matter of running build.xml
and then clicking Refresh

CJ

Vinay Agarwal wrote:

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

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