Hi
The way I read it:
>From within a maven pom, it is possible to use the ${os.name}, ${os.arch}
and ${os.version} macros to get access to system information.
Is it possible to get the OS family in this way too, as described below?
http://docs.codehaus.org/display/MAVENUSER/Profiles
You said nothing about using it in a macro - Quote: "Is it possible to get the
OS family in this way too"
But that's ok - Now you have clarified what you actually wanted - Have you
tried ${activeProfile.os.family} ?
Hermod
-----Original Message-----
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 2:37 PM
To: Maven Users List
Cc: [email protected]
Subject: RE: Reading the current OS family
On Mon, February 5, 2007 3:24 pm, [EMAIL PROTECTED] wrote:
> If you read your own link :)
And if you read my question you'll see I am asking whether it's possible
to access the OS family through a macro such as ${maven.os.family}. I am
well aware that it is possible to activate profiles by OS family, but that
is not what I am trying to achieve here.
;)
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]