You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/10/16 12:42:24 UTC
DO NOT REPLY [Bug 43635] New: - task can't be used more than once with a file stylesheet
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43635
Summary: <xslt> task can't be used more than once with a file
stylesheet
Product: Ant
Version: 1.7.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: stevel@apache.org
A sideeffect of moving to resource based stylesheets is that when xslt does its
work, it converts any xsltFile attribute into a resource, which it then stores
as an xsltResource. Unfortunately, that stops the task being used more than
once, as second time round, there is now an xsltResource attribute as well as an
xsltFile, and that is forbidden.
Error is surfacing in Ivy under Gump:
<target name="ivy-report" depends="ivy-resolve" if="ivy.found">
<ivy:report todir="${ivy.reports.dir}"/>
<echo> published Ivy report to
${ivy.reports.dir}
</echo>
</target>
ivy-report:
[ivy:report] Processing
/home/gump/.ivy2/cache/org.smartfrog-smartfrog-default.xml to
/srv/gump/public/workspace/smartfrog/smartfrog/buildextra/ivy/reports/org.smartfrog-smartfrog-default.html
[ivy:report] Loading stylesheet /home/gump/.ivy2/cache/ivy-report.xsl
BUILD FAILED
/srv/gump/public/workspace/smartfrog/smartfrog/build.xml:961: specify the
stylesheet either as a filename in style attribute or as a nested resource but
not as both
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43635] - task can't be used more than once with a file stylesheet
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43635
stevel@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From stevel@apache.org 2007-10-16 03:53 -------
fixed in SVN; we may want to move this to the 1.7.1 branch.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org