export ANT_OPTS=-Djbossas.startup.timeout=<num sec>
That will override both startup and shutdown timeout values.
Unfortunately ANT_OPTS gets overrided by build.sh
So there are 3 ways to go:
1. Change build.sh
2. Make server config task set the java property based on the existence of the ant property "jbossas.startup.timeout"
3. Use ant command instead build.sh
Probably #2 is more straightforward followed by #1. I can help with waht you consider better.
Actually now server-manager in trunk has two system properties - one for startup and one for shutdown timeout.
Will that affect current use cases when that gets released?