Community
Participate
Working Groups
if (componentTypes == null || componentTypes.size() == 0) {
components.add(refComponents[i]);
} else {
IPath runtimePath2 = getRealRuntimePath(refComponents[i]);
if (componentTypes.contains(JavaEEProjectUtilities.getJ2EEComponentType(module))) {
if (runtimePath2.equals(runtimePath) && componentTypes.contains(JavaEEProjectUtilities.getJ2EEComponentType(module))) {
if (runtimePath != null){
if (runtimePath2.equals(runtimePath)) {
}
Path libPath = new Path("/"); //$NON-NLS-1$
if (bundledLibsDirectoryNode == null){
libPath = new Path("/" + recomputeLibFolder(getEarProject())); //$NON-NLS-1$
String modelLibPath = recomputeLibFolder(getEarProject());
String prefix = "/"; //$NON-NLS-1$
if (modelLibPath.startsWith(prefix)){
prefix = ""; //$NON-NLS-1$
libPath = new Path(prefix + recomputeLibFolder(getEarProject()));
List libs = getComponentReferencesAsList(UTILITY, projectComponent,
import java.util.List;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.Path;
import org.eclipse.jst.jee.ui.internal.Messages;
import org.eclipse.wst.common.componentcore.ComponentCore;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
@Override
public List getModules() {
IVirtualComponent projectComponent = ComponentCore.createComponent(getEarProject());
return getComponentReferencesAsList(implicitUtilityReferenceTypes, projectComponent, new Path("/")); //$NON-NLS-1$
return getComponentReferencesAsList(implicitUtilityReferenceTypes, projectComponent, null);