You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2007/12/13 03:30:10 UTC
[m2] filters.property file does not filter project properties all the sudden
I have entries like this in my filters.properties files:
c2.calculateCOBTotal.service.url=http://rc-sun66e:7777/orabpel/dap_c2/CalculateCOBTotal/
*${project.version}*
and when it gets filtered during the build, I still end up with
location="http://rc-sun66e:7777/orabpel/dap_c2/GetMTVIds*/${project.version
}"*/>
Am I missing something? I thought project properties where always available
in the filters.
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---
Re: [m2] filters.property file does not filter project properties all the sudden
Posted by Mick Knutson <mi...@gmail.com>.
I actually think I have additional issues...
This problem is inside an ant script that uses a filters file.
I have an ant pluging:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>bpelc</id>
<phase>process-classes</phase>
<configuration>
<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}"/>
*<property name="filtersfile"
value="${projectRoot}/src/main/filters/filter-${env}.properties"/>*
<target name="compile"/>
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
Where Ant needs to use the filters file as well.
Is there a way to tell the ant plugin to pre-filter this filter?
On Dec 12, 2007 6:30 PM, Mick Knutson <mi...@gmail.com> wrote:
> I have entries like this in my filters.properties files:
>
>
> c2.calculateCOBTotal.service.url=http://rc-sun66e:7777/orabpel/dap_c2/CalculateCOBTotal/
> *${project.version}*
>
> and when it gets filtered during the build, I still end up with
>
> location="http://rc-sun66e:7777/orabpel/dap_c2/GetMTVIds*/${
> project.version}"*/>
>
>
> Am I missing something? I thought project properties where always
> available in the filters.
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---