I don't think you need to do that, YET.
Would you be able to include the "last bit" of the output from the ant -f setup.xml command?
In my case... using -Sinstance.port=8888, I saw this:
create.domain:
[exec] Using port 4848 for Admin.
[exec] Using port 8888 for HTTP Instance.
[exec] Using port 7676 for JMS.
[exec] Using port 3700 for IIOP.
[exec] Using port 8181 for HTTP_SSL.
[exec] Using default port 3820 for IIOP_SSL.
[exec] Using default port 3920 for IIOP_MUTUALAUTH.
[exec] Using default port 8686 for JMX_ADMIN.
[exec] Domain being created with profile:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
[exec] Security Store uses: JKS
[exec] /Volumes/300gb/v2/pe/glassfish/derby.log
[exec] Domain domain1 created.
[exec] Admin login information for host [localhost] and port [4848] is being overwritten with credentials provided. This is because the --savelogin option was used during create-domain command.
[exec] Login information relevant to admin user name [admin] for this domain [domain1] stored at [/Users/vbk/.asadminpass] successfully.
[exec] Make sure that this file remains protected. Information stored in this file will be used by asadmin commands to manage this domain.
[delete] Deleting: /Volumes/300gb/v2/pe/glassfish/passfile
vbk
[Message sent by forum member 'vbkraemer' (vbkraemer)]
http://forums.java.net/jive/thread.jspa?messageID=228567