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

TASK : Scaffolding Command Script/Service #41

Open
orubel opened this issue Feb 14, 2023 · 3 comments
Open

TASK : Scaffolding Command Script/Service #41

orubel opened this issue Feb 14, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@orubel
Copy link
Collaborator

orubel commented Feb 14, 2023

Creation of consolidated script for all scaffolding

beapi scaffold-controller full.class.name
beapi scaffold-domain full.class.name
beapi scaffold-connector full.class.name

@orubel orubel added the bug Something isn't working label Feb 14, 2023
@orubel orubel self-assigned this Feb 14, 2023
@orubel
Copy link
Collaborator Author

orubel commented Feb 22, 2023

Ok so solved this.

File that handles args and templating needs to exist as a 'service' which can be called from 'applications main method.

We move 'service' over via a gradle task (which happens prior to build) and args can be handled during build process (which naturally, this causes the files to miss initial build; this is intentional as files are only bootstrapped).

@orubel orubel changed the title TASK : Scaffolding Command script TASK : Scaffolding Command Script/Service Feb 22, 2023
@orubel orubel added enhancement New feature or request and removed bug Something isn't working labels Feb 22, 2023
@orubel
Copy link
Collaborator Author

orubel commented Feb 22, 2023

so upon further research, a task does need to be added to the application (as we have always thought), but it will be a 'JavaExec' task which will call gradle tasks in starter for 'controller-scaffold' or 'connector-scaffold' (we will deal with domain later).

Rather than 'services' we need to think about the functionality as LIBS.

  • task something(dependsOn: build) ???

@orubel
Copy link
Collaborator Author

orubel commented Jul 24, 2023

would like to get this out of the demo application 'build.gradle'. Need to research this.

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

No branches or pull requests

1 participant