ant Main class not found ------------------------- Key: FOR-1189 URL: https://issues.apache.org/jira/browse/FOR-1189 Project: Forrest Issue Type: Bug Components: Core operations Affects Versions: 0.8 Reporter: David Wood
I'm running windows XP SP3 and get the following when running forrest from the command line in a site directory. C:\dev\eclipse-ws\policy\Imperius-site>forrest site The syntax of the command is incorrect. Apache Forrest. Run 'forrest -projecthelp' to list options The syntax of the command is incorrect. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main See my environment here. C:\dev\eclipse-ws\policy\Imperius-site>env | grep -i forrest FORREST_HOME=/dev/apache-forrest-0.8 PATH=/cygdrive/c/dev/java/jre1.5.0/bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Per l/bin:/usr/bin:/cygdrive/c/dev/java/j2sdk50/bin:/cygdrive/c/java/C:/Program File s/TeXLive/bin/win32:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c /WINDOWS/System32/Wbem:/cygdrive/c/Program Files/IBM/Infoprint Select:/cygdrive/ c/Notes:/cygdrive/c/Program Files/XLView:/cygdrive/c/lotus/compnent:/cygdrive/c/ Utilities:/cygdrive/c/Program Files/IBM/Personal Communications/:/cygdrive/c/Pro gram Files/IBM/Trace Facility/:/cygdrive/c/utilities/WinSCP/:/cygdrive/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c/Program Files/ThinkPad/ConnectUtilities:/ cygdrive/c/WINDOWS/Downloaded Program Files:/cygdrive/c/dev/ant170/bin:/cygdrive /c/dev/maven209/bin:/cygdrive/c/Program Files/MySQL/MySQL Server 5.0/bin:/cygdri ve/c/dev/fabric-2.5-replay/fabric-2.5/bin:/cygdrive/c/dev/wpml/bin:/cygdrive/c/d ev/grails-1.1.1/bin:/cygdrive/c/Program Files/Subversion/bin:/cygdrive/c/dev/MQe /ServerSupport/_jvm/jre/bin:/cygdrive/c/dev/MQe/ServerSupport/_jvm/jre/bin/class ic:/cygdrive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/dev/apache-forrest- 0.8/bin C:\dev\eclipse-ws\policy\Imperius-site> Perhaps this has something to do with the /cygdrive based path names. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira