-
Notifications
You must be signed in to change notification settings - Fork 622
Open
Labels
in:Kernel/Bootstraprelease bugThis bug is present in a released version of Open LibertyThis bug is present in a released version of Open Liberty
Description
Describe the bug
When packaging a client with the minify option. the follow messages are produced
Packaging client <client name>.
Querying server <client name> for content.
Java home: <JAVA_HOME>
Install root: <WLP_INSTALL_ROOT>
System libraries: <WLP_INSTALL_ROOT>/lib/
User root: <WLP_INSTALL_ROOT>/usr/
Config: <WLP_INSTALL_ROOT>/usr/servers/<client name>/
Output: <WLP_INSTALL_ROOT>/usr/clients/<client name>/
CWWKE0076E: Unable to query server <client name> to determine features to retain.
Client <client name> package failed. Check client logs for details.
actual values replaced with expected variable location representations
Changing the config dir to clients/<client name> does not resolve the issue. suspect it goes to read server.xml, instead of client.xml
Steps to Reproduce
Create a client
run ./client packaging --include=minify
Expected behavior
A minified zip is created with the expected contents
Diagnostic information:
- OpenLiberty Version: 17.0.0.4 - 25.0.0.12
- Affected feature(s) Kernel
- Java Version: 17.0.17.10
- server.xml configuration (WITHOUT sensitive information like passwords)
- If it would be useful, upload the messages.log file found in
$WLP_OUTPUT_DIR/messages.log
Additional context
Only impacts the minify' option, allandusr` run successfully
And reviewing the existing code that was originally delivered for this. this option looks to have always been broken for packaging
Metadata
Metadata
Assignees
Labels
in:Kernel/Bootstraprelease bugThis bug is present in a released version of Open LibertyThis bug is present in a released version of Open Liberty