Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-116

Forrest fails to execute, missing "var" task

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: Launch 'forrest'
    • Labels:
      None
    • Environment:
      Linux 2.4.24 on Debian sarge, JDK 1.4.2

      Description

      Forrest builds OK, but subsequently invoking forrest (run|site|webapp|war) fails after emitting the following messages:


      Apache Forrest. Run 'forrest -projecthelp' to list options

      Buildfile: /home/fgh/workspace/xml-forrest/build/dist/shbat/bin/../forrest.build.xml
      Could not load definitions from resource
      net/sf/antcontrib/antcontrib.properties. It could not be found.

      init-props:
      Loading project specific properties from /home/fgh/forrest/forrest.properties
      Loading user specific properties from /home/fgh/forrest.properties
      Loading default properties
      from /home/fgh/workspace/xml-forrest/build/dist/shbat/bin/../default-forrest.properties
      Reading filters from /home/fgh/forrest/build/tmp/projfilters.properties
      forrest.basic.jvmargs:-Dproject.home="/home/fgh/forrest"
      -Dforrest.home="/home/fgh/workspace/xml-forrest/build/dist/shbat/bin/.."
      Could not load definitions from resource
      net/sf/antcontrib/antcontrib.properties. It could not be found.

      echo-settings:

      examine-proj:

      validation-props:

      validate-skinconf:
      ...validated skinconf

      load-project-props:

      load-forrest-props:

      init-skinprops:
      Reading filters from /home/fgh/forrest/build/tmp/skinfilters.properties

      check-skin:

      fetch-skins-descriptors:

      BUILD FAILED
      /home/fgh/workspace/xml-forrest/build/dist/shbat/targets/skins.xml:77: Could
      not create task or type of type: var.

      [... explanation of Ant error ...]

      Total time: 4 seconds


      It appears that the "var" task is defined in forrest.build.xml by a "taskdef resource=", for which the corresponding resource
      (net/sf/antcontrib/antcontrib.properties) is enclosed in tools/ant/lib/ant-contrib-0.6.jar. This JAR file is not being picked up by the Forrest classpath due to an incorrect classpath entry in forrest.build.xml.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              f.g.haas Florian G. Haas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: