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

Forrest fails to execute, missing "var" task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • Launch 'forrest'
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: