On 04/09/2015 03:04 PM, Stephen Connolly wrote:
On Thursday, April 9, 2015, Steve Cohen <[email protected]> wrote:
I think that both of these solutions (Karl's and Stephen's) fall short
because the redline:rpm ant task does some opaque magic to name the rpm.
Therefore it is impossible to specify other than by hardcoding the name of
the archive you want to attach and the maven plugins (buildhelper and
antrun) aren't flexible enough to accept wildcards.
I think you can do some trickery with ant's properties (as they are write
once) and use the antrun built in support as a stop-gap
I don't see how. Looking at the redline source, the ant task never
knows the name of the file it is building. The ant task sits atop the
Builder which puts together the name. The ant task takes no note of it
(other than to print it in the log). Guess this use case was not on the
top of the author's requirements. It would be a simple enough change.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]