-
Notifications
You must be signed in to change notification settings - Fork 27
Usage example for run -d #25
Comments
CF Local provides the same buildpacks as CF. The Java buildpack requires a compiled Java JAR or WAR, so instead of https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html |
@sclevine is it possible to get some docs up on how to use |
CF Local is currently on hold while we build out the Cloud Native Buildpacks project, which has a CLI that's similar to CF Local. I plan to update CF Local to use pack underneath once we finish converting all the CF buildpacks to the new Cloud Native Buildpacks API. Cloud Native Buildpacks has an API intended to support local development that should work in cases where |
Figured out another way, just export to docker using
( Paths may differ for you, I am using this options.json file
|
I have an app that consists of a backend (Java) and a UI (static html files). The jar and the HTML files are then assembled into a WAR.
What does cflocal offer in such a case? I want to be able to change the Java or the UI coding and automatically have this reflected in the running app.
I have a Maven build where in the target directory I can see the extracted app, containing the html files in the root, the libraries in the lib folder etc. I figured this would be the natural candidate to point to but when doing so I get the error that catalina.sh could not be found.
Are there any examples that show where to point the -d work dir to? Are there best practices when working with Eclipse and Maven? Using a Tomcat inside Eclipse I get a roundtrip time of around 5s if I change Java and a roundtrip time of 0.5s when changing the HTML. It's hotdeployed. But this is outside the CF environment so I need to use cflocal. Is it possible to achieve similar times there?
The text was updated successfully, but these errors were encountered: