Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Usage example for run -d #25

Open
Open
@rwetzold

Description

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?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions