Package org.epic.debug.util

Examples of org.epic.debug.util.ExecutionArguments


        }
       
        String perlParams = config.getPerlParams();
        if (perlParams != null && perlParams.length() > 0)
        {
            ExecutionArguments exArgs = new ExecutionArguments(perlParams);
            commandList.addAll(exArgs.getProgramArgumentsL());
        }

        String cgiFilePath;
        try { cgiFilePath = cgiFile.getCanonicalPath(); }
        catch (IOException e) { cgiFilePath = cgiFile.getAbsolutePath(); }
View Full Code Here


        {
            fCmdList.add("-Mautoflush_epic");
        }
        if (perlParams != null && perlParams.length() > 0)
        {
            ExecutionArguments exArgs = new ExecutionArguments(perlParams);
            fCmdList.addAll(exArgs.getProgramArgumentsL());
        }
       
        if (isCygwin())
        {
            IPath cygwinPath = getPathMapper(launch).getDebuggerPath(
                getScriptPath(launch), null);
           
            if (cygwinPath != null) fCmdList.add(cygwinPath.toString());
            else throw new CoreException(new Status(
                Status.ERROR,
                PerlDebugPlugin.getUniqueIdentifier(),
                Status.OK,
                MessageFormat.format(
                    "Could not translate path {0} into a Cygwin path.\n" +
                    "Make sure your Cygwin mounts are configured properly.",
                    new String[] { getScriptPath(launch).toOSString() }),
                null
                ));
        }
        else
            fCmdList.add(getScriptPath(launch).toString());
       
        if (progParams != null && progParams.length() > 0)
        {
            ExecutionArguments exArgs = new ExecutionArguments(progParams);
            fCmdList.addAll(exArgs.getProgramArgumentsL());
        }
   
        return (String[]) fCmdList.toArray(new String[fCmdList.size()]);
    }
View Full Code Here

TOP

Related Classes of org.epic.debug.util.ExecutionArguments

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.