So, if I have a build.xml that:
<project name="bpel.deploy" default="deploy" basedir=".">
<filter filtersfile="${project.root}/src/main/filters/filter.properties"
/>
<import file="${project.root
}/tools/build-tools/src/main/resources/bpel/common-build.xml"/>
.....
How do I accomplish this in my maven antrun section? I need to define an
external filter to my common-build.xml
On 10/5/07, Tim Kettler <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>
--
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
---