Package org.apache.cactus.eclipse.runner.ui

Examples of org.apache.cactus.eclipse.runner.ui.CactusPlugin


     * @throws CoreException if a Jar cannot be found
     * @throws MalformedURLException
     */
    private IClasspathEntry[] getJettyClasspath() throws CoreException, MalformedURLException
    {
        CactusPlugin thePlugin = CactusPlugin.getDefault();
      
        IPath libURL = LibraryHelper.getLibPath();
       
        if (libURL == null)
        {
View Full Code Here


     * @throws CoreException if the launch configuration cannot be created
     */
    public ILaunchConfigurationWorkingCopy createAntLaunchConfiguration(
        String[] theProviderArguments, String theTarget) throws CoreException
    {
        CactusPlugin thePlugin = CactusPlugin.getDefault();
        URL buildFileURL = thePlugin.find(new Path(buildFilePath));
        if (buildFileURL == null)
        {
            throw CactusPlugin.createCoreException(
                "CactusLaunch.message.prepare.error.plugin.file",
                " : " + buildFilePath,
View Full Code Here

        Project antProject = new Project();
        antProject.init();
        Copy copy = new Copy();
        copy.setProject(antProject);
        copy.setTodir(theDir);
        CactusPlugin thePlugin = CactusPlugin.getDefault();
        URL jspRedirectorURL = null;
    try {
      jspRedirectorURL = Platform.asLocalURL(thePlugin.getBundle().getEntry(JSPREDIRECTOR_PATH));
    } catch (IOException e1) {
      //do nothing the exception is called later.
    }
        if (jspRedirectorURL == null)
        {
View Full Code Here

    /**
     * @return the path to the library directory
     */
    public static IPath getLibPath()
    {
        CactusPlugin thePlugin = CactusPlugin.getDefault();
       
        try {
        return new Path(Platform.asLocalURL(thePlugin.getBundle().getEntry("/" +CactusPlugin.CACTUS_LIBRARY_PATH)).getPath());
        catch(IOException ex) {
         CactusPlugin.log(ex)// throwing an exception would be preferable
        }
        return new Path(CactusPlugin.CACTUS_LIBRARY_PATH);
    }
View Full Code Here

TOP

Related Classes of org.apache.cactus.eclipse.runner.ui.CactusPlugin

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.