You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/02/14 22:27:54 UTC
[issues] Closed: (FOR-116) Forrest fails to execute, missing "var" task
Message:
The following issue has been closed.
Resolver: Florian G. Haas
Date: Sat, 14 Feb 2004 10:46 PM
Looks good to me, thanks.
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-116
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-116
Summary: Forrest fails to execute, missing "var" task
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Forrest
Component: shbat distribution - Forrest CLI
Fix For: 0.6
Versions:
HEAD
Assignee:
Reporter: Florian G. Haas
Created: Sat, 14 Feb 2004 12:58 PM
Updated: Sat, 14 Feb 2004 10:46 PM
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.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira