Skip to content

Commit 46445df

Browse files
Fix documentation
* add precision over the bin scripts detection
1 parent 9ffb37f commit 46445df

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/container-dist_zip.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ The Dist Zip Container allows applications packaged in [`distZip`-style][] to be
55
<tr>
66
<td><strong>Detection Criteria</strong></td>
77
<td><ul>
8-
<li>A start script in the <tt>bin/</tt> subdirectory of the application directory or one of its immediate subdirectories (but not in both), and</li>
9-
<li>A JAR file in the <tt>lib/</tt> subdirectory of the application directory or one of its immediate subdirectories (but not in both)</li>
8+
<li>A start script in the <code>bin/</code> subdirectory of the application directory or one of its immediate subdirectories (but not in both) - for example, a <code>bin</code> folder with: <code>bin/myscript</code> along with <code>bin/myscript.bat</code> and</li>
9+
<li>A JAR file in the <code>lib/</code> subdirectory of the application directory or one of its immediate subdirectories (but not in both)</li>
1010
</ul></td>
1111
</tr>
1212
<tr>
1313
<td><strong>Tags</strong></td>
14-
<td><tt>dist-zip</tt></td>
14+
<td><code>dist-zip</code></td>
1515
</tr>
1616
</table>
1717
Tags are printed to standard output by the buildpack detect script
1818

19-
If the application uses Spring, [Spring profiles][] can be specified by setting the [`SPRING_PROFILES_ACTIVE`][] environment variable. This is automatically detected and used by Spring. The Spring Auto-reconfiguration Framework will specify the `cloud` profile in addition to any others.
19+
If the application uses Spring, [Spring profiles][] can be specified by secodeing the [`SPRING_PROFILES_ACTIVE`][] environment variable. This is automatically detected and used by Spring. The Spring Auto-reconfiguration Framework will specify the `cloud` profile in addition to any others.
2020

2121
## Configuration
2222
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
@@ -28,6 +28,6 @@ The container can be configured by modifying the `config/dist_zip.yml` file in t
2828
| `arguments` | Optional command line arguments to be passed to the start script. The arguments are specified as a single YAML scalar in plain style or enclosed in single or double quotes.
2929

3030
[Configuration and Extension]: ../README.md#configuration-and-extension
31-
[`distZip`-style]: http://www.gradle.org/docs/current/userguide/application_plugin.html
32-
[Spring profiles]:http://blog.springsource.com/2011/02/14/spring-3-1-m1-introducing-profile/
33-
[`SPRING_PROFILES_ACTIVE`]: http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/core/env/AbstractEnvironment.html#ACTIVE_PROFILES_PROPERTY_NAME
31+
[`distZip`-style]: hcodep://www.gradle.org/docs/current/userguide/application_plugin.html
32+
[Spring profiles]:hcodep://blog.springsource.com/2011/02/14/spring-3-1-m1-introducing-profile/
33+
[`SPRING_PROFILES_ACTIVE`]: hcodep://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/core/env/AbstractEnvironment.html#ACTIVE_PROFILES_PROPERTY_NAME

0 commit comments

Comments
 (0)