issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | assertOptionEquals( "report method with cons name",
options,
CompilerOptions.OPTION_ReportMethodWithConstructorName,
CompilerOptions.WARNING);
assertOptionEquals( "report deprecation",
options,
CompilerOptions.OPTION_ReportDeprecation,
CompilerOptions.WARNING);
... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | CompilerOptions.OPTION_ReportAssertIdentifier,
CompilerOptions.WARNING);
}
public void testNoDebugOptions() {
buildOptions.setDebugLevel( null );
buildConfig = compilerAdapter.genBuildConfig( configFile );
assertTrue(configFile + " failed", null != buildConfig);
M... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | assertOptionEquals( "debug source",
options,
CompilerOptions.OPTION_SourceFileAttribute,
CompilerOptions.GENERATE);
assertOptionEquals( "debug lines",
options,
CompilerOptions.OPTION_LineNumberAttribute,
CompilerOptions.GENERATE);
assertOptionEquals( "debug va... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | options,
CompilerOptions.OPTION_LineNumberAttribute,
CompilerOptions.GENERATE);
assertOptionEquals( "debug vars",
options,
CompilerOptions.OPTION_LocalVariableAttribute,
CompilerOptions.GENERATE);
}
public void testDebugSet() {
HashSet debugO... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | CompilerOptions.OPTION_LocalVariableAttribute,
CompilerOptions.GENERATE);
}
public void testNoImport() {
buildOptions.setNoImportError( true );
buildConfig = compilerAdapter.genBuildConfig( configFile );
assertTrue(configFile + " failed", null != buildConfig); ... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | buildConfig = compilerAdapter.genBuildConfig( configFile );
assertEquals( "Xlint", AjBuildConfig.AJLINT_DEFAULT,
buildConfig.getLintMode());
buildOptions.setNonStandardOptions( "-Xlint:error" );
buildConfig = compilerAdapter.genBuildConfig( configFile );
assertEquals( "Xlint", Aj... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | assertTrue(configFile + " failed", null != buildConfig);
List configRoots2 = buildConfig.getSourceRoots();
assertTrue( "one source dir", configRoots2.size() == 1 );
assertTrue( "source dir", configRoots2.contains(f) );
File f2 = new File( AjdeTests.testDataPath("examples/figures/figures-demo"));... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | File f2 = new File( "jartwo.jar" );
jars.add( f2 );
buildConfig = compilerAdapter.genBuildConfig( configFile );
List inJars3 = buildConfig.getInJars();
assertTrue( "two in jars", inJars3.size() == 2 );
assertTrue( "in jar 1", inJars3.contains(f) );
assertTrue( "in jar 2", inJars3.contains(f2) );
}
... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | List aPath3 = buildConfig.getAspectpath();
assertTrue( "two jars in path", aPath3.size() == 2 );
assertTrue( "1 aspectpath", aPath3.contains(f) );
assertTrue( "2 aspectpath", aPath3.contains(f2) );
}
public void testOutJar() {
String outJar = "mybuild.jar";
projectProperties.setOutJar( outJar );
buil... |
164,288 | Bug 164288 Can no longer compile JDK 1.5 projects with apsectj for JDeveloper | I am working with AspectJ 1.5.2 in JDeveloper and have found that it is not possible to convince the compiler to use JDK 5 constructs. It appears that there is a method on AjcBuildOptions called getJavaOptionsMap() which is currently implemented to return null in all cases. In CompilerAdapter.configureBuildOptions areo... | resolved fixed | c54fa62 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-17T13:45:52Z | 2006-11-13T09:26:40Z | ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java | null,
taskListManager,
null,
projectProperties,
buildOptions,
null,
null,
handler);
} catch (Throwable t) {
String s = "Unable to initialize AJDE "
+ LangUtil.renderExc... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | /*******************************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available ... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | import org.aspectj.weaver.AnnotationX;
import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.World;
import org.aspectj.weaver.bcel.BcelPerClauseAspectAdder;
import org.aspectj.weaver.bcel.BcelWorld;
import org.aspectj.weaver... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | private final static String[] EMPTY_STRINGS = new String[0];
private final static Type[] EMPTY_TYPES = new Type[0];
/**
* Concrete aspect definition we build for
*/
private final Definition.ConcreteAspect m_concreteAspect;
/**
* World for which we build for
*/
private final World... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | * The parent aspect, not concretized
*/
private ResolvedType m_parent;
/**
* Aspect perClause, used for direct munging of aspectOf artifacts
*/
private PerClause m_perClause;
/**
* Create a new compiler for a concrete aspect
*
* @param concreteAspect
* @param world
... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | reportError("Attempt to concretize but chosen aspect name already defined: " + stringify());
return false;
}
if (m_concreteAspect.extend == null && m_concreteAspect.precedence != null) {
if (m_concreteAspect.pointcuts.isEmpty()) {
m_isValid = true;
... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | }
}
if (m_parent.isMissing()) {
reportError("Cannot find m_parent aspect for: " + stringify());
return false;
}
if (!m_parent.isAbstract()) {
reportError("Attempt to concretize a non-abstract aspect: " + stringify());
return false;... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | } else {
reportError("Abstract method '" + method.toString() + "' cannot be concretized in XML: " + stringify());
return false;
}
} else {
if (method.getName().startsWith("ajc$pointcut") || hasPointcutAnnotation(method)) {
... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | m_isValid = true;
return m_isValid;
}
private Collection getOutstandingAbstractMethods(ResolvedType type) {
Map collector = new HashMap();
getOutstandingAbstractMethodsHelper(type,collector);
return collector.values();
}
private void getOutstandingAbstract... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | }
}
}
/**
* Rebuild the XML snip that defines this concrete aspect, for log error purpose
*
* @return string repr.
*/
private String stringify() {
StringBuffer sb = new StringBuffer("<concrete-aspect name='");
sb.append(m_concreteAspect.name);
sb.append("' ext... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | /**
* Build the bytecode for the concrete aspect
*
* @return concrete aspect bytecode
*/
public byte[] getBytes() {
if (!m_isValid) {
throw new RuntimeException("Must validate first");
}
L... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | cg.getConstantPoolGen()
);
cg.addAnnotation(ag.getAnnotation());
if (m_concreteAspect.precedence != null) {
SimpleElementValueGen svg = new SimpleElementValueGen(
ElementValueGen.STRING,
cg.getConstantPoolGen(),
m_concreteAs... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | cbody.append(cg.getFactory().createInvoke(
(m_parent==null)?"java/lang/Object":m_parent.getName().replace('.', '/'),
"<init>",
Type.VOID,
EMPTY_TYPES,
Constants.INVOKESPECIAL
));
cbody.append(InstructionConstants.RETURN);
... |
165,148 | Bug 165148 [ltw] Unnecessary exceptions during concretization of aspects in aop.xml | Due to the mechanism used in ConcreteAspectCodeGen I see a lot of unnecessary exceptions created. The problem is rather than looking up a type to confirm it doesn't exist before defining it, the code uses a resolve() to check if it exists and resolve attempts to build it if it isnt there. Because the classloader will n... | resolved fixed | e8d2556 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-11-20T13:20:41Z | 2006-11-20T13:40:00Z | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | cg.getConstantPoolGen()
);
AnnotationX max = new AnnotationX(mag.getAnnotation(), m_world);
mg.addAnnotation(max);
InstructionList body = mg.getBody();
body.append(InstructionConstants.RETURN);
cg.addMethodGen(mg);
}
BcelPe... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /* *******************************************************************
* Copyright (c) 2001-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC)
* 2003-2004 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.tools.ant.AntClassLoader;
impor... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | import org.apache.tools.ant.types.Reference;
import org.apache.tools.ant.types.ZipFileSet;
import org.apache.tools.ant.util.TaskLogger;
import org.aspectj.bridge.AbortException;
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.IMessageHandler;
import org.aspectj.bridge.IMessageHolder;
import org.aspectj.br... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /*
* This task mainly converts ant specification for ajc,
* verbosely ignoring improper input.
* It also has some special features for non-obvious clients:
* (1) Javac compiler adapter supported in
* <code>setupAjc(AjcTask, Javac, File)</code>
* and
* <code>readArguments(String... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * the iajc ant script, Javac compiler adapter,
* maven clients of iajc, and testing code.
*/
/**
* This method extracts javac arguments to ajc,
* and add arguments to make ajc behave more like javac
* in copying resources.
* <p>
* Pass ajc-specific options using compilerarg s... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * @param javac the Javac command to implement (not null)
* @param ajc the AjcTask to adapt (not null)
* @param destDir the File class destination directory (may be null)
* @return null if no error, or String error otherwise
*/
public String setupAjc(Javac javac) {
if (null == jav... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (null != javacDestDir) {
ajc.setDestdir(javacDestDir);
ajc.setSourceRootCopyFilter("**/CVS/*,**/*.java,**/*.aj");
}
ajc.setBootclasspath(javac.getBootclasspath());
ajc.setExtdirs(javac.getExtdirs());
ajc.setClasspath(javac.getC... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | File result = null;
ClassLoader loader = AjcTask.class.getClassLoader();
if (loader instanceof AntClassLoader) {
AntClassLoader taskLoader = (AntClassLoader) loader;
String cp = taskLoader.getClasspath();
String[] cps = LangUtil.splitClasspath(cp);
for (in... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | final int minLength = 16;
if (!path.endsWith(suffix)) {
return null;
}
int loc = path.lastIndexOf(prefix);
if ((-1 != loc) && ((loc + minLength) <= path.length())) {
String rest = path.substring(loc+prefixLength);
if (-1 != rest.indexO... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
};
private static final String USAGE_SUBSTRING = "AspectJ-specific options";
private static final List VALID_XOPTIONS;
private static final List VALID_WARNINGS;
private static final List VALID_DEBUG;
/**
* -Xlint variants (error, warning, ignore)
* @see org.aspectj.we... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | { "serializableAspects", "incrementalFile", "lazyTjp",
"reweavable", "reweavable:compress", "notReweavable", "noInline",
"terminateAfterCompilation","hasMember",
"ajruntimetarget:1.2", "ajruntimetarget:1.5",
"addSerialVersionUID"
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | System.err.println("Warning: unable to load command editor");
t.printStackTrace(System.err);
}
COMMAND_EDITOR = editor;
}
private boolean verbose;
private boolean listFileArgs;
private boolean failonerror;
private boolean fork;
private String maxMem;
private Tas... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private List adapterFiles;
private String[] adapterArguments;
private IMessageHolder messageHolder;
private ICommandEditor commandEditor;
private boolean copyInjars;
private boolean copyInpath;
private String sourceRootCopyFilter;
private String inpathDirCopyFilter;... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private boolean executing;
private Main main;
private boolean executingInOtherVM;
private boolean inIncrementalMode;
private boolean inIncrementalFileMode;
private boolean logCommand;
private CommandlineJava javaCmd = new CommandlineJava();
publ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | copyInjars = false;
copyInpath = false;
destDir = DEFAULT_DESTDIR;
executing = false;
executingInOtherVM = false;
extdirs = null;
failonerror = true;
forkclasspath = null;
inIncrementalMode = false;
inIncrementalFileMode = false;
ignored ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
protected String validCommaList(String list, List valid, String label) {
return validCommaList(list, valid, label, valid.size());
}
protected String validCommaList(String list, List valid, String label, int max) {
StringBuffer result = new StringBuffer();
StringTokenizer... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
result.append(token);
}
}
return (0 == result.length() ? null : result.toString());
}
public void setIncremental(boolean incremental) {
cmd.addFlag("-incremental", incremental);
inIncrementalMode = incremental;
}
public void setLogCommand(boolean logCommand) {
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
public void setXNoWeave(boolean b) {
if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored");
}
public void setNoWeave(boolean b) {
if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored");
}
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | warnings = validCommaList(warnings, VALID_WARNINGS, "warn");
cmd.addFlag("-warn:" + warnings, (null != warnings));
}
public void setDebug(boolean debug) {
cmd.addFlag("-g", debug);
}
public void setDebugLevel(String level) {
level = validCommaList(level, VALID_DEBUG, "g");
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | xlint = validCommaList(xlint, VALID_XLINT, "Xlint", 1);
cmd.addFlag("-Xlint:" + xlint, (null != xlint));
}
/**
* -Xlintfile {lint.properties} - enable or disable specific forms
* of -Xlint messages based on a lint properties file
* (default is
* <code>org/aspectj/weaver/XLintDefault.properties<... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | cmd.addFlag("-verbose", verbose);
this.verbose = verbose;
}
public void setListFileArgs(boolean listFileArgs) {
this.listFileArgs = listFileArgs;
}
public void setReferenceInfo(boolean referenceInfo) {
cmd.addFlag("-referenceInfo", referenceInfo);
}
public void se... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public void setMaxmem(String maxMem) {
this.maxMem = maxMem;
}
public Commandline.Argument createJvmarg() {
return this.javaCmd.createVmArgument();
}
public void setTagFile(File file) {
inIncrementalMode = true;
cmd.addFlagged(Main.CommandController.TAG_FILE_OPTI... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | cmd.addFlag("-outxml",outxml);
}
public void setOutxmlfile(String name) {
cmd.addFlagged("-outxmlfile", name);
}
public void setDestdir(File dir) {
if (null != outjar) {
String e = "specifying both output jar ("
+ outjar
+ ") and destination d... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * If not set explicitly, eclipse default holds.
* @param input a String in COMPLIANCE_INPUTS
*/
public void setCompliance(String input) {
String ignore = cmd.addOption(null, COMPLIANCE_INPUTS, input);
if (null != ignore) {
ignore(ignore);
}
}
/**
* So... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
/**
* Option to copy all files from
* all source root directories
* except those specified here.
* If this is specified and sourceroots are specified,
* then this will copy all files except
* those specified in the filter pattern.
* Requires sourceroots.
*
* @pa... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * filter for an Ant Zip fileset.
*/
public void setInpathDirCopyFilter(String filter){
if (null != filter) {
if (-1 == filter.indexOf("**/*.class")) {
filter = "**/*.class," + filter;
}
}
this.inpathDirCopyFilter = filter;
}
public ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | this.messageHolder = holder;
}
/**
* Setup custom message handling.
* @param className the String fully-qualified-name of a class
* reachable from this object's class loader,
* implementing IMessageHolder, and
* having a public no-argument constructor.
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * <code>org.aspectj.tools.ant.taskdefs.AjcTask.COMMAND_EDITOR</code>
* with the <code>className</code> parameter.
* @param className the String fully-qualified-name of a class
* reachable from this object's class loader,
* implementing ICommandEditor, and
* having a ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | source.append(toAdd);
}
return source;
}
public void setSourcerootsref(Reference ref) {
createSourceRoots().setRefid(ref);
}
public void setSourceRoots(Path roots) {
sourceRoots = incPath(sourceRoots, roots);
}
public Path createSourceRoots() {
if (so... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
public void setInjars(Path path) {
injars = incPath(injars, path);
}
public void setInpath(Path path) {
inpath = incPath(inpath,path);
}
public Path createInjars() {
if (injars == null) {
injars = new Path(project);
}
return injars.createP... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public Path createClasspath() {
if (classpath == null) {
classpath = new Path(project);
}
return classpath.createPath();
}
public void setBootclasspath(Path path) {
bootclasspath = incPath(bootclasspath, path);
}
public void setBootclasspathref(... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (forkclasspath == null) {
forkclasspath = new Path(project);
}
return forkclasspath.createPath();
}
public void setExtdirs(Path path) {
extdirs = incPath(extdirs, path);
}
public void setExtdirsref(Reference ref) {
createExtdirs().setRefid(ref)... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | return aspectpath.createPath();
}
public void setSrcDir(Path path) {
srcdir = incPath(srcdir, path);
}
public Path createSrc() {
return createSrcdir();
}
public Path createSrcdir() {
if (srcdir == null) {
srcdir = new Path(project);
}
r... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | public Path createArgfiles() {
if (argfiles == null) {
argfiles = new Path(project);
}
return argfiles.createPath();
}
/**
* Compile using ajc per settings.
* @exception BuildException if the compilation has problems
* or if... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (!fork) {
executeInSameVM(args);
} else {
executeInOtherVM(args);
}
} catch (BuildException e) {
throw e;
} catch (Throwable x) {
this.logger.error(Main.renderExceptionForUser(x));
throw new BuildException("IGNO... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | Main me = main;
if (null != me) {
me.quit();
}
return true;
}
String[] makeCommand() {
ArrayList result = new ArrayList();
if (0 < ignored.size()) {
for (Iterator iter = ignored.iterator(); iter.hasNext();) {
logVerbose("ignored: ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
result.addAll(cmd.extractArguments());
addListArgs(result);
String[] command = (String[]) result.toArray(new String[0]);
if (null != commandEditor) {
command = commandEditor.editCommand(command);
} else if (null != COMMAND_EDITOR) {
command = COM... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | File injar = zipDirectory(xweaveDir);
setInjars(new Path(getProject(), injar.getAbsolutePath()));
setDestdir(xweaveDir);
}
}
protected File zipDirectory(File dir) {
File tempDir = new File(".");
try {
tempDir = File.createTempFile("AjcTest", ".tmp")... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | delete.setProject(getProject());
delete.setTaskName(getTaskName() + " - delete");
delete.setDir(dir);
delete.execute();
Mkdir mkdir = new Mkdir();
mkdir.setProject(getProject());
mkdir.setTaskName(getTaskName() + " - mkdir");
mkdir.setDir(dir);
mkdir.execu... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | sb.append(REQ);
}
if (0 < sb.length()) {
throw new BuildException(sb.toString());
}
}
/**
* Run the compile in the same VM by
* loading the compiler (Main),
* setting up any message holders,
* doing the compile,
* and converting abort/failure and err... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | } else {
numPreviousErrors = holder.numMessages(IMessage.ERROR, true);
}
{
Main newmain = new Main();
newmain.setHolder(holder);
newmain.setCompletionRunner(new Runnable() {
public void run() {
doCompletionTasks();
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | {
IMessage[] fails = holder.getMessages(IMessage.FAIL, true);
if (!LangUtil.isEmpty(fails)) {
StringBuffer sb = new StringBuffer();
String prefix = "fail due to ";
int numThrown = 0;
for (int i = 0; i < fails.length; i++) {
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | prefix = ", ";
}
if (0 < sb.length()) {
sb.append(" (" + numThrown + " exceptions)");
throw new BuildException(sb.toString());
}
}
}
}
/**
* Execute in a separate VM.
* Differences from nor... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | File aspectjtools = null;
int vmClasspathSize = vmClasspath.size();
if ((null != forkclasspath)
&& (0 != forkclasspath.size())) {
vmClasspath.addExisting(forkclasspath);
} else {
aspectjtools = findAspectjtoolsJar();
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (args.length != numArgs) {
tempFile = new File(args[1]);
}
try {
boolean setMessageHolderOnForking = (this.messageHolder != null);
String[] javaArgs = javaCmd.getCommandline();
String[] both = new String[javaArgs.length + args.length + (setMessageHolderOn... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | doCompletionTasks();
} finally {
if (null != tempFile) {
tempFile.delete();
}
}
}
/**
* Execute in another process using the same JDK
* and the base directory of the project. XXX correct?
* @param args
* @return
*/
protect... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | throw new BuildException(s, location);
}
executingInOtherVM = true;
exe.execute();
} finally {
executingInOtherVM = false;
}
return exe.getExitValue();
} catch (IOException e) {
String m = "Error exec... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | addFlaggedPath("-aspectpath", aspectpath, list);
addFlaggedPath("-injars", injars, list);
addFlaggedPath("-inpath", inpath, list);
addFlaggedPath("-sourceroots", sourceRoots, list);
if (argfiles != null) {
String[] files = argfiles.list();
for (int i = 0;... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
if (0 < adapterFiles.size()) {
for (Iterator iter = adapterFiles.iterator(); iter.hasNext();) {
File file = (File) iter.next();
if (file.canRead() && FileUtil.hasSourceSuffix(file)) {
list.add(file.getAbsolutePath());
} else {
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (isDir ^ file.isDirectory()) {
String e = file + " should" + (isDir ? "" : "n't") +
" be a directory!";
throw new BuildException(e, loc);
}
return true;
}
/**
* Called when compile or incremental compile is completing,
* this completes ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* Complete the destination directory
* by copying resources from the source root directories
* (if the filter is specified)
* and non-.class files from the input jars
* (if XCopyInjars is enabled).
*/
private void completeDestdir() {
if (!copyInjars && (null == sourceRoot... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | unzip.setProject(project);
unzip.setTaskName(taskName);
unzip.setDest(destDir);
unzip.setSrc(new File(paths[i]));
unzip.addPatternset(patternSet);
unzip.execute();
}
}
}
if ((n... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | copy.setTodir(destDir);
boolean gotDir = false;
for (int i = 0; i < paths.length; i++) {
File inpathDir = new File(paths[i]);
if (inpathDir.isDirectory() && inpathDir.canRead()) {
if (!gotDir) {
g... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | || (!copyInjars && (null == sourceRootCopyFilter)
&& (null == inpathDirCopyFilter))) {
return;
}
Zip zip = new Zip();
Project project = getProject();
zip.setProject(project);
zip.setTaskName(getTaskName() + " - zip");
zip.setDestFil... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (!LangUtil.isEmpty(paths)) {
for (int i = 0; i < paths.length; i++) {
File srcRoot = new File(paths[i]);
FileSet fileset = new FileSet();
fileset.setProject(project);
fileset.setDir(srcRoot);
fileset.s... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* Add specified source files.
*/
void addFiles(File[] paths) {
for (int i = 0; i < paths.length; i++) {
addFile(paths[i]);
}
}
/**
* Add specified source file.
*/
void addFile(File path) {
if (null != path) {
adapterFiles.add(path);... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | final String[] args;
int index = 0;
Args(String[] args) {
this.args = args;
}
boolean hasNext() {
return index < args.length;
}
String next() {
String err = null;
if (!hasNext()) {
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
Args in = new Args(args);
String flag;
while (in.hasNext()) {
flag = in.next();
if ("-1.3".equals(flag)) {
setCompliance(flag);
} else if ("-1.4".equals(flag)) {
setCompliance(flag);
} else if ("-1.5".equals(flag)) {... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setCrossrefs(true);
} else if ("-emacssym".equals(flag)) {
setEmacssym(true);
} else if ("-encoding".equals(flag)) {
setEncoding(in.next());
} else if ("-Xfailonerror".equals(flag)) {
setFailonerror(true);
} else if ("-fork"... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setNoExit(true);
} else if ("-noImportError".equals(flag)) {
setNoImportError(true);
} else if ("-noWarn".equals(flag)) {
setNowarn(true);
} else if ("-noexit".equals(flag)) {
setNoExit(true);
} else if ("-outjar".equals(fla... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setTarget(in.next());
} else if ("-time".equals(flag)) {
setTime(true);
} else if ("-time".equals(flag)) {
setTime(true);
} else if ("-verbose".equals(flag)) {
setVerbose(true);
} else if ("-showWeaveInfo".equals(flag)) {
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | setArgfiles(new Path(project, file.getPath()));
} else {
ignore(flag);
}
} else {
File file = new File(flag);
if (file.isFile()
&& file.canRead()
&& FileUtil.hasSourceSuffix(fi... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | Commandline command;
static boolean isEmpty(String s) {
return ((null == s) || (0 == s.trim().length()));
}
GuardedCommand() {
command = new Commandline(); |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
void addFlag(String flag, boolean doAdd) {
if (doAdd && !isEmpty(flag)) {
command.createArgument().setValue(flag);
}
}
String addOption(String prefix, String[] validOptions, String input) {
if (isEmpty(input)) {
return null;
}
... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
}
List extractArguments() {
ArrayList result = new ArrayList();
String[] cmds = command.getArguments();
if (!LangUtil.isEmpty(cmds)) {
result.addAll(Arrays.asList(cmds));
}
return result;
}
/**
* Adjust args for size if necessary by c... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | }
if (size <= max) {
return args;
}
File tmpFile = null;
PrintWriter out = null;
try {
String userDirName = System.getProperty("user.dir");
File userDir = new File(userDirName);
tmpFile = File.createTempFile("argfile", "", ... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private final boolean handledMessage;
public AntMessageHandler(TaskLogger logger, boolean taskVerbose, boolean handledMessage) {
this.logger = logger;
this.taskLevelVerbose = taskVerbose;
this.handledMessage = handledMessage;
}
/* (non-Javadoc)
* @see org.aspectj.bridge.IMessageHandler#handleMes... |
170,102 | Bug 170102 iajc Ant task doesn't support all warn options | The iajc Ant task currently supports only a few of the options provided by the ajc compiler. It would be nice if it could support them all so that builds done using the Ant task generate the same errors/warnings as the ones done within the Eclipse IDE. | resolved fixed | 5336603 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-01-11T08:43:18Z | 2007-01-10T17:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | this.logger.warning(messageText);
} else if (messageKind == IMessage.WEAVEINFO) {
this.logger.info(messageText);
} else if (messageKind == IMessage.TASKTAG) {
} else {
throw new BuildException("Unknown message kind from AspectJ compiler: " + messageKind.toString());
}
return handledMessage;
}
/* (... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | * Contributors:
* PARC initial implementation
* ******************************************************************/
package org.aspectj.ajdt.internal.compiler.problem;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Modifier;
import java.util.Iterator;
import java.util.L... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration;
import org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
import org.aspectj.org.eclipse.jdt.internal.compiler.impl.ReferenceContext;
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ArrayBinding;
import org.aspectj.or... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | private static final boolean DUMP_STACK = false;
public EclipseFactory factory;
public AjProblemReporter(
IErrorHandlingPolicy policy,
CompilerOptions options,
IProblemFactory problemFactory) {
super(policy, options, problemFactory);
}
public void unhandledException(
TypeBinding exceptionType,
AST... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | return;
}
for (Iterator i = factory.getWorld().getDeclareSoft().iterator(); i.hasNext(); ) {
DeclareSoft d = (DeclareSoft)i.next();
ResolvedType throwException = factory.fromEclipse((ReferenceBinding)exceptionType);
FuzzyBoolean isExceptionTypeOrSubtype =
d.getException().matc... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | }
}
}
}
if (location instanceof Proceed) {
return;
}
super.unhandledException(exceptionType, location);
}
private boolean isPointcutDeclaration(MethodBinding binding) {
return CharOperation.prefixEquals(PointcutDeclaration.mangledPrefix, binding.selector);
}
private boolean isIntertyp... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | ResolvedType onTypeX = null;
if (!type.isAnonymousType()) {
onTypeX = factory.fromEclipse(type);
} else {
onTypeX = factory.fromEclipse(type.superclass());
}
for (Iterator i = onTypeX.getInterTypeMungersIncludingSupers().iterator(); i.hasNext(); ) {
ConcreteTypeMunger m = (Concret... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | public void staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) {
if (currentMethod instanceof InterTypeMethodBinding) return;
if (inheritedMethod instanceof InterTypeMethodBinding) return;
super.staticAndInstanceConflict(currentMethod, inheritedMethod);
}
public void abstrac... |
171,667 | Bug 171667 When ordering a Clean with Build Automatico I receive the error below. | When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int... | resolved fixed | 4177bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2007-02-16T10:02:27Z | 2007-01-25T15:46:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | onTypeX = factory.fromEclipse(type.superclass());
}
for (Iterator i = onTypeX.getInterTypeMungersIncludingSupers().iterator(); i.hasNext(); ) {
ConcreteTypeMunger m = (ConcreteTypeMunger)i.next();
ResolvedMember sig = m.getSignature();
if (!Modifier.isAbstract(sig.getModifiers())) {
if (Resol... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.