This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Processors in j2seproject src no longer run in test | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Project | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 179749 |
Description
Jesse Glick
2010-01-30 17:54:36 UTC
Workaround (assuming you want to run all processors in CP, the default): <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3"> <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}" apcmdline=""/> <copy todir="${build.test.classes.dir}"> <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> </copy> </target> Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b0946bc11c81 User: Jan Lahoda <jlahoda@netbeans.org> Log: #180048, #180033, #180034: improving the build-impl.xml (and related parts) to handle processorpath with spaces, run APs in tests that are defined in src folders, etc. Shouldn't this report be closed as fixed? It should be closed - it is possible, however, that we will need more changes to the build script in the future, as we get new reports. |