mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
New version for the update site.
This commit is contained in:
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: Processing Plugin Core
|
||||
Bundle-SymbolicName: processing.plugin.core;singleton:=true
|
||||
Bundle-Version: 0.2.0.0
|
||||
Bundle-Version: 0.2.1.0
|
||||
Bundle-Activator: processing.plugin.core.ProcessingCore
|
||||
Bundle-Vendor: Processing.org
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
|
||||
@@ -229,7 +229,7 @@ public class SketchProject implements IProjectNature {
|
||||
project.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
|
||||
}
|
||||
|
||||
/** Return the sketch's code folder or null if it cannot be retrieved */
|
||||
/** Return the sketch's code folder or null if it cannot be retrieved. */
|
||||
public IFolder getCodeFolder(){
|
||||
try{
|
||||
IFolder code = project.getFolder("code");
|
||||
@@ -358,7 +358,7 @@ public class SketchProject implements IProjectNature {
|
||||
if(srcFolderPathList != null){
|
||||
for( IPath p : srcFolderPathList){
|
||||
if (p!=null){
|
||||
System.out.println(p.toOSString());
|
||||
// System.out.println(p.toOSString());
|
||||
entries.add(JavaCore.newSourceEntry(p.makeAbsolute()));
|
||||
}
|
||||
}
|
||||
@@ -367,7 +367,7 @@ public class SketchProject implements IProjectNature {
|
||||
if(libraryJarPathList != null){
|
||||
for(IPath p : libraryJarPathList){
|
||||
if (p != null){
|
||||
System.out.println(p.toString());
|
||||
// System.out.println(p.toString());
|
||||
entries.add(
|
||||
JavaCore.newLibraryEntry(p.makeAbsolute(),
|
||||
null, // no source
|
||||
|
||||
@@ -29,7 +29,6 @@ import java.util.zip.ZipFile;
|
||||
import org.eclipse.core.resources.IFile;
|
||||
import org.eclipse.core.resources.IProject;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
||||
import processing.plugin.core.ProcessingCore;
|
||||
import processing.plugin.core.ProcessingCorePreferences;
|
||||
import processing.plugin.core.ProcessingLog;
|
||||
@@ -101,21 +100,19 @@ public class Utilities {
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Given a folder, return a list of absolute paths to all .jar and .zip
|
||||
* (but not .class) files inside that folder, separated by the system's
|
||||
* path separator character.
|
||||
*
|
||||
* <p>
|
||||
* This will prepend the system's path separator so that it can be directly
|
||||
* appended to another path string.
|
||||
*
|
||||
* <p>
|
||||
* This function doesn't bother checking to see if there are any .class
|
||||
* files in the folder or within a subfolder.
|
||||
*/
|
||||
static public String contentsToClassPath(File folder) {
|
||||
//TODO Review this method and make sure that it is returning only paths directly to jars and zip files
|
||||
// It was returning empty paths which was breaking things. Needs to be reviewed.
|
||||
if (folder == null) return "";
|
||||
if (!folder.isDirectory()) return "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user