|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.web.project.classpath; import java.beans.PropertyChangeEvent; import org.netbeans.spi.java.classpath.ClassPathImplementation; import org.netbeans.spi.java.classpath.PathResourceImplementation; import org.netbeans.spi.java.classpath.support.ClassPathSupport; import org.netbeans.spi.project.support.ant.AntProjectHelper; import org.netbeans.spi.project.support.ant.AntProjectListener; import org.netbeans.spi.project.support.ant.AntProjectEvent; import org.netbeans.api.java.platform.JavaPlatform; import org.netbeans.api.java.platform.JavaPlatformManager; import org.netbeans.api.java.platform.Specification; import org.netbeans.api.java.classpath.ClassPath; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import org.netbeans.spi.project.support.ant.PropertyEvaluator; import org.openide.util.WeakListeners; final class BootClassPathImplementation implements ClassPathImplementation, PropertyChangeListener { private static final String PLATFORM_ACTIVE = "platform.active"; //NOI18N private static final String ANT_NAME = "platform.ant.name"; //NOI18N private static final String J2SE = "j2se"; //NOI18N private AntProjectHelper helper; private final PropertyEvaluator evaluator; private List resourcesCache; private PropertyChangeSupport support = new PropertyChangeSupport(this); public BootClassPathImplementation(AntProjectHelper helper, PropertyEvaluator evaluator) { assert helper != null; this.helper = helper; this.evaluator = evaluator; evaluator.addPropertyChangeListener(WeakListeners.propertyChange(this, evaluator)); } public synchronized List /* |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.