We have a single file called aim_version.properties. In it is a string
@VERSION@ which is replaced with a property that I get from the command
line. I am building an assembly, and I need to change the @VERSION@ string
with a value of a property that I either get from the command line, or I get
as the default property in the pom.xml.

I looked up the assembly descriptor, and it tells me how to do filtering via
an already built properties file, but I don't want to do that. Instead, I
simply want to take the value of the property and filter this one file with
that property.

How do I do that while I build the assembly? I know how to specify this one
file when building the assembly, and I see how to do the filtering if the
value I want is in a properties file, but I need to take the value off the
command line.

-- 
David Weintraub
qazw...@gmail.com

Reply via email to