ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37604] New: - <style> task doesn't support the <mapper> aliases
Date Wed, 23 Nov 2005 10:55:02 GMT
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=37604>.
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=37604

           Summary: <style> task doesn't support the <mapper> aliases
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: maarten.coene@hotpop.com


Hi,

the <style> task doesn't support the <mapper> aliases like <globmapper>,

<identitymapper>, etc.

For instance:
<style basedir="${build.reports}/input" 
       destdir="${build.reports}/styled"
       style="${styles.dir}/style.xsl"
       force="true">
   <globmapper from="*.xml" to="*.styled.xml" />
</style>

this throws the following exception:
BUILD FAILED
C:\temp\build.xml:53: The <style> type doesn't support the nested "globmapper" 
element.

could this be fixed please?

A workaround is to use the 'type' attribute in the <mapper> element, but this 
doesn't work for the composite and chained mappers since they don't have 
a 'type' attribute.

regards,
Maarten

-- 
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


Mime
View raw message