-
Notifications
You must be signed in to change notification settings - Fork 251
feat(amazonq): enable client-side build #5704
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
base: main
Are you sure you want to change the base?
Conversation
@@ -29,79 +31,20 @@ import java.io.File | |||
import java.nio.file.Files | |||
import java.nio.file.Path | |||
|
|||
fun runClientSideBuild(targetDir: VirtualFile, logger: Logger, project: Project): Pair<Int?, String> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this to be below. Basically, deleted the unused functions and moved the HIL-related functions to the very bottom of this file since HIL is likely N/A once this feature is released, so can follow up and delete those later.
@@ -300,11 +301,6 @@ data class CodeModernizerSessionContext( | |||
} | |||
|
|||
LOG.info { "Source code files size = ${files?.sumOf { it.length.toInt() }}" } | |||
|
|||
// 5) Initial Maven copy-deps / install build log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused, no need to include in upload ZIP; update tests accordingly
Types of changes
Description
Execute a JAR client-side to copy the dependencies of the project to the upload ZIP along with some other metadata useful to us for the transformation. Also, enable client-side build by removing the feature flag.
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.