Skip to content

Commit 9f9f53d

Browse files
committed
updated ui text based on further confirmation
1 parent eb6d8d7 commit 9f9f53d

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
@@ -564,9 +564,9 @@ export const jobPartiallyCompletedChatMessage =
564564
export const jobPartiallyCompletedNotification =
565565
'Amazon Q upgraded part of your code to Java 17. 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.'
566566

567-
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}).`
567+
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}).`
568568

569-
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}).`
569+
export const noPomXmlFoundNotification = `None of your open modules are supported for code transformation with Amazon Q. A pom.xml is required for transformation.`
570570

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

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

605605
export const changesAppliedNotification = 'Amazon Q applied the changes to your project.'
606606

607-
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}).`
607+
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}).`
608608

609-
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}).`
609+
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}).`
610610

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

0 commit comments

Comments
 (0)