Skip to content

Commit 59fccac

Browse files
committed
updated ui text based on further confirmation
1 parent 24668bc commit 59fccac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,9 @@ export const jobPartiallyCompletedChatMessage =
590590
export const jobPartiallyCompletedNotification =
591591
'Amazon Q upgraded part of your code. You can review the diff to see my proposed changes and accept or reject them. The transformation summary has details about the files I updated and the errors that prevented a complete transformation.'
592592

593-
export const noPomXmlFoundChatMessage = `I couldn\'t find a project that I can upgrade. A pom.xml is required to begin a transformation. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
593+
export const noPomXmlFoundChatMessage = `I couldn\'t find a project that I can upgrade. Your Java project must be built on Maven and contain a pom.xml file. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
594594

595-
export const noPomXmlFoundNotification = `None of your open projects are supported by the Amazon Q agent for code transformation. Currently, Amazon Q can only upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
595+
export const noPomXmlFoundNotification = `None of your open modules are supported for code transformation with Amazon Q. A pom.xml is required for transformation.`
596596

597597
export const noJavaHomeFoundChatMessage = `Sorry, I couldn\'t locate your Java installation. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
598598

@@ -630,9 +630,9 @@ export const changesAppliedChatMessage = 'I applied the changes to your project.
630630

631631
export const changesAppliedNotification = 'Amazon Q applied the changes to your project.'
632632

633-
export const noOpenProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
633+
export const noOpenProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I support Java 8, Java 11, and Java 17 projects built on Maven. Make sure your project is open in the IDE. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
634634

635-
export const noJavaProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I can upgrade Java 8, Java 11, and Java 17 projects built on Maven. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
635+
export const noJavaProjectsFoundChatMessage = `I couldn\'t find a project that I can upgrade. Currently, I support Java 8, Java 11, and Java 17 projects built on Maven. Make sure your project is open in the IDE. For more information, see the [Amazon Q documentation](${codeTransformPrereqDoc}).`
636636

637637
export const linkToDocsHome = 'https://docs.aws.amazon.com/amazonq/latest/aws-builder-use-ug/code-transformation.html'
638638

0 commit comments

Comments
 (0)