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