public File[] getWebAppClasspathFiles(IProject project) { File[] files = new File[1]; String jarPath = AppsMarketplacePlugin.getDefault().getStateLocation() + "/" + AppsMarketplacePlugin.APPS_MARKETPLACE_JAR_NAME; files[0] = Path.fromOSString(jarPath).toFile(); return files; }
/* (non-Javadoc) * @see com.google.gdt.eclipse.core.sdk.Sdk#getClasspathEntries() */ public IClasspathEntry[] getClasspathEntries() { IClasspathEntry[] entries = new IClasspathEntry[1]; String jarPath = AppsMarketplacePlugin.getDefault().getStateLocation() + "/" + AppsMarketplacePlugin.APPS_MARKETPLACE_JAR_NAME; entries[0] = JavaCore.newLibraryEntry(new Path(jarPath), null, null); return entries; }