Here is how you build the latest 2.6 from source:
1) Extract the source from Subversion:
svn co http://anonsvn.jboss.org/repos/portal/trunk
2) Run the build in the build directory:
The binary output is located at ./trunk/core/output/lib/jboss-portal.sar. Copy this directory to the server/default/deploy directory.
Then you need to also set up the datasource. I'll leave this an a exercise for the reader. If you want to cheat (I always do), download the binary and grab the datasource-related files form there.
P.S. Yes, I ignored your question about thirdparty because the first thing the build does is populate that directory with the necessary components.
thanks for your reply. it works.
May i ask what version this is (2.6 DR, 2.6CR or lastest one)?
thanks & regards.