I don't know for sure, but I don't think it will be that easy. It is possible to build with multiple profiles. Some default active and some given with -Pprofile1,profile2.

Hth,

Nick Stolwijk

Mike Nereson wrote:
Good day.

Is there any way to get the name of the profile that I am using within my
pom? Is there anything like ${profile.id}

Why? I have an ant task that writes a timestamp and a version to a
version.html. Id also like to write the name of the profile that was used.
http://pastebin.ca/359376

It just so happens that my profiles are named localhost, development,
acceptance, and production, so this information would be very useful along
side the version and timestamp.

Thanks for any help that can be provided.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to