Community
Participate
Working Groups
Hi, If .classpath defines the following line: <classpathentry kind="output" path=""/> AJDT fails to build the project with the following exception: java.lang.IllegalArgumentException at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62) at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1565) at org.eclipse.core.internal.resources.Container.getFolder(Container.java:137) at org.eclipse.ajdt.core.builder.CoreOutputLocationManager.workspacePathToFile(CoreOutputLocationManager.java:35) at org.eclipse.ajdt.core.builder.CoreOutputLocationManager.<init>(CoreOutputLocationManager.java:43) at org.eclipse.ajdt.core.builder.CoreProjectProperties.getOutputLocationManager(CoreProjectProperties.java:457) at org.aspectj.ajde.internal.CompilerAdapter.configureProjectOptions(CompilerAdapter.java:581) at org.aspectj.ajde.internal.CompilerAdapter.genBuildConfig(CompilerAdapter.java:170) at org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAdapter.java:97) at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191) IllegalArgumentException thrown: Path must include project and resource name: /cortex-microkernel Regards, Thiago Souza
Reproduced. This only seem to happen in the unusual case of a project where the project folder is the root for source and class files, and "allow output folders for source folders" is set, and a separate output folder is set for a source folder in the project.
Now fixed in: 1.4.1.200608150941 for Eclipse 3.2 (build.170) 1.5.0.200608150934 for Eclipse 3.3M1 (build.5)