maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hermod.opstv...@dnbnor.no>
Subject RE: Reading the current OS family
Date Mon, 05 Feb 2007 13:24:35 GMT
Hi

If you read your own link :)

<profiles>
  ...
  <profile>
    <os>
      <name>Windows XP</name>
      <family>Windows</family>
      <architecture>x86</architecture>
      <version>5.1</version>
    </os>
  </profile>
</profiles>

Hermod

-----Original Message-----
From: Graham Leggett [mailto:minfrin@sharp.fm]
Sent: Monday, February 05, 2007 2:21 PM
To: users@maven.apache.org
Subject: Reading the current OS family


Hi all,

>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

Something like ${maven.os.family}?

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message