List of usage examples for org.aspectj.ajdt.internal.core.builder CompilerConfigurationChangeFlags CLASSPATH_CHANGED
int CLASSPATH_CHANGED
To view the source code for org.aspectj.ajdt.internal.core.builder CompilerConfigurationChangeFlags CLASSPATH_CHANGED.
Click Source Link
From source file:org.eclipse.ajdt.core.builder.AJBuilder.java
License:Open Source License
private boolean classpathChanged(IResourceDelta delta, CoreCompilerConfiguration compilerConfiguration) { if (delta.findMember(new Path(".classpath")) != null) { // we don't know exactly what has changed, so be conservative compilerConfiguration.configurationChanged(CompilerConfigurationChangeFlags.CLASSPATH_CHANGED | CompilerConfigurationChangeFlags.ASPECTPATH_CHANGED | CompilerConfigurationChangeFlags.INPATH_CHANGED | CompilerConfigurationChangeFlags.OUTPUTDESTINATIONS_CHANGED); return true; } else {/*w w w.jav a2s . c om*/ return false; } }
From source file:org.eclipse.ajdt.core.builder.AJBuilder.java
License:Open Source License
private boolean manifestChanged(IResourceDelta delta, CoreCompilerConfiguration compilerConfiguration) { // we make an assumption here that the project actually cares about // the manifest file (ie- it is a plugin project or an OSGi project if (delta.findMember(new Path("META-INF/MANIFEST.MF")) != null) { compilerConfiguration.configurationChanged(CompilerConfigurationChangeFlags.CLASSPATH_CHANGED); return true; } else {/*from www. j a va 2 s. co m*/ return false; } }