Users - Hello NetBeans

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Hello NetBeans

Vinay Agarwal
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
 
 
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
    <type>org.netbeans.modules.ant.freeform</type>
    <configuration>
        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
            <!-- Do not use Project Properties customizer when editing this
file manually. -->
            <name>OFBiz Main Build</name>
            <properties/>
            <folders>
                <source-folder>
                    <label>base\src</label>
                    <type>java</type>
                    <location>base/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\appserver\src</label>
                    <type>java</type>
                    <location>framework/appserver/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\catalina\src</label>
                    <type>java</type>
                    <location>framework/catalina/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\common\src</label>
                    <type>java</type>
                    <location>framework/common/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\datafile\src</label>
                    <type>java</type>
                    <location>framework/datafile/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\entity\src</label>
                    <type>java</type>
                    <location>framework/entity/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\entityext\src</label>
                    <type>java</type>
                    <location>framework/entityext/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\guiapp\src</label>
                    <type>java</type>
                    <location>framework/guiapp/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\jetty\src</label>
                    <type>java</type>
                    <location>framework/jetty/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\jotm\src</label>
                    <type>java</type>
                    <location>framework/jotm/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\minerva\src</label>
                    <type>java</type>
                    <location>framework/minerva/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\minilang\src</label>
                    <type>java</type>
                    <location>framework/minilang/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\security\src</label>
                    <type>java</type>
                    <location>framework/security/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\service\src</label>
                    <type>java</type>
                    <location>framework/service/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\shark\src</label>
                    <type>java</type>
                    <location>framework/shark/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\tests\src</label>
                    <type>java</type>
                    <location>framework/tests/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\webapp\src</label>
                    <type>java</type>
                    <location>framework/webapp/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\webtools\src</label>
                    <type>java</type>
                    <location>framework/webtools/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\widget\src</label>
                    <type>java</type>
                    <location>framework/widget/src</location>
                </source-folder>
                <source-folder>
                    <label>framework\workflow\src</label>
                    <type>java</type>
                    <location>framework/workflow/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\accounting\src</label>
                    <type>java</type>
                    <location>applications/accounting/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\content\src</label>
                    <type>java</type>
                    <location>applications/content/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\ecommerce\src</label>
                    <type>java</type>
                    <location>applications/ecommerce/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\manufacturing\src</label>
                    <type>java</type>
                    <location>applications/manufacturing/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\marketing\src</label>
                    <type>java</type>
                    <location>applications/marketing/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\order\src</label>
                    <type>java</type>
                    <location>applications/order/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\party\src</label>
                    <type>java</type>
                    <location>applications/party/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\pos\src</label>
                    <type>java</type>
                    <location>applications/pos/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\product\src</label>
                    <type>java</type>
                    <location>applications/product/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\securityext\src</label>
                    <type>java</type>
                    <location>applications/securityext/src</location>
                </source-folder>
                <source-folder>
                    <label>applications\workeffort\src</label>
                    <type>java</type>
                    <location>applications/workeffort/src</location>
                </source-folder>
            </folders>
            <ide-actions>
                <action name="build">
                    <target>build</target>
                </action>
                <action name="clean">
                    <target>clean</target>
                </action>
                <action name="javadoc">
                    <target>docs</target>
                </action>
                <action name="run">
                    <target>run-debug</target>
                </action>
                <action name="test">
                    <target>run-tests</target>
                </action>
                <action name="rebuild">
                    <target>clean</target>
                    <target>build</target>
                </action>
                <action name="debug">
                    <script>nbproject/ide-targets.xml</script>
                    <target>debug-nb</target>
                </action>
            </ide-actions>
            <export>
                <type>jar</type>
                <location>base/build/lib/ofbiz-base.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
                <location>base/build/lib/ofbiz.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/appserver/build/lib/ofbiz-appsvrs.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/catalina/build/lib/ofbiz-catalina.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/common/build/lib/ofbiz-common.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/datafile/build/lib/ofbiz-datafile.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/entity/build/lib/ofbiz-entity.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/entityext/build/lib/ofbiz-entityext.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/guiapp/build/lib/ofbiz-guiapp.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/jetty/build/lib/ofbiz-jetty.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
                <location>framework/jotm/build/lib/ofbiz-jotm.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/minerva/build/lib/ofbiz-minerva.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/minilang/build/lib/ofbiz-minilang.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/security/build/lib/ofbiz-security.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/service/build/lib/ofbiz-service.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/tests/build/lib/ofbiz-jxtest.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/webapp/build/lib/ofbiz-webapp.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/webtools/build/lib/ofbiz-webtools.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/widget/build/lib/ofbiz-widget.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>framework/workflow/build/lib/ofbiz-workflow.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/accounting/build/lib/ofbiz-accounting.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/content/build/lib/ofbiz-content.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</loca
tion>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/marketing/build/lib/ofbiz-marketing.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/order/build/lib/ofbiz-order.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/party/build/lib/ofbiz-party.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/pos/build/lib/ofbiz-pos.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/product/build/lib/ofbiz-product.jar</location>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/securityext/build/lib/ofbiz-securityext.jar</location
>
                <build-target>build</build-target>
            </export>
            <export>
                <type>jar</type>
 
<location>applications/workeffort/build/lib/ofbiz-workeffort.jar</location>
                <build-target>build</build-target>
            </export>
            <view>
                <items>
                    <source-folder style="packages">
                        <label>base\src</label>
                        <location>base/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\appserver\src</label>
                        <location>framework/appserver/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\catalina\src</label>
                        <location>framework/catalina/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\common\src</label>
                        <location>framework/common/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\datafile\src</label>
                        <location>framework/datafile/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\entity\src</label>
                        <location>framework/entity/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\entityext\src</label>
                        <location>framework/entityext/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\guiapp\src</label>
                        <location>framework/guiapp/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\jetty\src</label>
                        <location>framework/jetty/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\jotm\src</label>
                        <location>framework/jotm/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\minerva\src</label>
                        <location>framework/minerva/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\minilang\src</label>
                        <location>framework/minilang/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\security\src</label>
                        <location>framework/security/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\service\src</label>
                        <location>framework/service/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\shark\src</label>
                        <location>framework/shark/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\tests\src</label>
                        <location>framework/tests/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\webapp\src</label>
                        <location>framework/webapp/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\webtools\src</label>
                        <location>framework/webtools/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\widget\src</label>
                        <location>framework/widget/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>framework\workflow\src</label>
                        <location>framework/workflow/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\accounting\src</label>
                        <location>applications/accounting/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\content\src</label>
                        <location>applications/content/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\ecommerce\src</label>
                        <location>applications/ecommerce/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\manufacturing\src</label>
                        <location>applications/manufacturing/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\marketing\src</label>
                        <location>applications/marketing/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\order\src</label>
                        <location>applications/order/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\party\src</label>
                        <location>applications/party/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\pos\src</label>
                        <location>applications/pos/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\product\src</label>
                        <location>applications/product/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\securityext\src</label>
                        <location>applications/securityext/src</location>
                    </source-folder>
                    <source-folder style="packages">
                        <label>applications\workeffort\src</label>
                        <location>applications/workeffort/src</location>
                    </source-folder>
                    <source-file>
                        <location>build.xml</location>
                    </source-file>
                </items>
                <context-menu>
                    <ide-action name="build"/>
                    <ide-action name="clean"/>
                    <ide-action name="javadoc"/>
                    <ide-action name="run"/>
                    <ide-action name="test"/>
                    <ide-action name="rebuild"/>
                    <ide-action name="debug"/>
                </context-menu>
            </view>
            <subprojects/>
        </general-data>
        <java-data
xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
            <compilation-unit>
                <package-root>base/src</package-root>
                <package-root>framework/appserver/src</package-root>
                <package-root>framework/catalina/src</package-root>
                <package-root>framework/common/src</package-root>
                <package-root>framework/datafile/src</package-root>
                <package-root>framework/entity/src</package-root>
                <package-root>framework/entityext/src</package-root>
                <package-root>framework/guiapp/src</package-root>
                <package-root>framework/jetty/src</package-root>
                <package-root>framework/jotm/src</package-root>
                <package-root>framework/minerva/src</package-root>
                <package-root>framework/minilang/src</package-root>
                <package-root>framework/security/src</package-root>
                <package-root>framework/service/src</package-root>
                <package-root>framework/shark/src</package-root>
                <package-root>framework/tests/src</package-root>
                <package-root>framework/webapp/src</package-root>
                <package-root>framework/webtools/src</package-root>
                <package-root>framework/widget/src</package-root>
                <package-root>framework/workflow/src</package-root>
                <package-root>applications/accounting/src</package-root>
                <package-root>applications/content/src</package-root>
                <package-root>applications/ecommerce/src</package-root>
                <package-root>applications/manufacturing/src</package-root>
                <package-root>applications/marketing/src</package-root>
                <package-root>applications/order/src</package-root>
                <package-root>applications/party/src</package-root>
                <package-root>applications/pos/src</package-root>
                <package-root>applications/product/src</package-root>
                <package-root>applications/securityext/src</package-root>
                <package-root>applications/workeffort/src</package-root>
                <classpath
mode="compile">base/lib/activation.jar;base/lib/ant-launcher.jar;base/lib/an
t.jar;base/lib/avalon-framework-4.1.5.jar;base/lib/avalon-util-exception-1.0
0.jar;base/lib/freemarker.jar;base/lib/httpunit.jar;base/lib/icu4j_3_4.jar;
base/lib/jakarta-regexp.jar;base/lib/javolution.jar;base/lib/jdbm.jar;base/l
ib/jmxri.jar;base/lib/jmxtools.jar;base/lib/jsp-api.jar;base/lib/junit.jar;b
ase/lib/junitperf.jar;base/lib/log4j.jar;base/lib/mail.jar;base/lib/resolver
jar;base/lib/servlet-api.jar;base/lib/Tidy.jar;base/lib/xercesImpl.jar;base
/lib/xml-apis.jar;framework/catalina/lib/catalina-cluster.jar;framework/cata
lina/lib/catalina-optional.jar;framework/catalina/lib/catalina.jar;framework
/catalina/lib/jasper-compiler-jdt.jar;framework/catalina/lib/jasper-compiler
jar;framework/catalina/lib/jasper-runtime.jar;framework/catalina/lib/jmxja
r;framework/catalina/lib/naming-factory.jar;framework/catalina/lib/naming-re
sources.jar;framework/catalina/lib/servlets-default.jar;framework/catalina/l
ib/servlets-invoker.jar;framework/catalina/lib/servlets-webdav.jar;framework
/catalina/lib/tomcat-ajp.jar;framework/catalina/lib/tomcat-coyote.jar;framew
ork/catalina/lib/tomcat-http.jar;framework/catalina/lib/tomcat-util.jar;fram
ework/entity/lib/jdbc/derby.jar;framework/entity/lib/jdbc/mysql-connector-ja
va-3.1.10-bin.jar;framework/guiapp/lib/XuiCoreSwing_v2_0_5_jdk1_4.jar;framew
ork/jetty/lib/ant.jar;framework/jetty/lib/jasper-compiler.jar;framework/jett
y/lib/jasper-runtime.jar;framework/jetty/lib/org.mortbay.jetty.jar;framework
/jetty/lib/org.mortbay.jmx.jar;framework/jotm/lib/carol.jar;framework/jotm/l
ib/connector-1_5.jar;framework/jotm/lib/howl.jar;framework/jotm/lib/jotm.jar
;framework/jotm/lib/jotm_iiop_stubs.jar;framework/jotm/lib/jotm_jrmp_stubs.j
ar;framework/jotm/lib/objectweb-datasource.jar;framework/minerva/lib/jdbc2_0
-stdext.jar;framework/minerva/lib/jta_1.0.1.jar;framework/minerva/lib/oswego
-concurrent.jar;framework/minerva/lib/ots-jts_1.0.jar;framework/service/lib/
axis-ant.jar;framework/service/lib/axis.jar;framework/service/lib/jaxrpc.jar
;framework/service/lib/jms_1.0.2a.jar;framework/service/lib/saaj.jar;framewo
rk/service/lib/wsdl4j.jar;framework/tests/lib/dom4j-full.jar;framework/tests
/lib/dtdparser113.jar;framework/tests/lib/jxunit3.jar;framework/tests/lib/jx
web.jar;framework/tests/lib/Quick4rt.jar;framework/tests/lib/Quick4util.jar;
framework/webapp/lib/barcode4j-fop-ext-0.20.5-complete.jar;framework/webapp/
lib/batik.jar;framework/webapp/lib/DataVision.jar;framework/webapp/lib/EdenL
ib.jar;framework/webapp/lib/fop.jar;framework/webapp/lib/itext-1.3.6.jar;fra
mework/webapp/lib/JPublish.jar;framework/webapp/lib/MinML2.jar;framework/web
app/lib/velocity-1.3.jar;framework/webapp/lib/velocity-dep-1.3.jar;framework
/webapp/lib/xom-1.0d25.jar</classpath>
                <built-to>base/build/lib/ofbiz-base.jar</built-to>
                <built-to>base/build/lib/ofbiz.jar</built-to>
 
<built-to>framework/appserver/build/lib/ofbiz-appsvrs.jar</built-to>
 
<built-to>framework/catalina/build/lib/ofbiz-catalina.jar</built-to>
 
<built-to>framework/common/build/lib/ofbiz-common.jar</built-to>
 
<built-to>framework/datafile/build/lib/ofbiz-datafile.jar</built-to>
 
<built-to>framework/entity/build/lib/ofbiz-entity.jar</built-to>
 
<built-to>framework/entityext/build/lib/ofbiz-entityext.jar</built-to>
 
<built-to>framework/guiapp/build/lib/ofbiz-guiapp.jar</built-to>
 
<built-to>framework/jetty/build/lib/ofbiz-jetty.jar</built-to>
                <built-to>framework/jotm/build/lib/ofbiz-jotm.jar</built-to>
 
<built-to>framework/minerva/build/lib/ofbiz-minerva.jar</built-to>
 
<built-to>framework/minilang/build/lib/ofbiz-minilang.jar</built-to>
 
<built-to>framework/security/build/lib/ofbiz-security.jar</built-to>
 
<built-to>framework/service/build/lib/ofbiz-service.jar</built-to>
 
<built-to>framework/tests/build/lib/ofbiz-jxtest.jar</built-to>
 
<built-to>framework/webapp/build/lib/ofbiz-webapp.jar</built-to>
 
<built-to>framework/webtools/build/lib/ofbiz-webtools.jar</built-to>
 
<built-to>framework/widget/build/lib/ofbiz-widget.jar</built-to>
 
<built-to>framework/workflow/build/lib/ofbiz-workflow.jar</built-to>
 
<built-to>applications/accounting/build/lib/ofbiz-accounting.jar</built-to>
 
<built-to>applications/content/build/lib/ofbiz-content.jar</built-to>
 
<built-to>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</built-to>
 
<built-to>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</buil
t-to>
 
<built-to>applications/marketing/build/lib/ofbiz-marketing.jar</built-to>
 
<built-to>applications/order/build/lib/ofbiz-order.jar</built-to>
 
<built-to>applications/party/build/lib/ofbiz-party.jar</built-to>
 
<built-to>applications/pos/build/lib/ofbiz-pos.jar</built-to>
 
<built-to>applications/product/build/lib/ofbiz-product.jar</built-to>
 
<built-to>applications/securityext/build/lib/ofbiz-securityext.jar</built-to
>
 
<built-to>applications/workeffort/build/lib/ofbiz-workeffort.jar</built-to>
                <source-level>1.4</source-level>
            </compilation-unit>
        </java-data>
    </configuration>
</project>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Charles Johnson-4
>>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
>
>
><?xml version="1.0" encoding="UTF-8"?>
><project xmlns="http://www.netbeans.org/ns/project/1">
>    <type>org.netbeans.modules.ant.freeform</type>
>    <configuration>
>        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
>            <!-- Do not use Project Properties customizer when editing this
>file manually. -->
>            <name>OFBiz Main Build</name>
>            <properties/>
>            <folders>
>                <source-folder>
>                    <label>base\src</label>
>                    <type>java</type>
>                    <location>base/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\appserver\src</label>
>                    <type>java</type>
>                    <location>framework/appserver/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\catalina\src</label>
>                    <type>java</type>
>                    <location>framework/catalina/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\common\src</label>
>                    <type>java</type>
>                    <location>framework/common/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\datafile\src</label>
>                    <type>java</type>
>                    <location>framework/datafile/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\entity\src</label>
>                    <type>java</type>
>                    <location>framework/entity/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\entityext\src</label>
>                    <type>java</type>
>                    <location>framework/entityext/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\guiapp\src</label>
>                    <type>java</type>
>                    <location>framework/guiapp/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\jetty\src</label>
>                    <type>java</type>
>                    <location>framework/jetty/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\jotm\src</label>
>                    <type>java</type>
>                    <location>framework/jotm/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\minerva\src</label>
>                    <type>java</type>
>                    <location>framework/minerva/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\minilang\src</label>
>                    <type>java</type>
>                    <location>framework/minilang/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\security\src</label>
>                    <type>java</type>
>                    <location>framework/security/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\service\src</label>
>                    <type>java</type>
>                    <location>framework/service/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\shark\src</label>
>                    <type>java</type>
>                    <location>framework/shark/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\tests\src</label>
>                    <type>java</type>
>                    <location>framework/tests/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\webapp\src</label>
>                    <type>java</type>
>                    <location>framework/webapp/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\webtools\src</label>
>                    <type>java</type>
>                    <location>framework/webtools/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\widget\src</label>
>                    <type>java</type>
>                    <location>framework/widget/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>framework\workflow\src</label>
>                    <type>java</type>
>                    <location>framework/workflow/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\accounting\src</label>
>                    <type>java</type>
>                    <location>applications/accounting/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\content\src</label>
>                    <type>java</type>
>                    <location>applications/content/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\ecommerce\src</label>
>                    <type>java</type>
>                    <location>applications/ecommerce/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\manufacturing\src</label>
>                    <type>java</type>
>                    <location>applications/manufacturing/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\marketing\src</label>
>                    <type>java</type>
>                    <location>applications/marketing/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\order\src</label>
>                    <type>java</type>
>                    <location>applications/order/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\party\src</label>
>                    <type>java</type>
>                    <location>applications/party/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\pos\src</label>
>                    <type>java</type>
>                    <location>applications/pos/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\product\src</label>
>                    <type>java</type>
>                    <location>applications/product/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\securityext\src</label>
>                    <type>java</type>
>                    <location>applications/securityext/src</location>
>                </source-folder>
>                <source-folder>
>                    <label>applications\workeffort\src</label>
>                    <type>java</type>
>                    <location>applications/workeffort/src</location>
>                </source-folder>
>            </folders>
>            <ide-actions>
>                <action name="build">
>                    <target>build</target>
>                </action>
>                <action name="clean">
>                    <target>clean</target>
>                </action>
>                <action name="javadoc">
>                    <target>docs</target>
>                </action>
>                <action name="run">
>                    <target>run-debug</target>
>                </action>
>                <action name="test">
>                    <target>run-tests</target>
>                </action>
>                <action name="rebuild">
>                    <target>clean</target>
>                    <target>build</target>
>                </action>
>                <action name="debug">
>                    <script>nbproject/ide-targets.xml</script>
>                    <target>debug-nb</target>
>                </action>
>            </ide-actions>
>            <export>
>                <type>jar</type>
>                <location>base/build/lib/ofbiz-base.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>                <location>base/build/lib/ofbiz.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/appserver/build/lib/ofbiz-appsvrs.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/catalina/build/lib/ofbiz-catalina.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/common/build/lib/ofbiz-common.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/datafile/build/lib/ofbiz-datafile.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/entity/build/lib/ofbiz-entity.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/entityext/build/lib/ofbiz-entityext.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/guiapp/build/lib/ofbiz-guiapp.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/jetty/build/lib/ofbiz-jetty.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>                <location>framework/jotm/build/lib/ofbiz-jotm.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/minerva/build/lib/ofbiz-minerva.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/minilang/build/lib/ofbiz-minilang.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/security/build/lib/ofbiz-security.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/service/build/lib/ofbiz-service.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/tests/build/lib/ofbiz-jxtest.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/webapp/build/lib/ofbiz-webapp.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/webtools/build/lib/ofbiz-webtools.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/widget/build/lib/ofbiz-widget.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>framework/workflow/build/lib/ofbiz-workflow.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/accounting/build/lib/ofbiz-accounting.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/content/build/lib/ofbiz-content.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</loca
>tion>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/marketing/build/lib/ofbiz-marketing.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/order/build/lib/ofbiz-order.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/party/build/lib/ofbiz-party.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/pos/build/lib/ofbiz-pos.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/product/build/lib/ofbiz-product.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/securityext/build/lib/ofbiz-securityext.jar</location
>  
>
>                <build-target>build</build-target>
>            </export>
>            <export>
>                <type>jar</type>
>
><location>applications/workeffort/build/lib/ofbiz-workeffort.jar</location>
>                <build-target>build</build-target>
>            </export>
>            <view>
>                <items>
>                    <source-folder style="packages">
>                        <label>base\src</label>
>                        <location>base/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\appserver\src</label>
>                        <location>framework/appserver/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\catalina\src</label>
>                        <location>framework/catalina/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\common\src</label>
>                        <location>framework/common/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\datafile\src</label>
>                        <location>framework/datafile/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\entity\src</label>
>                        <location>framework/entity/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\entityext\src</label>
>                        <location>framework/entityext/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\guiapp\src</label>
>                        <location>framework/guiapp/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\jetty\src</label>
>                        <location>framework/jetty/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\jotm\src</label>
>                        <location>framework/jotm/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\minerva\src</label>
>                        <location>framework/minerva/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\minilang\src</label>
>                        <location>framework/minilang/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\security\src</label>
>                        <location>framework/security/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\service\src</label>
>                        <location>framework/service/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\shark\src</label>
>                        <location>framework/shark/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\tests\src</label>
>                        <location>framework/tests/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\webapp\src</label>
>                        <location>framework/webapp/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\webtools\src</label>
>                        <location>framework/webtools/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\widget\src</label>
>                        <location>framework/widget/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>framework\workflow\src</label>
>                        <location>framework/workflow/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\accounting\src</label>
>                        <location>applications/accounting/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\content\src</label>
>                        <location>applications/content/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\ecommerce\src</label>
>                        <location>applications/ecommerce/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\manufacturing\src</label>
>                        <location>applications/manufacturing/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\marketing\src</label>
>                        <location>applications/marketing/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\order\src</label>
>                        <location>applications/order/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\party\src</label>
>                        <location>applications/party/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\pos\src</label>
>                        <location>applications/pos/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\product\src</label>
>                        <location>applications/product/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\securityext\src</label>
>                        <location>applications/securityext/src</location>
>                    </source-folder>
>                    <source-folder style="packages">
>                        <label>applications\workeffort\src</label>
>                        <location>applications/workeffort/src</location>
>                    </source-folder>
>                    <source-file>
>                        <location>build.xml</location>
>                    </source-file>
>                </items>
>                <context-menu>
>                    <ide-action name="build"/>
>                    <ide-action name="clean"/>
>                    <ide-action name="javadoc"/>
>                    <ide-action name="run"/>
>                    <ide-action name="test"/>
>                    <ide-action name="rebuild"/>
>                    <ide-action name="debug"/>
>                </context-menu>
>            </view>
>            <subprojects/>
>        </general-data>
>        <java-data
>xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
>            <compilation-unit>
>                <package-root>base/src</package-root>
>                <package-root>framework/appserver/src</package-root>
>                <package-root>framework/catalina/src</package-root>
>                <package-root>framework/common/src</package-root>
>                <package-root>framework/datafile/src</package-root>
>                <package-root>framework/entity/src</package-root>
>                <package-root>framework/entityext/src</package-root>
>                <package-root>framework/guiapp/src</package-root>
>                <package-root>framework/jetty/src</package-root>
>                <package-root>framework/jotm/src</package-root>
>                <package-root>framework/minerva/src</package-root>
>                <package-root>framework/minilang/src</package-root>
>                <package-root>framework/security/src</package-root>
>                <package-root>framework/service/src</package-root>
>                <package-root>framework/shark/src</package-root>
>                <package-root>framework/tests/src</package-root>
>                <package-root>framework/webapp/src</package-root>
>                <package-root>framework/webtools/src</package-root>
>                <package-root>framework/widget/src</package-root>
>                <package-root>framework/workflow/src</package-root>
>                <package-root>applications/accounting/src</package-root>
>                <package-root>applications/content/src</package-root>
>                <package-root>applications/ecommerce/src</package-root>
>                <package-root>applications/manufacturing/src</package-root>
>                <package-root>applications/marketing/src</package-root>
>                <package-root>applications/order/src</package-root>
>                <package-root>applications/party/src</package-root>
>                <package-root>applications/pos/src</package-root>
>                <package-root>applications/product/src</package-root>
>                <package-root>applications/securityext/src</package-root>
>                <package-root>applications/workeffort/src</package-root>
>                <classpath
>mode="compile">base/lib/activation.jar;base/lib/ant-launcher.jar;base/lib/an
>t.jar;base/lib/avalon-framework-4.1.5.jar;base/lib/avalon-util-exception-1.0
>0.jar;base/lib/freemarker.jar;base/lib/httpunit.jar;base/lib/icu4j_3_4.jar;
>base/lib/jakarta-regexp.jar;base/lib/javolution.jar;base/lib/jdbm.jar;base/l
>ib/jmxri.jar;base/lib/jmxtools.jar;base/lib/jsp-api.jar;base/lib/junit.jar;b
>ase/lib/junitperf.jar;base/lib/log4j.jar;base/lib/mail.jar;base/lib/resolver
>jar;base/lib/servlet-api.jar;base/lib/Tidy.jar;base/lib/xercesImpl.jar;base
>/lib/xml-apis.jar;framework/catalina/lib/catalina-cluster.jar;framework/cata
>lina/lib/catalina-optional.jar;framework/catalina/lib/catalina.jar;framework
>/catalina/lib/jasper-compiler-jdt.jar;framework/catalina/lib/jasper-compiler
>jar;framework/catalina/lib/jasper-runtime.jar;framework/catalina/lib/jmxja
>r;framework/catalina/lib/naming-factory.jar;framework/catalina/lib/naming-re
>sources.jar;framework/catalina/lib/servlets-default.jar;framework/catalina/l
>ib/servlets-invoker.jar;framework/catalina/lib/servlets-webdav.jar;framework
>/catalina/lib/tomcat-ajp.jar;framework/catalina/lib/tomcat-coyote.jar;framew
>ork/catalina/lib/tomcat-http.jar;framework/catalina/lib/tomcat-util.jar;fram
>ework/entity/lib/jdbc/derby.jar;framework/entity/lib/jdbc/mysql-connector-ja
>va-3.1.10-bin.jar;framework/guiapp/lib/XuiCoreSwing_v2_0_5_jdk1_4.jar;framew
>ork/jetty/lib/ant.jar;framework/jetty/lib/jasper-compiler.jar;framework/jett
>y/lib/jasper-runtime.jar;framework/jetty/lib/org.mortbay.jetty.jar;framework
>/jetty/lib/org.mortbay.jmx.jar;framework/jotm/lib/carol.jar;framework/jotm/l
>ib/connector-1_5.jar;framework/jotm/lib/howl.jar;framework/jotm/lib/jotm.jar
>;framework/jotm/lib/jotm_iiop_stubs.jar;framework/jotm/lib/jotm_jrmp_stubs.j
>ar;framework/jotm/lib/objectweb-datasource.jar;framework/minerva/lib/jdbc2_0
>-stdext.jar;framework/minerva/lib/jta_1.0.1.jar;framework/minerva/lib/oswego
>-concurrent.jar;framework/minerva/lib/ots-jts_1.0.jar;framework/service/lib/
>axis-ant.jar;framework/service/lib/axis.jar;framework/service/lib/jaxrpc.jar
>;framework/service/lib/jms_1.0.2a.jar;framework/service/lib/saaj.jar;framewo
>rk/service/lib/wsdl4j.jar;framework/tests/lib/dom4j-full.jar;framework/tests
>/lib/dtdparser113.jar;framework/tests/lib/jxunit3.jar;framework/tests/lib/jx
>web.jar;framework/tests/lib/Quick4rt.jar;framework/tests/lib/Quick4util.jar;
>framework/webapp/lib/barcode4j-fop-ext-0.20.5-complete.jar;framework/webapp/
>lib/batik.jar;framework/webapp/lib/DataVision.jar;framework/webapp/lib/EdenL
>ib.jar;framework/webapp/lib/fop.jar;framework/webapp/lib/itext-1.3.6.jar;fra
>mework/webapp/lib/JPublish.jar;framework/webapp/lib/MinML2.jar;framework/web
>app/lib/velocity-1.3.jar;framework/webapp/lib/velocity-dep-1.3.jar;framework
>/webapp/lib/xom-1.0d25.jar</classpath>
>                <built-to>base/build/lib/ofbiz-base.jar</built-to>
>                <built-to>base/build/lib/ofbiz.jar</built-to>
>
><built-to>framework/appserver/build/lib/ofbiz-appsvrs.jar</built-to>
>
><built-to>framework/catalina/build/lib/ofbiz-catalina.jar</built-to>
>
><built-to>framework/common/build/lib/ofbiz-common.jar</built-to>
>
><built-to>framework/datafile/build/lib/ofbiz-datafile.jar</built-to>
>
><built-to>framework/entity/build/lib/ofbiz-entity.jar</built-to>
>
><built-to>framework/entityext/build/lib/ofbiz-entityext.jar</built-to>
>
><built-to>framework/guiapp/build/lib/ofbiz-guiapp.jar</built-to>
>
><built-to>framework/jetty/build/lib/ofbiz-jetty.jar</built-to>
>                <built-to>framework/jotm/build/lib/ofbiz-jotm.jar</built-to>
>
><built-to>framework/minerva/build/lib/ofbiz-minerva.jar</built-to>
>
><built-to>framework/minilang/build/lib/ofbiz-minilang.jar</built-to>
>
><built-to>framework/security/build/lib/ofbiz-security.jar</built-to>
>
><built-to>framework/service/build/lib/ofbiz-service.jar</built-to>
>
><built-to>framework/tests/build/lib/ofbiz-jxtest.jar</built-to>
>
><built-to>framework/webapp/build/lib/ofbiz-webapp.jar</built-to>
>
><built-to>framework/webtools/build/lib/ofbiz-webtools.jar</built-to>
>
><built-to>framework/widget/build/lib/ofbiz-widget.jar</built-to>
>
><built-to>framework/workflow/build/lib/ofbiz-workflow.jar</built-to>
>
><built-to>applications/accounting/build/lib/ofbiz-accounting.jar</built-to>
>
><built-to>applications/content/build/lib/ofbiz-content.jar</built-to>
>
><built-to>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</built-to>
>
><built-to>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</buil
>t-to>
>
><built-to>applications/marketing/build/lib/ofbiz-marketing.jar</built-to>
>
><built-to>applications/order/build/lib/ofbiz-order.jar</built-to>
>
><built-to>applications/party/build/lib/ofbiz-party.jar</built-to>
>
><built-to>applications/pos/build/lib/ofbiz-pos.jar</built-to>
>
><built-to>applications/product/build/lib/ofbiz-product.jar</built-to>
>
><built-to>applications/securityext/build/lib/ofbiz-securityext.jar</built-to
>  
>
>
><built-to>applications/workeffort/build/lib/ofbiz-workeffort.jar</built-to>
>                <source-level>1.4</source-level>
>            </compilation-unit>
>        </java-data>
>    </configuration>
></project>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Jacques Le Roux
Administrator
In reply to this post by Vinay Agarwal
Hi Vinay,

This is very interesting indeed. May you post this important information on Wiki
? http://ofbizwiki.go-integral.com/Wiki.jsp

Thanks

Jacques

----- Original Message -----
From: "Vinay Agarwal" <[hidden email]>
To: "'OFBiz Users / Usage Discussion'" <[hidden email]>
Sent: Friday, February 03, 2006 11:12 PM
Subject: [OFBiz] Users - Hello NetBeans


> 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
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://www.netbeans.org/ns/project/1">
>     <type>org.netbeans.modules.ant.freeform</type>
>     <configuration>
>         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
>             <!-- Do not use Project Properties customizer when editing this
> file manually. -->
>             <name>OFBiz Main Build</name>
>             <properties/>
>             <folders>
>                 <source-folder>
>                     <label>base\src</label>
>                     <type>java</type>
>                     <location>base/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\appserver\src</label>
>                     <type>java</type>
>                     <location>framework/appserver/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\catalina\src</label>
>                     <type>java</type>
>                     <location>framework/catalina/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\common\src</label>
>                     <type>java</type>
>                     <location>framework/common/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\datafile\src</label>
>                     <type>java</type>
>                     <location>framework/datafile/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\entity\src</label>
>                     <type>java</type>
>                     <location>framework/entity/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\entityext\src</label>
>                     <type>java</type>
>                     <location>framework/entityext/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\guiapp\src</label>
>                     <type>java</type>
>                     <location>framework/guiapp/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\jetty\src</label>
>                     <type>java</type>
>                     <location>framework/jetty/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\jotm\src</label>
>                     <type>java</type>
>                     <location>framework/jotm/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\minerva\src</label>
>                     <type>java</type>
>                     <location>framework/minerva/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\minilang\src</label>
>                     <type>java</type>
>                     <location>framework/minilang/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\security\src</label>
>                     <type>java</type>
>                     <location>framework/security/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\service\src</label>
>                     <type>java</type>
>                     <location>framework/service/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\shark\src</label>
>                     <type>java</type>
>                     <location>framework/shark/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\tests\src</label>
>                     <type>java</type>
>                     <location>framework/tests/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\webapp\src</label>
>                     <type>java</type>
>                     <location>framework/webapp/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\webtools\src</label>
>                     <type>java</type>
>                     <location>framework/webtools/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\widget\src</label>
>                     <type>java</type>
>                     <location>framework/widget/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>framework\workflow\src</label>
>                     <type>java</type>
>                     <location>framework/workflow/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\accounting\src</label>
>                     <type>java</type>
>                     <location>applications/accounting/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\content\src</label>
>                     <type>java</type>
>                     <location>applications/content/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\ecommerce\src</label>
>                     <type>java</type>
>                     <location>applications/ecommerce/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\manufacturing\src</label>
>                     <type>java</type>
>                     <location>applications/manufacturing/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\marketing\src</label>
>                     <type>java</type>
>                     <location>applications/marketing/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\order\src</label>
>                     <type>java</type>
>                     <location>applications/order/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\party\src</label>
>                     <type>java</type>
>                     <location>applications/party/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\pos\src</label>
>                     <type>java</type>
>                     <location>applications/pos/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\product\src</label>
>                     <type>java</type>
>                     <location>applications/product/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\securityext\src</label>
>                     <type>java</type>
>                     <location>applications/securityext/src</location>
>                 </source-folder>
>                 <source-folder>
>                     <label>applications\workeffort\src</label>
>                     <type>java</type>
>                     <location>applications/workeffort/src</location>
>                 </source-folder>
>             </folders>
>             <ide-actions>
>                 <action name="build">
>                     <target>build</target>
>                 </action>
>                 <action name="clean">
>                     <target>clean</target>
>                 </action>
>                 <action name="javadoc">
>                     <target>docs</target>
>                 </action>
>                 <action name="run">
>                     <target>run-debug</target>
>                 </action>
>                 <action name="test">
>                     <target>run-tests</target>
>                 </action>
>                 <action name="rebuild">
>                     <target>clean</target>
>                     <target>build</target>
>                 </action>
>                 <action name="debug">
>                     <script>nbproject/ide-targets.xml</script>
>                     <target>debug-nb</target>
>                 </action>
>             </ide-actions>
>             <export>
>                 <type>jar</type>
>                 <location>base/build/lib/ofbiz-base.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>                 <location>base/build/lib/ofbiz.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/appserver/build/lib/ofbiz-appsvrs.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/catalina/build/lib/ofbiz-catalina.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/common/build/lib/ofbiz-common.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/datafile/build/lib/ofbiz-datafile.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/entity/build/lib/ofbiz-entity.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/entityext/build/lib/ofbiz-entityext.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/guiapp/build/lib/ofbiz-guiapp.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/jetty/build/lib/ofbiz-jetty.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>                 <location>framework/jotm/build/lib/ofbiz-jotm.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/minerva/build/lib/ofbiz-minerva.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/minilang/build/lib/ofbiz-minilang.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/security/build/lib/ofbiz-security.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/service/build/lib/ofbiz-service.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/tests/build/lib/ofbiz-jxtest.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/webapp/build/lib/ofbiz-webapp.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/webtools/build/lib/ofbiz-webtools.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/widget/build/lib/ofbiz-widget.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>framework/workflow/build/lib/ofbiz-workflow.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/accounting/build/lib/ofbiz-accounting.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/content/build/lib/ofbiz-content.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</loca
> tion>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/marketing/build/lib/ofbiz-marketing.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/order/build/lib/ofbiz-order.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/party/build/lib/ofbiz-party.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/pos/build/lib/ofbiz-pos.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/product/build/lib/ofbiz-product.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/securityext/build/lib/ofbiz-securityext.jar</location
> >
>                 <build-target>build</build-target>
>             </export>
>             <export>
>                 <type>jar</type>
>
> <location>applications/workeffort/build/lib/ofbiz-workeffort.jar</location>
>                 <build-target>build</build-target>
>             </export>
>             <view>
>                 <items>
>                     <source-folder style="packages">
>                         <label>base\src</label>
>                         <location>base/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\appserver\src</label>
>                         <location>framework/appserver/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\catalina\src</label>
>                         <location>framework/catalina/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\common\src</label>
>                         <location>framework/common/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\datafile\src</label>
>                         <location>framework/datafile/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\entity\src</label>
>                         <location>framework/entity/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\entityext\src</label>
>                         <location>framework/entityext/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\guiapp\src</label>
>                         <location>framework/guiapp/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\jetty\src</label>
>                         <location>framework/jetty/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\jotm\src</label>
>                         <location>framework/jotm/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\minerva\src</label>
>                         <location>framework/minerva/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\minilang\src</label>
>                         <location>framework/minilang/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\security\src</label>
>                         <location>framework/security/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\service\src</label>
>                         <location>framework/service/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\shark\src</label>
>                         <location>framework/shark/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\tests\src</label>
>                         <location>framework/tests/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\webapp\src</label>
>                         <location>framework/webapp/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\webtools\src</label>
>                         <location>framework/webtools/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\widget\src</label>
>                         <location>framework/widget/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>framework\workflow\src</label>
>                         <location>framework/workflow/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\accounting\src</label>
>                         <location>applications/accounting/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\content\src</label>
>                         <location>applications/content/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\ecommerce\src</label>
>                         <location>applications/ecommerce/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\manufacturing\src</label>
>                         <location>applications/manufacturing/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\marketing\src</label>
>                         <location>applications/marketing/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\order\src</label>
>                         <location>applications/order/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\party\src</label>
>                         <location>applications/party/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\pos\src</label>
>                         <location>applications/pos/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\product\src</label>
>                         <location>applications/product/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\securityext\src</label>
>                         <location>applications/securityext/src</location>
>                     </source-folder>
>                     <source-folder style="packages">
>                         <label>applications\workeffort\src</label>
>                         <location>applications/workeffort/src</location>
>                     </source-folder>
>                     <source-file>
>                         <location>build.xml</location>
>                     </source-file>
>                 </items>
>                 <context-menu>
>                     <ide-action name="build"/>
>                     <ide-action name="clean"/>
>                     <ide-action name="javadoc"/>
>                     <ide-action name="run"/>
>                     <ide-action name="test"/>
>                     <ide-action name="rebuild"/>
>                     <ide-action name="debug"/>
>                 </context-menu>
>             </view>
>             <subprojects/>
>         </general-data>
>         <java-data
> xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
>             <compilation-unit>
>                 <package-root>base/src</package-root>
>                 <package-root>framework/appserver/src</package-root>
>                 <package-root>framework/catalina/src</package-root>
>                 <package-root>framework/common/src</package-root>
>                 <package-root>framework/datafile/src</package-root>
>                 <package-root>framework/entity/src</package-root>
>                 <package-root>framework/entityext/src</package-root>
>                 <package-root>framework/guiapp/src</package-root>
>                 <package-root>framework/jetty/src</package-root>
>                 <package-root>framework/jotm/src</package-root>
>                 <package-root>framework/minerva/src</package-root>
>                 <package-root>framework/minilang/src</package-root>
>                 <package-root>framework/security/src</package-root>
>                 <package-root>framework/service/src</package-root>
>                 <package-root>framework/shark/src</package-root>
>                 <package-root>framework/tests/src</package-root>
>                 <package-root>framework/webapp/src</package-root>
>                 <package-root>framework/webtools/src</package-root>
>                 <package-root>framework/widget/src</package-root>
>                 <package-root>framework/workflow/src</package-root>
>                 <package-root>applications/accounting/src</package-root>
>                 <package-root>applications/content/src</package-root>
>                 <package-root>applications/ecommerce/src</package-root>
>                 <package-root>applications/manufacturing/src</package-root>
>                 <package-root>applications/marketing/src</package-root>
>                 <package-root>applications/order/src</package-root>
>                 <package-root>applications/party/src</package-root>
>                 <package-root>applications/pos/src</package-root>
>                 <package-root>applications/product/src</package-root>
>                 <package-root>applications/securityext/src</package-root>
>                 <package-root>applications/workeffort/src</package-root>
>                 <classpath
> mode="compile">base/lib/activation.jar;base/lib/ant-launcher.jar;base/lib/an
> t.jar;base/lib/avalon-framework-4.1.5.jar;base/lib/avalon-util-exception-1.0
> 0.jar;base/lib/freemarker.jar;base/lib/httpunit.jar;base/lib/icu4j_3_4.jar;
> base/lib/jakarta-regexp.jar;base/lib/javolution.jar;base/lib/jdbm.jar;base/l
> ib/jmxri.jar;base/lib/jmxtools.jar;base/lib/jsp-api.jar;base/lib/junit.jar;b
> ase/lib/junitperf.jar;base/lib/log4j.jar;base/lib/mail.jar;base/lib/resolver
> jar;base/lib/servlet-api.jar;base/lib/Tidy.jar;base/lib/xercesImpl.jar;base
> /lib/xml-apis.jar;framework/catalina/lib/catalina-cluster.jar;framework/cata
> lina/lib/catalina-optional.jar;framework/catalina/lib/catalina.jar;framework
> /catalina/lib/jasper-compiler-jdt.jar;framework/catalina/lib/jasper-compiler
> jar;framework/catalina/lib/jasper-runtime.jar;framework/catalina/lib/jmxja
> r;framework/catalina/lib/naming-factory.jar;framework/catalina/lib/naming-re
> sources.jar;framework/catalina/lib/servlets-default.jar;framework/catalina/l
> ib/servlets-invoker.jar;framework/catalina/lib/servlets-webdav.jar;framework
> /catalina/lib/tomcat-ajp.jar;framework/catalina/lib/tomcat-coyote.jar;framew
> ork/catalina/lib/tomcat-http.jar;framework/catalina/lib/tomcat-util.jar;fram
> ework/entity/lib/jdbc/derby.jar;framework/entity/lib/jdbc/mysql-connector-ja
> va-3.1.10-bin.jar;framework/guiapp/lib/XuiCoreSwing_v2_0_5_jdk1_4.jar;framew
> ork/jetty/lib/ant.jar;framework/jetty/lib/jasper-compiler.jar;framework/jett
> y/lib/jasper-runtime.jar;framework/jetty/lib/org.mortbay.jetty.jar;framework
> /jetty/lib/org.mortbay.jmx.jar;framework/jotm/lib/carol.jar;framework/jotm/l
> ib/connector-1_5.jar;framework/jotm/lib/howl.jar;framework/jotm/lib/jotm.jar
> ;framework/jotm/lib/jotm_iiop_stubs.jar;framework/jotm/lib/jotm_jrmp_stubs.j
> ar;framework/jotm/lib/objectweb-datasource.jar;framework/minerva/lib/jdbc2_0
> -stdext.jar;framework/minerva/lib/jta_1.0.1.jar;framework/minerva/lib/oswego
> -concurrent.jar;framework/minerva/lib/ots-jts_1.0.jar;framework/service/lib/
> axis-ant.jar;framework/service/lib/axis.jar;framework/service/lib/jaxrpc.jar
> ;framework/service/lib/jms_1.0.2a.jar;framework/service/lib/saaj.jar;framewo
> rk/service/lib/wsdl4j.jar;framework/tests/lib/dom4j-full.jar;framework/tests
> /lib/dtdparser113.jar;framework/tests/lib/jxunit3.jar;framework/tests/lib/jx
> web.jar;framework/tests/lib/Quick4rt.jar;framework/tests/lib/Quick4util.jar;
> framework/webapp/lib/barcode4j-fop-ext-0.20.5-complete.jar;framework/webapp/
> lib/batik.jar;framework/webapp/lib/DataVision.jar;framework/webapp/lib/EdenL
> ib.jar;framework/webapp/lib/fop.jar;framework/webapp/lib/itext-1.3.6.jar;fra
> mework/webapp/lib/JPublish.jar;framework/webapp/lib/MinML2.jar;framework/web
> app/lib/velocity-1.3.jar;framework/webapp/lib/velocity-dep-1.3.jar;framework
> /webapp/lib/xom-1.0d25.jar</classpath>
>                 <built-to>base/build/lib/ofbiz-base.jar</built-to>
>                 <built-to>base/build/lib/ofbiz.jar</built-to>
>
> <built-to>framework/appserver/build/lib/ofbiz-appsvrs.jar</built-to>
>
> <built-to>framework/catalina/build/lib/ofbiz-catalina.jar</built-to>
>
> <built-to>framework/common/build/lib/ofbiz-common.jar</built-to>
>
> <built-to>framework/datafile/build/lib/ofbiz-datafile.jar</built-to>
>
> <built-to>framework/entity/build/lib/ofbiz-entity.jar</built-to>
>
> <built-to>framework/entityext/build/lib/ofbiz-entityext.jar</built-to>
>
> <built-to>framework/guiapp/build/lib/ofbiz-guiapp.jar</built-to>
>
> <built-to>framework/jetty/build/lib/ofbiz-jetty.jar</built-to>
>                 <built-to>framework/jotm/build/lib/ofbiz-jotm.jar</built-to>
>
> <built-to>framework/minerva/build/lib/ofbiz-minerva.jar</built-to>
>
> <built-to>framework/minilang/build/lib/ofbiz-minilang.jar</built-to>
>
> <built-to>framework/security/build/lib/ofbiz-security.jar</built-to>
>
> <built-to>framework/service/build/lib/ofbiz-service.jar</built-to>
>
> <built-to>framework/tests/build/lib/ofbiz-jxtest.jar</built-to>
>
> <built-to>framework/webapp/build/lib/ofbiz-webapp.jar</built-to>
>
> <built-to>framework/webtools/build/lib/ofbiz-webtools.jar</built-to>
>
> <built-to>framework/widget/build/lib/ofbiz-widget.jar</built-to>
>
> <built-to>framework/workflow/build/lib/ofbiz-workflow.jar</built-to>
>
> <built-to>applications/accounting/build/lib/ofbiz-accounting.jar</built-to>
>
> <built-to>applications/content/build/lib/ofbiz-content.jar</built-to>
>
> <built-to>applications/ecommerce/build/lib/ofbiz-ecommerce.jar</built-to>
>
> <built-to>applications/manufacturing/build/lib/ofbiz-manufacturing.jar</buil
> t-to>
>
> <built-to>applications/marketing/build/lib/ofbiz-marketing.jar</built-to>
>
> <built-to>applications/order/build/lib/ofbiz-order.jar</built-to>
>
> <built-to>applications/party/build/lib/ofbiz-party.jar</built-to>
>
> <built-to>applications/pos/build/lib/ofbiz-pos.jar</built-to>
>
> <built-to>applications/product/build/lib/ofbiz-product.jar</built-to>
>
> <built-to>applications/securityext/build/lib/ofbiz-securityext.jar</built-to
> >
>
> <built-to>applications/workeffort/build/lib/ofbiz-workeffort.jar</built-to>
>                 <source-level>1.4</source-level>
>             </compilation-unit>
>         </java-data>
>     </configuration>
> </project>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Vinay Agarwal
In reply to this post by Charles Johnson-4
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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Vinay Agarwal
In reply to this post by Jacques Le Roux

Posted in Wiki.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Jacques Le Roux
Sent: Friday, February 03, 2006 2:59 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - Hello NetBeans

Hi Vinay,

This is very interesting indeed. May you post this important information on
Wiki
? http://ofbizwiki.go-integral.com/Wiki.jsp

Thanks

Jacques

----- Original Message -----
From: "Vinay Agarwal" <[hidden email]>
To: "'OFBiz Users / Usage Discussion'" <[hidden email]>
Sent: Friday, February 03, 2006 11:12 PM
Subject: [OFBiz] Users - Hello NetBeans


> 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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Jacques Le Roux
Administrator
In reply to this post by Vinay Agarwal
Thanks Vinay, I really appreciate and will certainly not be the only one.

Jacques

----- Original Message -----
From: "Vinay Agarwal" <[hidden email]>
To: "'OFBiz Users / Usage Discussion'" <[hidden email]>
Sent: Saturday, February 04, 2006 1:21 AM
Subject: Re: [OFBiz] Users - Hello NetBeans


>
> Posted in Wiki.
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Jacques Le Roux
> Sent: Friday, February 03, 2006 2:59 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - Hello NetBeans
>
> Hi Vinay,
>
> This is very interesting indeed. May you post this important information on
> Wiki
> ? http://ofbizwiki.go-integral.com/Wiki.jsp
>
> Thanks
>
> Jacques
>
> ----- Original Message -----
> From: "Vinay Agarwal" <[hidden email]>
> To: "'OFBiz Users / Usage Discussion'" <[hidden email]>
> Sent: Friday, February 03, 2006 11:12 PM
> Subject: [OFBiz] Users - Hello NetBeans
>
>
> > 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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Jacopo Cappellato
In reply to this post by Vinay Agarwal
NetBeans is my favourite IDE (I'm running Netbeans 4.0).

I also use a NetBeans plugin for SVN that is very useful.

Cons: xml support is not so good; no support for ftl templates (as far
as I know)

Jacopo

Vinay Agarwal wrote:

> Posted in Wiki.
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Jacques Le Roux
> Sent: Friday, February 03, 2006 2:59 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - Hello NetBeans
>
> Hi Vinay,
>
> This is very interesting indeed. May you post this important information on
> Wiki
> ? http://ofbizwiki.go-integral.com/Wiki.jsp
>
> Thanks
>
> Jacques
>
> ----- Original Message -----
> From: "Vinay Agarwal" <[hidden email]>
> To: "'OFBiz Users / Usage Discussion'" <[hidden email]>
> Sent: Friday, February 03, 2006 11:12 PM
> Subject: [OFBiz] Users - Hello NetBeans
>
>
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Charles Johnson-4
In reply to this post by Vinay Agarwal
>>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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Ray Barlow
In reply to this post by Vinay Agarwal
Vinay,

Not to play down Netbeans as I don't really use it but it does seem that
you've followed a troubled path with Eclipse. In it's defence I would
like to say that you can get OFBiz working in Eclipse with the use of
only a few simple actions:

1) Import the project file from the root of the OFBiz code base. (can
take a few minutes depending on hardware)
2) Use menu "Window - Show View - Ant" so that you can see the ant tab
if not already visible and add the root build.xml file.
3) Run the default ant target and Eclipse will call ant as an external
command and it should work fine. Any errors will display in the console
window and can be clicked on to jump to the source file and line in
question, not usually needed if you are editing the file as the real
time Eclipse compiler still picks up errors.

NB: If you are running Eclipse using JDK 1.5 then you will also need to
ensure Eclipse knows where to find your JDK 1.4 install:
"Windows - Preferences - Java - Installed JREs" add it and make sure it
is checked as the default.

The wiki did and still does have this information, albeit was in a
slightly less than intuitive order so I have rearranged it a little,
hopefully that will make it easier for others to follow.

There might be a few quirks, like Eclipse thinks there may be errors
when ant doesn't, but in all honesty these really don't stop you getting
the best from the tool as it is still capable of providing full IDE
features like type ahead, syntax checking, refactoring, real time
debugging etc.

Ray



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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Hello NetBeans

Vinay Agarwal
In reply to this post by Charles Johnson-4
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