[ 
https://issues.apache.org/jira/browse/FOR-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Crossley reopened FOR-1137:
---------------------------------


Re-opened. The previous change was reverted. Now it just builds the plugins 
always (having java code or not).

I have tried various incantations that all work well from a plugin using the 
"local-deploy" target.

However, when doing '$FORREST_HOME/main/build.sh test' (i.e. building the test 
sites) it seems to completely skip the local-deploy step.

> empty jar files are built for plugins even if they have no java code
> --------------------------------------------------------------------
>
>                 Key: FOR-1137
>                 URL: https://issues.apache.org/jira/browse/FOR-1137
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugins (general issues)
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: David Crossley
>            Priority: Minor
>             Fix For: 0.9-dev
>
>
> In $FORREST_HOME/plugins/build.xml file, the test for "java_exists" around 
> line 90 is not sufficient. The pluginTemplate now has an empty default 
> directory stucture for "src/java" with only a readme.txt file. So we get an 
> almost-empty jar file. Need to test for presence of files other than 
> top-level readme.txt
> Not a problem, just clutter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.