IVirtualComponent component = ComponentCore.createComponent(project);
IVirtualFolder folder = component.getRootFolder().getFolder("/");
IContainer[] underlyingFolders = folder.getUnderlyingFolders();
IResource[] underlyingResources = folder.getUnderlyingResources();
IVirtualResource[] members = folder.members();
// IVirtualResource[] members = folder.members();
// IVirtualFolder folder2 = folder.getFolder(new Path(getGwtOutputFolder()).append(moduleName));
// IContainer[] underlyingFolders = folder.getUnderlyingFolders();
IVirtualFolder moduleOutputFolder = component.getRootFolder().getFolder("/"); //$NON-NLS-1$
moduleOutputFolder.createLink(new Path(getGwtOutputFolder()).append(moduleName), IResource.FORCE, null);