Update of /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/util
In directory sc8-pr-cvs1:/tmp/cvs-serv7074/src/java/eclipse/org/krysalis/ruper2/eclipse/util
Modified Files:
RuperEclipseConstants.java RuperEclipseHelper.java
Log Message:
Eclipse plugin start
Index: RuperEclipseConstants.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/util/RuperEclipseConstants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RuperEclipseConstants.java 7 Oct 2003 17:24:49 -0000 1.1
--- RuperEclipseConstants.java 13 Oct 2003 21:14:01 -0000 1.2
***************
*** 8,11 ****
--- 8,16 ----
*/
public class RuperEclipseConstants {
+
+ //Plugin constants
+ public static final String RUPER_PLUGIN_ID = "org.krysalis.ruper2";
+
+ //Eclipse Constants
public static final String JRE_LIB = "JRE_LIB";
public static final String ECLIPSE_HOME = "ECLIPSE_HOME";
Index: RuperEclipseHelper.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/eclipse/org/krysalis/ruper2/eclipse/util/RuperEclipseHelper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RuperEclipseHelper.java 8 Oct 2003 13:23:22 -0000 1.2
--- RuperEclipseHelper.java 13 Oct 2003 21:14:01 -0000 1.3
***************
*** 20,23 ****
--- 20,24 ----
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.pde.internal.core.PDECore;
+ import org.krysalis.ruper2.util.FileHelper;
/**
***************
*** 34,37 ****
--- 35,39 ----
{
super();
+ setEclipsePathString();
}
***************
*** 48,52 ****
buff.append(eclipsePath.toOSString());
buff.append("\\plugins\\");
! m_eclipsePathStr = buff.toString();
}
--- 50,54 ----
buff.append(eclipsePath.toOSString());
buff.append("\\plugins\\");
! m_eclipsePathStr = FileHelper.createURLForPath(buff.toString()) ;
}
***************
*** 77,81 ****
int cpEntryKind = cpEntries[i].getEntryKind();
IPath path = cpEntries[i].getPath();
! pathString = path.toOSString();
if( cpEntryKind == IClasspathEntry.CPE_LIBRARY )
--- 79,83 ----
int cpEntryKind = cpEntries[i].getEntryKind();
IPath path = cpEntries[i].getPath();
! pathString = FileHelper.createURLForPath(path.toOSString());
if( cpEntryKind == IClasspathEntry.CPE_LIBRARY )
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.