Hi,
looking at the tasks documentation [1], it seems that the task just
doen't support the nested <filter/> element.
-Tim
[1] http://ant.apache.org/manual/CoreTasks/ant.html
Mick Knutson schrieb:
I am trying to add a <filter> to my ant task:
<tasks>
<ant
antfile="${projectRoot}/tools/build-tools/src/main/resources/bpel/common-
build.xml"
inheritRefs="true">
<property name="env.BPEL_HOME"
value="${bpel.home}"/>
<property name="rev" value="${
project.version}"/>
<property name="projectRoot"
value="${projectRoot}"/>
<filter
filtersfile="${project.root}/src/main/filters/filter.properties"
/>
<target name="compile"/>
</ant>
</tasks>
But I keep getting this error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The <ant> type doesn't support the nested "filter" element.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
tasks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]