Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gp-cli export command can't create directory structures #147

Open
smazzara opened this issue Jul 17, 2019 · 0 comments
Open

gp-cli export command can't create directory structures #147

smazzara opened this issue Jul 17, 2019 · 0 comments

Comments

@smazzara
Copy link

I created a series of bundles with file names like the following:

GettingStarted_2_com.ibm.rdz.start.core.messages.properties
GettingStarted_2_com.ibm.rdz.start.core.plugin.properties
GettingStarted_2_com.ibm.rdz.start.core.taskflows.do_analyzingPrograms.messages.properties
GettingStarted_2_com.ibm.rdz.start.core.taskflows.do_data.messages.properties
GettingStarted_2_com.ibm.rdz.start.core.taskflows.do_debugAll.messages.properties
GettingStarted_2_com.ibm.rdz.start.core.taskflows.do_debugCover.messages.properties
GettingStarted_2_com.ibm.rdz.start.core.taskflows.do_developCode.messages.properties

These bundles contain .properties files that are in the following directory structure:

com.ibm.rdz.start.core/src/com/ibm/rdz/start/core/messages.properties
com.ibm.rdz.start.core/src/com/ibm/rdz/start/core/plugin.properties
com.ibm.rdz.start.core.taskflows/do_analyzingPrograms/messages.properties
com.ibm.rdz.start.core.taskflows/do_data/messages.properties
com.ibm.rdz.start.core.taskflows/do_debugAll/messages.properties
com.ibm.rdz.start.core.taskflows/do_debugCover/messages.properties
com.ibm.rdz.start.core.taskflows/do_developCode/messages.properties

I would like to be able to create this directory structure when I issue an export command, like this:

java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.messages.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.nl1/com/ibm/rdz/start/core/messages_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.plugin.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.nl1/plugin_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.taskflows.do_analyzingPrograms.messages.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.taskflows.nl1/do_analyzingPrograms/messages_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.taskflows.do_data.messages.properties -l pt-BR -t JAVA -f exported_translations/com.ibm.rdz.start.core.taskflows.nl1/do_data/messages_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.taskflows.do_debugAll.messages.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.taskflows.nl1/do_debugAll/messages_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.taskflows.do_debugCover.messages.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.taskflows.nl1/do_debugCover/messages_pt_BR.properties -j mycreds.json
java > output.txt 2>&1 -jar gp-cli.jar export -b GettingStarted_com.ibm.rdz.start.core.taskflows.do_developCode.messages.properties -l pt-BR -t JAVA -f com.ibm.rdz.start.core.taskflows.nl1/do_developCode/messages_pt_BR.properties -j mycreds.json

Instead, I have to create the directories first, and then issue the commands to export the files.

I would like to see a directory creation capability incorporated into the export command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant