Overview
When you start a pulse™ server, it will try to detect some commonly-used resource automatically for you. This saves the effort of configuring those resources manually. The discovery is based on the value of certain environment variables and/or the presence of certain commands in the PATH for the pulse™ process.
You can override this behaviour by defining a resource of the same name manually. For example, if pulse™ incorrectly detects your "ant" resource, you can manually edit the created resource and it will not be modified by pulse™ again.
Discovered Resources
ant
pulse™ will attempt to locate the home directory, lib directory and binary for Apache Ant
if installed. The resource is discovered based on the value of the ANT_HOME environment variable, and the properties configured are:
| Property |
Description |
Added to environment? |
Added to path? |
| ANT_HOME |
The home directory for the ant installation. |
Yes |
No |
| ant.bin |
The path of the ant binary (ant or ant.bat). |
No |
No |
| ant.bin.dir |
The path of the ant bin directory. |
No |
Yes |
| ant.lib.dir |
The path of the ant lib directory. |
No |
No |
java
If the environment variable JAVA_HOME is set, it will be used to configure a "java" resource with the following properties:
| Property |
Description |
Added to environment? |
Added to path? |
| JAVA_HOME |
The home directory of the Java installation. |
Yes |
No |
| java.bin |
The path of the java binary. |
No |
No |
| java.bin.dir |
The path of the java bin directory. |
No |
Yes |
make
If a binary called "make" is found in the PATH of the pulse process, it will be used to configure a resource named "make" with the following properties:
| Property |
Description |
Added to environment? |
Added to path? |
| make.bin |
The path of the make binary. |
No |
No |
maven2
If a binary called "mvn" is found in the PATH of the pulse process, it will be used to configure a resource named "maven2" with the following properties:
| Property |
Description |
Added to environment? |
Added to path? |
| maven2.bin |
The path of the mvn binary. |
No |
No |