private void recordBuildResources( Template pTemplate, RootBuildResource pRootBuildResource, HashMap pPreviouslySeen ) {
try {
ArrayList brL = pRootBuildResource.list();
int numBR = brL.size();
for( int brI = 0; brI < numBR; brI++ ) {
BuildResource br = (BuildResource) brL.get( brI );
if( br instanceof RootBuildResource ) {
recordBuildResources( pTemplate, (RootBuildResource)br, pPreviouslySeen );
}
else if( br instanceof FileBuildResource ) {
PropertySet ps = pTemplate.getMergedPropertySet();