Hi Guys,
I've just finished my first beehive app, it's currently with the client
for acceptance testing...it uses pageflows, controls, xmlbeans,
webservices and pretty much every netui tag and I have to give massive
kudos to you all. I've been commercially programming in java since 1997
and this is without a doubt the most fun I've ever had. Revolutionary
design. Beehive is going to do phenominal things to j2ee productivity.
I use maven for my builds and, as I've discussed a couple of times, I've
been working an a maven plugin for beehive. To be honest, there wasn't
anything to it, just had to get my head around beehive first.
Attached is the maven 1.1 plugin and a suggested directory
structure/configuration. It has a 4 goals that you can position
anywhere you want in the build process using mavens preGoal/postGoal
tags. It works with all the other maven plugins, specifically
maven:war.
The goals are:
beehive:generate-xmlbeans
beehive:build-pageflows
beehive:build-controls
beehive:build-webservices
An example of my maven.xml is
<preGoal name="java:compile">
<attainGoal name="beehive:generate-xmlbeans"/>
</preGoal>
<postGoal name="java:compile">
<attainGoal name="beehive:build-controls"/>
<attainGoal name="beehive:build-pageflows"/>
<attainGoal name="beehive:build-webservices"/>
</postGoal>
The default directories are:
src/controls
src/java
src/resources/schemas
src/pageflows
src/ws
src/webapp (see maven war plugin for more info on this)
and all generated classes default to target/classes
All these can be changed by editing your project.properties with the
following properties
beehive.xmlbeans.schemas.dir
beehive.xmlbeans.classgen.dir
beehive.controls.dest.dir
beehive.controls.src.dir
beehive.controls.gen.dir
beehive.pageflows.src.dir
beehive.pageflows.dest.dir
beehive.pageflows.gen.dir
beehive.pageflows.content.dir
beehive.webservices.src.dir
beehive.webservices.dest.dir
beehive.webservices.gen.dir
So any way, have a quick look over it and let me know if it's of
interest to you...if it is, I'll write some doco this weekend.
Thanks again for all the great work guys.
Cheers
Adam