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

-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Reply via email to