On Mon, Dec 7, 2009 at 11:13 AM, Pete Muir
<pmuir@redhat.com> wrote:
This is kinda a bit different, my page is about using the examples, yours is about a user creating a new app. Once we have some releases of your stuff out, we should link the pages together :-)
Yep, that's my feeling too.
>
> If you see any opportunities for merging the docs, I can help out. I
> think maven instructions will be helpful for maven users.
>
>
> Can the ANT script use JBOSS_HOME so the user can start without editing
> any properties files?
It could do, it would be better to investigate the JBoss maven plugin IMO.
I know the JBoss deploy plugin quite well. It does use JBOSS_HOME by default, but can be overridden in the Maven plugin configuration. But the best solution is to assign the JBOSS_HOME to a Maven property and then use that propery in the plugin configuration. Then, you can use either JBOSS_HOME or the Maven property to tune the value. What I don't think is possible (w/o some build magic) is to have Maven read the value in build.properties (because that would just make life too easy, say the Maven guys).
-Dan