From: Stephan R. <ste...@us...> - 2005-02-09 18:16:10
|
Update of /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/perleditor/editors/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5791/src/org/epic/perleditor/editors/util Modified Files: PerlExecutableUtilities.java Log Message: added getPerlIncludePath() [used for CGI-Debugging) Index: PerlExecutableUtilities.java =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/perleditor/editors/util/PerlExecutableUtilities.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- PerlExecutableUtilities.java 9 Feb 2005 09:55:26 -0000 1.15 +++ PerlExecutableUtilities.java 9 Feb 2005 18:16:00 -0000 1.16 @@ -168,9 +168,9 @@ } - public static String getPerlIncPath( + public static List getPerlIncPath( IProject project) { - StringBuffer res = new StringBuffer(); + ArrayList res = new ArrayList(); // Add other project include paths if(project != null) { @@ -178,11 +178,11 @@ String[] includes = xmlUtil.getIncludeEntries(project, true); for (int i = 0; i < includes.length; i++) { String path = preparePath(includes[i]); - res.append(" -I"); - res.append(path); + res.add(" -I"); + res.add(path.replace('\\','/')); } } - return res.toString(); + return res; } } |