After following the previous enviroment setting you aid me through, i did this
[i]lib/ant/bin/ant -f setup.xml[/i] which i think is the same as [i]ant -f setup.xml[/i] and things kicked it + popped up BUILD SUCCESSFUL.
Having read your last post, i decided to do [i]ant -f setup.xml[/i] and keeps coming up with this error which i was having previously.
BUILD FAILED
/root/Download/glassfish/setup.xml:156: The following error occurred while executing this line:
/root/Download/glassfish/setup.xml:146: Glassfish requires JDK 1.5 or higher, you have java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode)
Total time: 2 seconds
[Message sent by forum member 'losintikfos' (losintikfos)]
http://forums.java.net/jive/thread.jspa?messageID=284660