Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-1189

ant Main class not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.8
    • 0.8
    • Core operations
    • None
    • Normal

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dawood@us.ibm.com David Wood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: