Thank you very much indeed. When I run everything from the command line, it works perfectly. Somehow, I still have some issues with eclipse in debug mode. But I like your approach.

On 01/19/2014 03:03 PM, Pierre Smits wrote:
Hi,

Re: 2- How do ofbiz experts actually develop their applications and what am
I doing wrong?

This is the approach I would advice:
1. Use your preferred download from http://ofbiz.apache.org or use a
checkout from svn.
2. Get acquainted with building and loading demo data (with ./ant build and
./ant load-demo) and starting/stopping OFBiz with ./ant start and ./ant stop
3. If you feel confident about working with step 2, use ./ant
create-component to create your bespoke development component. This
component will be created in the hot-deploy folder of OFbiz and will have
all the basics to create screens, forms, menus, your bespoke entitiy model
and services.
4. rebuild ofbiz with ./ant build and ./ant load demo to ensure your
component will be recognized and have your bespoke setup data loaded when
running OFBiz.
5. Get acquainted with the files in your bespoke component.
6. Create your screens, forms, menus, .ftl and .groovy files in the correct
sub folders.

Don't worry about restarting ofbiz while doing your stuff in your
component. You can modify and test drive the changes in your  screen, form,
and controller files and in your .ftl and .groovy files without having to
go back to step 4 described above. Only when you add external jars, create
and modify services, scripts and java files you will need to execute step 4.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


Reply via email to