You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@apache.org> on 2007/04/26 09:45:23 UTC

dispatcher classes included in inputModule.jar

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/
generation

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

... 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.

-David