Open dmikusa opened 5 months ago
In #402, we merged in multi-war support when building from source. This feature request is to add support for using precompiled assets.
Both of the following cases should work when this feature request is complete:
Support multi-wars when building assets outside of buildpacks.
mkdir single-war
./mvnw package
single-war/
pack build -p ./single-war/
Pack will use the directory as the application contents, so inside the container buildpacks will see the contents of that folder as /workspace.
/workspace
mkdir multi-war
multi-war/
pack build -p ./multi-war/
+1
Describe the Enhancement
In #402, we merged in multi-war support when building from source. This feature request is to add support for using precompiled assets.
Both of the following cases should work when this feature request is complete:
Motivation
Support multi-wars when building assets outside of buildpacks.
Steps to Test
mkdir single-war
./mvnw package
one of your apps or a Paketo sample appsingle-war/
directorypack build -p ./single-war/
and include all the other options for pack build you'd normally usePack will use the directory as the application contents, so inside the container buildpacks will see the contents of that folder as
/workspace
.mkdir multi-war
./mvnw package
one of your apps or a Paketo sample appmulti-war/
directory twice with different names.pack build -p ./multi-war/
and include all the other options for pack build you'd normally usePack will use the directory as the application contents, so inside the container buildpacks will see the contents of that folder as
/workspace
.