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

Add --props-file option to read properties during project generation #701

Closed
romain-grecourt opened this issue Apr 14, 2022 · 0 comments · Fixed by #836
Closed

Add --props-file option to read properties during project generation #701

romain-grecourt opened this issue Apr 14, 2022 · 0 comments · Fixed by #836
Assignees
Milestone

Comments

@romain-grecourt
Copy link
Contributor

romain-grecourt commented Apr 14, 2022

Users need to be able to generate projects using the properties file by using a new --props-file argument:

# generate first project
# anser questions etc.
helidon init

# generate 2nd project using the answers from the first project
helidon init --props-file my-project/.helidon

The props-file does not need to be the .helidon file. It can also mirror properties used with --batch:

./helidon init --batch -Dsecurity=true -Dapp-type=custom -Dflavor=mp

becomes

./helidon init --batch --props-file myfile.props

#myfile.props
security=true
app-type=custom
flavor=mp

See #690

@romain-grecourt romain-grecourt added this to the 3.0.0-M4 milestone Apr 14, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.0-M4, 3.0.0-M5 Jun 30, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.0-M5, 3.0.0 Jul 13, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.0, 3.0.1 Jul 15, 2022
@barchetta barchetta changed the title Make .helidon usable with --args-file Add --props-file option that can be used with .helidon Nov 30, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.2, 3.0.3 Dec 16, 2022
@aserkes aserkes changed the title Add --props-file option that can be used with .helidon Add --props-file option to helidon init command Jan 4, 2023
@aserkes aserkes changed the title Add --props-file option to helidon init command Add --props-file option to save user inputs during project generation Jan 6, 2023
@aserkes aserkes changed the title Add --props-file option to save user inputs during project generation Add --props-file option to read properties during project generation Jan 9, 2023
@romain-grecourt romain-grecourt modified the milestones: 3.0.4, 3.0.5 Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants