Question about java buildpack


王小锋 <zzuwxf at gmail.com...>
 

Hi, there

In java buildpack document, it supports "external tomcat configuration", I
am wondering if "tomcat configuration" could use local file together with
java web application? In php buildpack, we can modify php/nginx related
configuration in .bp_config, could we use local file similar to .bp_config
? It would be eariler for app developers.

Thanks.


Daniel Mikusa
 

With the JBP you have two options:

1.) Fork the JBP and make your config changes here:

2.)

On Thu, Jul 14, 2016 at 3:02 AM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

In java buildpack document, it supports "external tomcat configuration", I
am wondering if "tomcat configuration" could use local file together with
java web application? In php buildpack, we can modify php/nginx related
configuration in .bp_config, could we use local file similar to .bp_config
? It would be eariler for app developers.

Thanks.


Daniel Mikusa
 

Sorry, email prematurely sent. With the JBP you have two options:

1.) Fork the JBP and make your config changes here:
https://github.com/cloudfoundry/java-buildpack/tree/master/resources/tomcat/conf

2.) Follow the instructions here to use an external Tomcat config.

https://github.com/cloudfoundry/java-buildpack/blob/master/docs/container-tomcat.md#external-tomcat-configuration

Dan

On Thu, Jul 14, 2016 at 8:16 AM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

With the JBP you have two options:

1.) Fork the JBP and make your config changes here:

2.)


On Thu, Jul 14, 2016 at 3:02 AM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

In java buildpack document, it supports "external tomcat configuration",
I am wondering if "tomcat configuration" could use local file together with
java web application? In php buildpack, we can modify php/nginx related
configuration in .bp_config, could we use local file similar to .bp_config
? It would be eariler for app developers.

Thanks.


Daniel Mikusa
 

On Thu, Jul 14, 2016 at 8:17 AM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

Sorry, email prematurely sent. With the JBP you have two options:

1.) Fork the JBP and make your config changes here:
https://github.com/cloudfoundry/java-buildpack/tree/master/resources/tomcat/conf
By "here", I meant under "resources/tomcat/conf" in your fork.



2.) Follow the instructions here to use an external Tomcat config.


https://github.com/cloudfoundry/java-buildpack/blob/master/docs/container-tomcat.md#external-tomcat-configuration

Dan


On Thu, Jul 14, 2016 at 8:16 AM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

With the JBP you have two options:

1.) Fork the JBP and make your config changes here:

2.)


On Thu, Jul 14, 2016 at 3:02 AM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

In java buildpack document, it supports "external tomcat configuration",
I am wondering if "tomcat configuration" could use local file together with
java web application? In php buildpack, we can modify php/nginx related
configuration in .bp_config, could we use local file similar to .bp_config
? It would be eariler for app developers.

Thanks.