Hi,

It is used to get more descriptive info about a server. For example to add
info into database export.

The property is set by server.sh script.

Best regards,
Artem Orobets

* Orient Technologiesthe Company behind OrientDB*


2014-06-05 17:21 GMT+03:00 odbuser <[email protected]>:

> OrientDB 1.7.1
>
> What's the purpose of OConstants.getBuildNumber()?  It appears to get the
> System property orient.build.number but why?
>
> com.orientechnologies.orient.core.OConstants
>
>     final String buildNumber = System.getProperty("orientdb.build.number"
> );
>     public static String getBuildNumber() {
>     final String buildNumber = System.getProperty("orientdb.build.number"
> );
>     if (buildNumber == null)
>       return null;
>
>     return buildNumber;
>   }
>
>     if (buildNumber != null) {
>       buffer.append(" (build ");
>       buffer.append(buildNumber);
>       buffer.append(")");
>     }
>
>
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to