Examples of AntCorePreferences


Examples of org.eclipse.ant.core.AntCorePreferences

            ClassPathEntry[] entries = new ClassPathEntry[antJars.length];
            for (int i = 0; i < antJars.length; i++) {
                File tjar = new File(antLib, antJars[i]);
                entries[i] = new ClassPathEntry(tjar);
            }
            AntCorePreferences antPref = AntCorePlugin.getPlugin().getPreferences();
            antPref.setAntHome(anthome.toString());
            antPref.setAntHomeClasspathEntries(entries);
            antPref.updatePluginPreferences();
        }
        else {
            AntCorePreferences antPref = AntCorePlugin.getPlugin().getPreferences();
            antPref.setAntHome(antPref.getDefaultAntHome());
            antPref.setAntHomeClasspathEntries(antPref.getDefaultAntHomeEntries());
            antPref.updatePluginPreferences();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.