This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated line endings (with dos2unix)
- Loading branch information
Showing
8 changed files
with
709 additions
and
702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Setting up development environment | ||
|
||
## Install the necessary build tools | ||
You require to have latest stable [Oracle JDK 7](http://java.oracle.com/), latest stable | ||
[Apache Maven](http://maven.apache.org/) and [Git](http://git-scm.com/) installed on your machine. | ||
|
||
## Set up IntelliJ IDEA | ||
ScaleCube project team uses [IntelliJ IDEA](http://www.jetbrains.com/idea/) as the primary IDE, although we are fine | ||
with using other development environments as long as you adhere to our coding style. | ||
|
||
### Code style | ||
ScaleCube project team uses [Google code style](http://google.github.io/styleguide/javaguide.html) with | ||
next modifications: | ||
* Maximum line length is 120 | ||
* Special package in import order is io.scalecube. | ||
|
||
We use [Eclipse code formatter plugin] (https://github.com/krasa/EclipseCodeFormatter#instructions). | ||
Download [this code style configuration](https://github.com/scalecube/scalecube/blob/master/eclipse-java-google-style.xml) | ||
and [import order configuration](https://github.com/scalecube/scalecube/blob/master/style.importorder) and configure | ||
your IDEA plugin with those settings. Configuration is also available in the root project folder. | ||
# Setting up development environment | ||
|
||
## Install the necessary build tools | ||
You require to have latest stable [Oracle JDK 7](http://java.oracle.com/), latest stable | ||
[Apache Maven](http://maven.apache.org/) and [Git](http://git-scm.com/) installed on your machine. | ||
|
||
## Set up IntelliJ IDEA | ||
ScaleCube project team uses [IntelliJ IDEA](http://www.jetbrains.com/idea/) as the primary IDE, although we are fine | ||
with using other development environments as long as you adhere to our coding style. | ||
|
||
### Code style | ||
ScaleCube project team uses [Google code style](http://google.github.io/styleguide/javaguide.html) with | ||
next modifications: | ||
* Maximum line length is 120 | ||
* Special package in import order is io.scalecube. | ||
|
||
We use [Eclipse code formatter plugin] (https://github.com/krasa/EclipseCodeFormatter#instructions). | ||
Download [this code style configuration](https://github.com/scalecube/scalecube/blob/master/eclipse-java-google-style.xml) | ||
and [import order configuration](https://github.com/scalecube/scalecube/blob/master/style.importorder) and configure | ||
your IDEA plugin with those settings. Configuration is also available in the root project folder. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
# scalecube-app-utils | ||
|
||
# Usage | ||
``` java | ||
|
||
Logo.builder().tagVersion(packageInfo.version()) | ||
.port(String.valueOf(seed.cluster().address().port())) | ||
.ip(seed.cluster().address().host()) | ||
.group(packageInfo.groupId()) | ||
.artifact(packageInfo.artifactId()) | ||
.javaVersion(packageInfo.java()) | ||
.osType(packageInfo.os()) | ||
.pid(packageInfo.pid()) | ||
.hostname(packageInfo.hostname()) | ||
.website().draw(); | ||
|
||
|
||
Logo.from(packageInfo) | ||
.port(String.valueOf(seed.cluster().address().port())) | ||
.ip(seed.cluster().address().host()) | ||
.draw(); | ||
|
||
``` | ||
|
||
# Print-out: | ||
``` java | ||
.,,,,,, | ||
.,,,,,,,,,,,,/ | ||
.,,,,,,,,,,,,,,,,,,,. | ||
.,,,,,,,,,,,,,,,,,,,,,,,,,,,. | ||
.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. | ||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ScaleCube Development is Running. | ||
* ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,* Group: Development | ||
***** /,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/ .... Artifact: Development | ||
******** /*,,,,,,,,,,,,,,,,,,,,,,,,,,,,/ ....... Java: 1.8.0_131 | ||
***********, /,,,,,,,,,,,,,,,,,,,,,* ........... OS: Windows 10 | ||
***************. *,,,,,,,,,,,,,*/ ............... PID: 4312 | ||
******************, /*,,,,,,/ .................. Host Name: my-host-name | ||
********************** /*/ ..................... | ||
************************ ........................ http://scalecube.io | ||
************************ ........................ https://github.com/scalecube | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
******************** .................... | ||
***************** ................. | ||
************* ............. | ||
********** .......... | ||
****** ...... | ||
*** ... | ||
# scalecube-app-utils | ||
|
||
# Usage | ||
``` java | ||
|
||
Logo.builder().tagVersion(packageInfo.version()) | ||
.port(String.valueOf(seed.cluster().address().port())) | ||
.ip(seed.cluster().address().host()) | ||
.group(packageInfo.groupId()) | ||
.artifact(packageInfo.artifactId()) | ||
.javaVersion(packageInfo.java()) | ||
.osType(packageInfo.os()) | ||
.pid(packageInfo.pid()) | ||
.hostname(packageInfo.hostname()) | ||
.website().draw(); | ||
|
||
|
||
Logo.from(packageInfo) | ||
.port(String.valueOf(seed.cluster().address().port())) | ||
.ip(seed.cluster().address().host()) | ||
.draw(); | ||
|
||
``` | ||
|
||
# Print-out: | ||
``` java | ||
.,,,,,, | ||
.,,,,,,,,,,,,/ | ||
.,,,,,,,,,,,,,,,,,,,. | ||
.,,,,,,,,,,,,,,,,,,,,,,,,,,,. | ||
.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. | ||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ScaleCube Development is Running. | ||
* ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,* Group: Development | ||
***** /,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/ .... Artifact: Development | ||
******** /*,,,,,,,,,,,,,,,,,,,,,,,,,,,,/ ....... Java: 1.8.0_131 | ||
***********, /,,,,,,,,,,,,,,,,,,,,,* ........... OS: Windows 10 | ||
***************. *,,,,,,,,,,,,,*/ ............... PID: 4312 | ||
******************, /*,,,,,,/ .................. Host Name: my-host-name | ||
********************** /*/ ..................... | ||
************************ ........................ http://scalecube.io | ||
************************ ........................ https://github.com/scalecube | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
************************ ........................ | ||
******************** .................... | ||
***************** ................. | ||
************* ............. | ||
********** .......... | ||
****** ...... | ||
*** ... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.