Fix use of import and parse with file objects

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2003-02-15 14:47:39 +00:00
parent d08348b17d
commit fd9212facc

View File

@@ -33,7 +33,7 @@
<j:forEach var="file" items="${latkaFiles.iterator()}">
<echo>Executing ${file}</echo>
<j:import uri="${file.toURL().toExternalForm()}" inherit="true"/>
<j:import file="${file.canonicalPath}" inherit="true"/>
</j:forEach>
@@ -82,13 +82,14 @@
<!-- Major hack - set jaxp properties as they are foobared -->
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
<x:parse xml="file://${jmeterFile}" var="jmeter"/>
<u:file var="jmeterAsFile" name="${jmeterFile}" />
<x:parse xml="${jmeterAsFile}" var="jmeter"/>
<mkdir dir="${maven.build.dir}/latka" />
<j:file name="${outFileName}" prettyPrint="true">
<x:element name="j:jelly">
<x:attribute name="xmlns:j">jelly:core</x:attribute>
<x:attribute name="xmlns">jelly:org.apache.commons.latka.jelly.LatkaTagLibrary</x:attribute>
<j:import uri="file://${plugin.resources}/jmeter2suite.jelly" inherit="true"/>
<j:import file="${plugin.resources}/jmeter2suite.jelly" inherit="true"/>
</x:element>
</j:file>
<echo>Latka test suite '${outFileName}' created</echo>