forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject dispatcher classes included in inputModule.jar
Date Thu, 26 Apr 2007 07:45:23 GMT
When i deployed the org.apache.forrest.plugin.output.inputModule
plugin today, i noticed that the built jar also contains
Dispatcher classes. It seems to be all the classes from
the dispatcher plugin.

Some more observations ...

[localhost]$ cd plugins/org.apache.forrest.plugin.output.inputModule
[localhost]$ forrest run

[localhost]$ ls build/classes/org/apache/forrest/

[localhost]$ $FORREST_HOME/tools/ant/bin/ant local-deploy
[localhost]$ ls build/classes/org/apache/forrest/

... all okay so far.

[localhost]$ $FORREST_HOME/tools/ant/bin/ant deploy
ls build/classes/org/apache/forrest/
dispatcher      generation

They seem to get added during the building of the docs.

When you unpack the *.zip that was deployed and then
extract the *.jar, it contains those extra classes.

For the first deploy of the plugin, then all is okay.
There are no extra classes.

For subsequent deploys, the extra classes are included.
Sure we can get the "jar" target to clean the
build/classes directory first. However, why are those
classes appearing here.


View raw message