System.out.println("resolve port "+port);
	public String resolvePort(VDBPort port) {		System.out.println("resolve port "+port);				String target = port.getTarget();		/* try with a record first 		 * if there are some macros in the target, we suppose the same macros		 * are in the record name, therefore they are substituted later		 */				LinkProperties lp = new LinkProperties(port);										Object rec = template.getGroup().findObject(lp.getRecord(), true);		if (rec !=null && rec instanceof Record) {			/*lp.setRecord(getResolvedName(((Record)rec).getRecordData()));			target = lp.getFull();*/			target=getResolvedName(target);		}				target = matchAndReplace(target);				return target;	}