Skip to content

Not finding option to add .profile file in generated mta.tar file #1183

@vnmehta7

Description

@vnmehta7

Hi team,

I am using this mta.yaml to deploy my application to CF.
I have a requirement to add .profile file as part of generated mta.tar and this .profile has some start up scripts which should be executed before my java application starts.
Here is my build configuration in mta file, where I am looking for option to also add .profile file in generated mta.tar.
At present I have following structure in my mta.tar file, where I want to add .profile file as part of cap-bootstrap-srv so that it will be executed before this service starts. I couldn't find this option anywhere so requesting your input on the same.

tar -tf mta.tar META-INF/ META-INF/MANIFEST.MF META-INF/mtad.yaml cap-bootstrap/ cap-bootstrap/data.zip cap-bootstrap-ams-policies-deployer/ cap-bootstrap-ams-policies-deployer/srv/ cap-bootstrap-ams-policies-deployer/srv/src/ cap-bootstrap-ams-policies-deployer/srv/src/gen/ cap-bootstrap-ams-policies-deployer/srv/src/gen/policies/ cap-bootstrap-ams-policies-deployer/srv/src/gen/policies/data.zip cap-bootstrap-app-deployer/ cap-bootstrap-app-deployer/resources/ cap-bootstrap-app-deployer/resources/data.zip cap-bootstrap-mtx/ cap-bootstrap-mtx/gen/ cap-bootstrap-mtx/gen/data.zip cap-bootstrap-portal-deployer/ cap-bootstrap-portal-deployer/data.zip cap-bootstrap-srv/ cap-bootstrap-srv/target/ cap-bootstrap-srv/target/cap-bootstrap-exec.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions