Den 3. jun. 2010 kl. 01.39 skrev David Crossley: > Sjur Moshagen wrote: >> >> Here's my output: >> >> jar: >> Building jar: >> /usr/local/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/org.apache.forrest.plugin.internal.dispatcher.jar > > Did you see this bug (now fixed). > https://issues.apache.org/jira/browse/FOR-1195 > "the plugins 'clean' target should remove previously built classes" > > Perhaps your's missed the "compile" phase and just re-packed the jar. > > Needs '....ant clean' beforehand.
You were right. I manually deleted the whole build/ dir in dispatcher, cleaned forrest, rebuilt, cleaned by project, and reran. The relevant output was: compile: Created dir: /usr/local/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/classes Compiling 33 source files to /usr/local/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/classes Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 1 file to /usr/local/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/classes jar: Building jar: /usr/local/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/org.apache.forrest.plugin.internal.dispatcher.jar local-deploy: Locally deploying org.apache.forrest.plugin.internal.dispatcher Copying 354 files to /usr/local/forrest/build/plugins/org.apache.forrest.plugin.internal.dispatcher Copied 91 empty directories to 5 empty directories under /usr/local/forrest/build/plugins/org.apache.forrest.plugin.internal.dispatcher Copying 1 file to /usr/local/forrest/build/plugins/lib Copying 14 files to /usr/local/forrest/build/plugins/lib build: Plugin org.apache.forrest.plugin.internal.dispatcher deployed ! Ready to configure Still no problems, now using HEAD of trunk. Sjur > -David > >> $ java -version >> java version "1.6.0_20" >> Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) >> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) >> >> MacOS X 10.6.3