staticfile to be tested before nodejs/ruby buildpacks #680
Conversation
Many staticfile apps are using nodejs or ruby toolchains to construct their assets. This can trick the `nodejs_buildpack` or `ruby_buildpack` to try to deploy the app. I suggest placing `staticfile_buildpack` earlier in the list.
Hey drnic! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA. |
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/94594952. |
This seems reasonable, as the |
@drnic @flavorjones |
Why does it make sense? On Thu, May 28, 2015 at 12:52 AM, dieucao notifications@github.com
|
@drnic For auto detect, my feeling is that since the highest percentage of apps are java apps on first push it would be desirable to try the java buildpack first. Does that sound reasonable? |
Are there any build systems for static apps that are written in Java? That is, if you used a Java app or jar to create your html/CSS/JavaScript then would the Java build pack accidentally think you're running a Java app? Where as you know it's a staticfile app because of Staticfile? Can you point me to docs on how Java bin/detect behaves? I know how staticfile build pack behaves and it would never accidentally deploy a Java app. On Fri, May 29, 2015 at 2:33 AM, dieucao notifications@github.com wrote:
|
@dieucao @drnic Since Java applications are built locally and pushed in their "runnable" form, placing the |
This was merged and should be available in the next cf-release. |
Many staticfile apps are using nodejs or ruby toolchains to construct their assets. This can trick the
nodejs_buildpack
orruby_buildpack
to try to deploy the app. I suggest placingstaticfile_buildpack
earlier in the list.