Skip to content

Commit be124ef

Browse files
committed
Change detect output
Previously, the detect output of the buildpack looked something like the following: openjdk-1.7.0_40, tomcat-7.0.42, spring-auto-reconfiguration-0.9.1 Per request from the Cloud Foundry core team, this output has been modified to delimit each entry's name and version number with an equals sign and each entry from one another with a space. The output now looks like: openjdk=1.7.0_40 tomcat=7.0.42 spring-auto-reconfiguration=0.9.1 [#58810508]
1 parent 2d7e708 commit be124ef

35 files changed

Lines changed: 55 additions & 98 deletions

bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ components = JavaBuildpack::Buildpack.drive_buildpack_with_logger(build_dir, 'De
2828
if components.empty?
2929
abort
3030
else
31-
puts components.join(', ')
31+
puts components.join(' ')
3232
end

docs/container-groovy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Groovy Container allows a uncompiled (i.e. `*.groovy`) to be run.
1010
</ul></td>
1111
</tr>
1212
<tr>
13-
<td><strong>Tags</strong></td><td><tt>groovy-&lang;version&rang;</tt></td>
13+
<td><strong>Tags</strong></td><td><tt>groovy=&lang;version&rang;</tt></td>
1414
</tr>
1515
</table>
1616
Tags are printed to standard output by the buildpack detect script

docs/container-play.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Play Container allows Play applications to be run.
77
directory or one of its immediate subdirectories (but not in both)</td>
88
</tr>
99
<tr>
10-
<td><strong>Tags</strong></td><td><tt>play-&lt;version&gt;</tt></td>
10+
<td><strong>Tags</strong></td><td><tt>play-framework=&lt;version&gt;</tt></td>
1111
</tr>
1212
</table>
1313
Tags are printed to standard output by the buildpack detect script

docs/container-spring-boot-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Spring Boot CLI Container runs one or more Groovy (i.e. `*.groovy`) files us
1111
</ul></td>
1212
</tr>
1313
<tr>
14-
<td><strong>Tags</strong></td><td><tt>spring-boot-cli-&lang;version&rang;</tt></td>
14+
<td><strong>Tags</strong></td><td><tt>spring-boot-cli=&lang;version&rang;</tt></td>
1515
</tr>
1616
</table>
1717
Tags are printed to standard output by the buildpack detect script.

docs/container-tomcat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Tomcat Container allows a web application to be run. These applications are
66
<td><strong>Detection Criterion</strong></td><td>Existence of a <tt>WEB-INF/</tt> folder in the application directory and <a href="container-java-main.md">Java Main Class</a> not detected</td>
77
</tr>
88
<tr>
9-
<td><strong>Tags</strong></td><td><tt>tomcat-&lang;version&rang;</tt>, <tt>tomcat-buildpack-support-&lang;version&rang;</tt></td>
9+
<td><strong>Tags</strong></td><td><tt>tomcat=&lang;version&rang;</tt>, <tt>tomcat-buildpack-support=&lang;version&rang;</tt></td>
1010
</tr>
1111
</table>
1212
Tags are printed to standard output by the buildpack detect script

docs/framework-java_opts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The `JAVA_OPTS` Framework contributes arbitrary Java options to the application
66
<td><strong>Detection Criterion</strong></td><td><tt>java_opts</tt> set</td>
77
</tr>
88
<tr>
9-
<td><strong>Tags</strong></td><td><tt>java-opts</tt></td>
9+
<td><strong>Tags</strong></td><td><tt>java_opts</tt></td>
1010
</tr>
1111
</table>
1212
Tags are printed to standard output by the buildpack detect script

docs/framework-new-relic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The New Relic Framework causes an application to be automatically configured to
66
<td><strong>Detection Criterion</strong></td><td>Existence of a single bound New Relic service</td>
77
</tr>
88
<tr>
9-
<td><strong>Tags</strong></td><td><tt>new-relic-&lt;version&gt;</tt></td>
9+
<td><strong>Tags</strong></td><td><tt>new-relic-agent=&lt;version&gt;</tt></td>
1010
</tr>
1111
</table>
1212
Tags are printed to standard output by the buildpack detect script

docs/framework-play-auto-reconfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Play Auto Reconfiguration Framework causes an application to be automaticall
66
<td><strong>Detection Criterion</strong></td><td>An application is a Play application</td>
77
</tr>
88
<tr>
9-
<td><strong>Tags</strong></td><td><tt>play-auto-reconfiguration-&lt;version&gt;</tt></td>
9+
<td><strong>Tags</strong></td><td><tt>play-auto-reconfiguration=&lt;version&gt;</tt></td>
1010
</tr>
1111
</table>
1212
Tags are printed to standard output by the buildpack detect script

docs/framework-play-jpa-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Play JPA Plugin Framework causes an application to be automatically reconfig
1212
</td>
1313
</tr>
1414
<tr>
15-
<td><strong>Tags</strong></td><td><tt>play-jpa-plugin-&lt;version&gt;</tt></td>
15+
<td><strong>Tags</strong></td><td><tt>play-jpa-plugin=&lt;version&gt;</tt></td>
1616
</tr>
1717
</table>
1818
Tags are printed to standard output by the buildpack detect script

docs/framework-spring-auto-reconfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Spring Auto Reconfiguration Framework causes an application to be automatica
66
<td><strong>Detection Criterion</strong></td><td>Existence of a <tt>spring-core*.jar</tt> file in the application directory</td>
77
</tr>
88
<tr>
9-
<td><strong>Tags</strong></td><td><tt>spring-auto-reconfiguration-&lt;version&gt;</tt></td>
9+
<td><strong>Tags</strong></td><td><tt>spring-auto-reconfiguration=&lt;version&gt;</tt></td>
1010
</tr>
1111
</table>
1212
Tags are printed to standard output by the buildpack detect script

0 commit comments

Comments
 (0)