The jboss-as/* stuff (bizarrely :-p) relates to JBoss AS. These are simply utility scripts that we use during development to push the latest code into JBoss AS, so that we can test it and run the testsuite. I don't believe these are included in the zip distribution, but I might be mistaken. If it is, file an issue.
JBoss AS Branch5x uses the latest release candidate of Weld (and 5.2.0.Beta1 will use the upcoming release of Weld). If you want to use the Weld examples there, download a build, download the Weld CR1 zip, and follow the readme.
GlassFish also is using the latest release candidate. As stated elsewhere, Sun have yet to contribute any documentation, readmes, or targets for deploying Weld examples. As the GlassFish team are responsible for Weld integration into GlassFish, you are best off hitting the GlassFish forums.
*****OK, since I don't get my insatllations to work, please just tell a beginner if this is correct or if not whats wrong:***** thanx!/ Tiny********
org.jboss.testharness.container.javaOpts=-Xms128m -Xmx512m -XX:MaxPermSize=192m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
# time to allow before attempting to restart JBoss AS
# maximum number of TCK tests to deploy before restarting JBoss
# jboss.deployments.restart = 25
Be more specific, what errors are you seeing?