* @param path the resource value
* @return the related resource URL or null if it cannot be resolved
* @throws ProcessingException relate any processing issue
*/
public URL resolveResource(String path) throws ProcessingException {
ApplicationMetaModel application = (ApplicationMetaModel)metaModel;
ProcessingContext context = application.getProcessingContext();
boolean relative = path.length() == 0 || path.charAt(0) != '/';
if (relative) {
context.info("Resolving classpath asset " + path);
Name qn = application.getHandle().getPackageName().append("assets");
FileObject src;
try {
src = context.resolveResourceFromSourcePath(pkg, qn, path);
}
catch (Exception e) {