Hello,

 

I have the following Xmltask:

 

<xmltask

       source="${ivy.repo}/${module.module}/${module.revision}/ivy-${module.revision}.xml"

       dest="${ivy.repo}/${module.module}/${module.revision}/ivy-${module.revision}.xml">

       <insert path="/ivy-module/dependencies/dependency"

              position="under">

                    <![CDATA[

                           <dependency org="" name="]]>${dependency.module}"<![CDATA[rev="]]>${dependency.revision}<![CDATA[" conf="compile->default"/>

                    ]]>

</insert>

</xmltask>

 

In the CDATA inserted I need the conf=”compile->default” as it is (Ivy repository file), however after running the task, the insert is done correctly, but the > character is replaced (the result):

 

<dependency conf="compile-&gt;default" name="org.eclipse.emf.ecore" org="" rev="2.8.0"/>

 

I guess by default you scape < and > to enforce well formatted xml’s, but I think they should not be replaced if inside a string.

 

Is there any workaround or fix? Do I have to provide my own outputter ??!!??

 

Regards,

 

Horacio Hoyos Rodríguez

EngD Student

University of York