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

Handle downloaded template sets with missing source jars #1671

Open
jan-vcapgemini opened this issue Apr 4, 2023 · 0 comments
Open

Handle downloaded template sets with missing source jars #1671

jan-vcapgemini opened this issue Apr 4, 2023 · 0 comments

Comments

@jan-vcapgemini
Copy link
Collaborator

The TemplateAdapterImpl can detect template set jars which don't provide a source jar.
We need to add an exception handling and maybe automatically download missing source jars if needed.

templateSetJars.removeAll(resultJars);
if (!templateSetJars.isEmpty()) {
for (Path jarWithMissingSource : templateSetJars) {
LOG.error("Missing Source for Jar: " + jarWithMissingSource.getFileName());
// no matching source file found either download or handle somehow
// TODO throw Exception or download the missing source
}

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

No branches or pull requests

1 participant