users@glassfish.java.net

How to build glassfish with 4.0 features

From: Piotr Tempes <piotr.tempes_at_gmail.com>
Date: Sun, 12 Feb 2012 10:00:17 +0100

Hi! I tried to follow instructions from this site and from those:
http://java.net/projects/vmware-plugin/pages/Home
https://wikis.oracle.com/display/GlassFish/FullBuildInstructions

but I am unable to achieve a distribution with asadmin script that would
recognise commands like create-ims-config-native etc...

Here's what I do:
1. svn update main (update glassfish to it's newest revision)
2. mvn install -Dmaven.test.skip=true
3. extract glassfish from
main/appserver/distributions/glassfish/target/glassfish.zip
4. go to <extracted glassfish>/bin/
5. execute asadmin start-domain
6. execute asadmin create-ims-config-native

and 6 step returns:
CLI001 Invalid Command, create-ims-config-native. Use "asadmin help" for a
list of valid commands.

What do I do wrong?