Issue Type: Bug Bug
Affects Versions: 0.8
Assignee: Unassigned
Components: admin
Created: 30/May/13 8:10 PM
Description:

Target install-forge fails with an error message if Forge is not pre-installed.

One issue appears to be that the property forge.home.check which is set in target validate-forge-home-version is not used anywhere else in the script. This means that a failed validation of the existence of the Forge home directory is not acted upon.

Output from Ant console:

[...]
request-forge-install:
check-forge-home:
request-forge-home:
set-forge-home:
validate-forge-home-version:
download-sy-forge-module-check:
download-sy-tools-check:
download-sy-tools:
[echo] Downloading SwitchYard Tools Bundle ...
[get] Getting: http://downloads.jboss.org/switchyard/releases/v0.8.Final/switchyard-tools-0.8.0.Final.zip
[get] To: C:\Users\dcroft\Desktop\switchyard-installer-0.8.0.Final\switchyard-installer-0.8\res\switchyard-tools.zip
extract-sy-tools-forge:
[unzip] Expanding: C:\Users\dcroft\Desktop\switchyard-installer-0.8.0.Final\switchyard-installer-0.8\res\switchyard-tools.zip into C:\Users\dcroft\Desktop\switchyard-installer-0.8.0.Final\switchyard-installer-0.8\res
download-sy-forge-module:
install-forge:
[echo] Creating switchyard directory...
[echo] Unzipping switchyard forge plugin module...
[unzip] Expanding: C:\Users\dcroft\Desktop\switchyard-installer-0.8.0.Final\switchyard-installer-0.8\res\switchyard-forge-plugins.zip into C:\Users\dcroft\.forge\plugins\org\switchyard
[echo] Unzipped SwitchYard forge plugin.
[echo] Installing forge plugin to C:\Users\dcroft/.forge ...
[java] C:\Users\dcroft\Desktop\switchyard-installer-0.8.0.Final\switchyard-installer-0.8\modules\org\jboss\forge\main does not exist.
[java] at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)

Environment: Java 7, Windows, Ant 1.9.1
Project: SwitchYard
Priority: Minor Minor
Reporter: David Wallace Croft
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira