From 83a83f40d63482ec81fefe061bf087fda7b79956 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Sat, 30 Nov 2024 22:17:02 -0500 Subject: [PATCH 01/12] Update 7.2.0 bugs to make it compatible with mta-cli --- package-lock.json | 4 ++-- package.json | 2 +- resources/help.json | 3 ++- src/editor/configurationView.ts | 5 +++-- src/server/analyzerModel.ts | 7 +++++-- src/server/analyzerResults.ts | 11 +++++++++-- src/tree/configurationNode.ts | 12 +++++++----- 7 files changed, 29 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index f003a00..4c12878 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mta-vscode-extension", - "version": "7.1.1", + "version": "7.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mta-vscode-extension", - "version": "7.1.1", + "version": "7.2.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index a303c53..2b04416 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mta-vscode-extension", "displayName": "Migration Toolkit for Applications (MTA)", "description": "Migration Toolkit for Applications (MTA)", - "version": "7.1.1", + "version": "7.2.0", "license": "epl-2.0", "publisher": "redhat", "author": "Red Hat", diff --git a/resources/help.json b/resources/help.json index 7bf9965..1282e75 100644 --- a/resources/help.json +++ b/resources/help.json @@ -216,7 +216,8 @@ "description": "The location of the generated analysis results.", "type": "String", "ui-type": ["single"], - "required": false + "required": true, + "editable": false }, { "name": "analyze-known-libraries", diff --git a/src/editor/configurationView.ts b/src/editor/configurationView.ts index 72a4e2b..e49823b 100644 --- a/src/editor/configurationView.ts +++ b/src/editor/configurationView.ts @@ -347,8 +347,9 @@ export class ConfigurationView { // cloning... if (cloning) { - if (vscode.workspace.workspaceFolders) { - const workspaceFolder = vscode.workspace.workspaceFolders[0].uri.fsPath; + if (this.configuration.getinput()) { + const inputPaths = this.configuration.getinput(); + const workspaceFolder = vscode.Uri.joinPath(vscode.Uri.file(inputPaths[0])).fsPath; const folderName = data.value.substring(data.value.lastIndexOf('/') + 1); const cloneCommand = {repo: data.value, folderName, config: this.configuration, workspaceFolder}; vscode.commands.executeCommand('rhamt.downloadGitRepo', cloneCommand).then((result:any) => { diff --git a/src/server/analyzerModel.ts b/src/server/analyzerModel.ts index 33e72e6..1ef4c1f 100644 --- a/src/server/analyzerModel.ts +++ b/src/server/analyzerModel.ts @@ -87,9 +87,12 @@ export class RhamtConfiguration { } sourceBase(): string { - return 'file:///tmp/source-code/'; + return 'file:///opt/input/source'; + } + getinput(): string { + if (!this.options['input']) return undefined; + return this.options['input']; } - getResultsLocation(): string { if (!this.options['output']) return undefined; return path.resolve(this.options['output'], 'results.xml'); diff --git a/src/server/analyzerResults.ts b/src/server/analyzerResults.ts index c3f21d1..5d1ba71 100644 --- a/src/server/analyzerResults.ts +++ b/src/server/analyzerResults.ts @@ -53,8 +53,15 @@ export class AnalyzerResults { if (incidents) { incidents.forEach(incident => { const file = (incident.uri as string).replace(this.config.sourceBase(), ''); - const root = vscode.workspace.workspaceFolders[0]; - const fileUri = vscode.Uri.joinPath(root.uri, file); + const root = vscode.workspace.workspaceFolders?.[0]; + let fileUri: vscode.Uri; + const inputPaths = this.config.getinput(); + if (Array.isArray(inputPaths) && inputPaths[0]) { + fileUri = vscode.Uri.joinPath(vscode.Uri.file(inputPaths[0]), file); + } else if (root) { + fileUri = vscode.Uri.joinPath(root.uri, file); + } + try { const hint = { type: IIssueType.Hint, diff --git a/src/tree/configurationNode.ts b/src/tree/configurationNode.ts index f51abf0..d9fe0cb 100644 --- a/src/tree/configurationNode.ts +++ b/src/tree/configurationNode.ts @@ -131,18 +131,20 @@ export class ConfigurationNode extends AbstractNode implement } private buildResourceNodes(file: string): void { - const root = workspace.workspaceFolders[0]; + const inputPaths = this.config.getinput(); + const root = Uri.file(inputPaths[0]); + // const root = workspace.workspaceFolders[0]; - if (!this.childNodes.has(root.uri.fsPath)) { + if (!this.childNodes.has(root.fsPath)) { const folder = new FolderNode( this.config, - root.uri.fsPath, + root.fsPath, this.modelService, this.onNodeCreateEmitter, this.dataProvider, this); - this.childNodes.set(root.uri.fsPath, folder); - this.resourceNodes.set(root.uri.fsPath, folder); + this.childNodes.set(root.fsPath, folder); + this.resourceNodes.set(root.fsPath, folder); } From 3eb7d5974b312034821fe2dc24ed14a69118adae Mon Sep 17 00:00:00 2001 From: Hiteshwari Patel Date: Tue, 3 Dec 2024 14:46:40 -0500 Subject: [PATCH 02/12] Create ci.yml --- .github/workflows /ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows /ci.yml diff --git a/.github/workflows /ci.yml b/.github/workflows /ci.yml new file mode 100644 index 0000000..9f16ce3 --- /dev/null +++ b/.github/workflows /ci.yml @@ -0,0 +1,34 @@ +name: Basic CI + +on: + push: + branches: + - "7.2.0" # Trigger only on pushes to the master branch + + pull_request: + branches: + - "7.2.0" # Trigger on pull requests targeting the master branch + +jobs: + test: + name: Run Tests + runs-on: ubuntu-latest # Use Ubuntu for the runner + + steps: + # Step 1: Checkout the code + - name: Checkout code + uses: actions/checkout@v4 + + # Step 2: Set up Node.js + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "16" # Specify the Node.js version + + # Step 3: Install dependencies + - name: Install dependencies + run: npm install + + # Step 4: Compile the project + - name: Compile the project + run: npm run compile From f7453ad1f103648f9d28183e7273a35a9ff150fd Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 5 Feb 2025 17:25:55 -0500 Subject: [PATCH 03/12] Update publish workflow --- .github/workflows /ci.yml | 61 ++++++++++++++++++++++++++++++++------- .gitignore | 2 ++ 2 files changed, 53 insertions(+), 10 deletions(-) diff --git a/.github/workflows /ci.yml b/.github/workflows /ci.yml index 9f16ce3..2aee770 100644 --- a/.github/workflows /ci.yml +++ b/.github/workflows /ci.yml @@ -1,34 +1,75 @@ -name: Basic CI +name: CI (compile, build and publish) on: push: branches: - - "7.2.0" # Trigger only on pushes to the master branch - + - "master" pull_request: branches: - - "7.2.0" # Trigger on pull requests targeting the master branch + - "master" + release: + types: + - created jobs: test: name: Run Tests - runs-on: ubuntu-latest # Use Ubuntu for the runner + runs-on: ubuntu-latest steps: - # Step 1: Checkout the code - name: Checkout code uses: actions/checkout@v4 - # Step 2: Set up Node.js - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "16" # Specify the Node.js version + node-version: "16" - # Step 3: Install dependencies - name: Install dependencies run: npm install - # Step 4: Compile the project - name: Compile the project run: npm run compile + + publish: + name: Package & Upload VSIX (Fake Publish in Fork, Real in Main) + runs-on: ubuntu-latest + needs: test + if: github.event_name == 'release' + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: "21" + + - name: Install vsce (VS Code Extension Manager) + run: npm install -g @vscode/vsce + + - name: Install Dependencies + run: npm install + + - name: Build Extension + run: npm run compile + + - name: Ensure dist directory exists + run: mkdir -p dist + + - name: Package the VSIX file + run: vsce package -o dist/extension.vsix + + - name: Upload VSIX Artifact + uses: actions/upload-artifact@v4 + with: + name: vscode-extension + path: dist/*.vsix + + - name: Publish to marketplace + run: | + if [ "${{ github.repository_owner }}" = "migtool" ]; then + echo "Publishing to VS Code Marketplace..." + vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} + fi \ No newline at end of file diff --git a/.gitignore b/.gitignore index f20eac5..ac3cc8e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ node_modules/ data/ out/ build/ +dist/ +*.vsix \ No newline at end of file From 3f070cf45d47f806749c92851bcf560f1e06d276 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 5 Feb 2025 20:24:56 -0500 Subject: [PATCH 04/12] MTA CLI returns absolute path in 7.2.0 --- src/server/analyzerResults.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/server/analyzerResults.ts b/src/server/analyzerResults.ts index 5d1ba71..025c8c0 100644 --- a/src/server/analyzerResults.ts +++ b/src/server/analyzerResults.ts @@ -52,16 +52,7 @@ export class AnalyzerResults { const incidents = violation.incidents; if (incidents) { incidents.forEach(incident => { - const file = (incident.uri as string).replace(this.config.sourceBase(), ''); - const root = vscode.workspace.workspaceFolders?.[0]; - let fileUri: vscode.Uri; - const inputPaths = this.config.getinput(); - if (Array.isArray(inputPaths) && inputPaths[0]) { - fileUri = vscode.Uri.joinPath(vscode.Uri.file(inputPaths[0]), file); - } else if (root) { - fileUri = vscode.Uri.joinPath(root.uri, file); - } - + let fileUri = vscode.Uri.parse(incident.uri); try { const hint = { type: IIssueType.Hint, From e7850a87a13b44a807f36032742525fedbf4d402 Mon Sep 17 00:00:00 2001 From: Hiteshwari Patel Date: Wed, 5 Feb 2025 20:35:48 -0500 Subject: [PATCH 05/12] Create ci.yml --- .github/workflows/ci.yml | 75 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c468788 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,75 @@ +name: CI (compile, build and publish) + +on: + push: + branches: + - "master" + pull_request: + branches: + - "master" + release: + types: + - created + +jobs: + test: + name: Run Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "16" + + - name: Install dependencies + run: npm install + + - name: Compile the project + run: npm run compile + + publish: + name: Package & Upload VSIX (Fake Publish in Fork, Real in Main) + runs-on: ubuntu-latest + needs: test + if: github.event_name == 'release' + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: "21" + + - name: Install vsce (VS Code Extension Manager) + run: npm install -g @vscode/vsce + + - name: Install Dependencies + run: npm install + + - name: Build Extension + run: npm run compile + + - name: Ensure dist directory exists + run: mkdir -p dist + + - name: Package the VSIX file + run: vsce package -o dist/extension.vsix + + - name: Upload VSIX Artifact + uses: actions/upload-artifact@v4 + with: + name: vscode-extension + path: dist/*.vsix + + - name: Publish to marketplace + run: | + if [ "${{ github.repository_owner }}" = "migtool" ]; then + echo "Publishing to VS Code Marketplace..." + vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} + fi From cfe0bf25c528022cd875f9ea6a8ea819a840bc7f Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 5 Feb 2025 21:11:43 -0500 Subject: [PATCH 06/12] Update Publish flow Update condition of publish flow --- .github/workflows /ci.yml | 75 --------------------------------------- .github/workflows/ci.yml | 2 +- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 .github/workflows /ci.yml diff --git a/.github/workflows /ci.yml b/.github/workflows /ci.yml deleted file mode 100644 index 2aee770..0000000 --- a/.github/workflows /ci.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: CI (compile, build and publish) - -on: - push: - branches: - - "master" - pull_request: - branches: - - "master" - release: - types: - - created - -jobs: - test: - name: Run Tests - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "16" - - - name: Install dependencies - run: npm install - - - name: Compile the project - run: npm run compile - - publish: - name: Package & Upload VSIX (Fake Publish in Fork, Real in Main) - runs-on: ubuntu-latest - needs: test - if: github.event_name == 'release' - - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: "21" - - - name: Install vsce (VS Code Extension Manager) - run: npm install -g @vscode/vsce - - - name: Install Dependencies - run: npm install - - - name: Build Extension - run: npm run compile - - - name: Ensure dist directory exists - run: mkdir -p dist - - - name: Package the VSIX file - run: vsce package -o dist/extension.vsix - - - name: Upload VSIX Artifact - uses: actions/upload-artifact@v4 - with: - name: vscode-extension - path: dist/*.vsix - - - name: Publish to marketplace - run: | - if [ "${{ github.repository_owner }}" = "migtool" ]; then - echo "Publishing to VS Code Marketplace..." - vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} - fi \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c468788..6eee307 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: - name: Publish to marketplace run: | - if [ "${{ github.repository_owner }}" = "migtool" ]; then + if [ "${{ github.repository_owner }}" = "migtools" ]; then echo "Publishing to VS Code Marketplace..." vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} fi From ae1eb5a9fc08ae4adbbc79d9bac92df5811b62a9 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 12 Mar 2025 13:40:17 -0400 Subject: [PATCH 07/12] Give user option for defualt rulesets --- resources/help.json | 11 ++++++++++- src/server/analyzerUtil.ts | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/resources/help.json b/resources/help.json index 1282e75..62b54c8 100644 --- a/resources/help.json +++ b/resources/help.json @@ -187,13 +187,21 @@ }, { "name": "rules", - "description": "User Rules Directory/File", + "description": "User Rules Directory/File, If ignored, enable-defualt-rulesets flag below.", "type": "Path", "ui-type": ["many", "file_or_directory", "text"], "placeholder": "No Directories Specified", "required": false, "editable": true }, + { + "name": "enable-default-rulesets", + "description": "If set, defualt ruleset will be applied along with custom-rule. Note: Must specify rules if default rulesets are not enabled", + "type": "Boolean", + "ui-type": ["single"], + "required": true, + "editable": true + }, { "name": "source-only", "description": "Indicates whether the input is source code or compiled binaries.", @@ -211,6 +219,7 @@ "required": true, "editable": false }, + { "name": "output", "description": "The location of the generated analysis results.", diff --git a/src/server/analyzerUtil.ts b/src/server/analyzerUtil.ts index 66a6255..3d14e38 100644 --- a/src/server/analyzerUtil.ts +++ b/src/server/analyzerUtil.ts @@ -217,6 +217,15 @@ export class AnalyzerUtil { }); } + if (options['enable-default-rulesets']) { + console.log('enable so setting to true'); + params.push('--enable-default-rulesets=true'); + } + else { + console.log('disable so setting to false'); + params.push('--enable-default-rulesets=false'); + } + console.log("Options: ") for (const key in config.options) { if (config.options.hasOwnProperty(key)) { From 88692d660acba49f75280f465d0337a59ff58474 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Wed, 12 Mar 2025 13:49:10 -0400 Subject: [PATCH 08/12] Version update to 7.2.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c12878..9f76569 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mta-vscode-extension", - "version": "7.2.0", + "version": "7.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mta-vscode-extension", - "version": "7.2.0", + "version": "7.2.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 2b04416..d8b2c61 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mta-vscode-extension", "displayName": "Migration Toolkit for Applications (MTA)", "description": "Migration Toolkit for Applications (MTA)", - "version": "7.2.0", + "version": "7.2.1", "license": "epl-2.0", "publisher": "redhat", "author": "Red Hat", From fef52c404fef8850cf1cdb5e6d3b051ccdce0edd Mon Sep 17 00:00:00 2001 From: Hiteshwari Patel Date: Wed, 12 Mar 2025 13:53:40 -0400 Subject: [PATCH 09/12] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eee307..0e36ed4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: npm run compile publish: - name: Package & Upload VSIX (Fake Publish in Fork, Real in Main) + name: Package & Upload VSIX (Publish in Fork, Real in Main) runs-on: ubuntu-latest needs: test if: github.event_name == 'release' From ed3c6a84c6b4335182f944126131d6e8a98afa00 Mon Sep 17 00:00:00 2001 From: Hiteshwari Patel Date: Wed, 12 Mar 2025 14:00:17 -0400 Subject: [PATCH 10/12] Create a build on PR --- .github/workflows/ci.yml | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e36ed4..c42d866 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: npm run compile publish: - name: Package & Upload VSIX (Publish in Fork, Real in Main) + name: Package & Upload VSIX (Fake Publish in Fork, Real in Main) runs-on: ubuntu-latest needs: test if: github.event_name == 'release' @@ -73,3 +73,38 @@ jobs: echo "Publishing to VS Code Marketplace..." vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} fi + + pre-publish: + name: Upload VSIX + runs-on: ubuntu-latest + needs: test + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: "21" + + - name: Install vsce (VS Code Extension Manager) + run: npm install -g @vscode/vsce + + - name: Install Dependencies + run: npm install + + - name: Build Extension + run: npm run compile + + - name: Ensure dist directory exists + run: mkdir -p dist + + - name: Package the VSIX file + run: vsce package -o dist/extension.vsix + + - name: Upload VSIX Artifact + uses: actions/upload-artifact@v4 + with: + name: vscode-extension + path: dist/*.vsix From 9d6399c7424a04fdb1d4fae8c1f7ed2f23418c24 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Mon, 16 Jun 2025 16:39:11 -0400 Subject: [PATCH 11/12] Version update to 7.3.0 --- package-lock.json | 4 +- package.json | 2 +- resources/help.json | 121 +++++++++++++++++++------------------ src/server/analyzerUtil.ts | 7 ++- 4 files changed, 71 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f76569..dd40480 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mta-vscode-extension", - "version": "7.2.1", + "version": "7.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mta-vscode-extension", - "version": "7.2.1", + "version": "7.3.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index d8b2c61..6fb3bfe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mta-vscode-extension", "displayName": "Migration Toolkit for Applications (MTA)", "description": "Migration Toolkit for Applications (MTA)", - "version": "7.2.1", + "version": "7.3.0", "license": "epl-2.0", "publisher": "redhat", "author": "Red Hat", diff --git a/resources/help.json b/resources/help.json index 62b54c8..7083db5 100644 --- a/resources/help.json +++ b/resources/help.json @@ -38,6 +38,8 @@ "required": true, "new-features": ["openliberty", "jakarta-ee"], "available-options":[ + "azure-appservice", + "azure-spring-apps", "camel", "camel2", "camel3", @@ -115,7 +117,8 @@ "quarkus3", "resteasy", "resteasy3", - "rhr" + "rhr", + "spring6" ], "editable": true }, @@ -126,63 +129,65 @@ "ui-type": ["select-many", "text"], "required": false, "available-options": [ - "camel", - "camel2", - "camel3", - "drools", - "drools5", - "eap", - "eap4", - "eap5", - "eap6", - "eap7", - "eap7.0", - "eap7.1", - "eapxp", - "glassfish", - "hibernate", - "hibernate-search", - "hibernate-search4", - "hibernate3.9", - "hibernate4", - "hibernate5.0", - "hibernate5.1", - "jakarta-ee", - "jakarta-ee7", - "java", - "java-ee", - "javaee", - "jbpm", - "jbpm5", - "jonas", - "jrun", - "log4j", - "openjdk", - "openjdk11", - "openjdk18", - "openjdk19", - "openjdk20", - "openjdk21", - "openjdk8", - "oraclejdk", - "oraclejdk7", - "orion", - "resin", - "resteasy", - "resteasy2", - "rmi", - "rpc", - "seam", - "seam2", - "soa", - "soa-p", - "soa-p5", - "sonic", - "sonicesb", - "springboot", - "thorntail", - "weblogic", - "websphere" + "camel", + "camel2", + "camel3", + "drools", + "drools5", + "eap", + "eap4", + "eap5", + "eap6", + "eap7", + "eap7.0", + "eap7.1", + "eapxp", + "glassfish", + "hibernate", + "hibernate-search", + "hibernate-search4", + "hibernate3.9", + "hibernate4", + "hibernate5.0", + "hibernate5.1", + "jakarta-ee", + "jakarta-ee7", + "java", + "java-ee", + "javaee", + "jbpm", + "jbpm5", + "jonas", + "jrun", + "log4j", + "openjdk", + "openjdk11", + "openjdk18", + "openjdk19", + "openjdk20", + "openjdk21", + "openjdk8", + "oraclejdk", + "oraclejdk7", + "orion", + "resin", + "resteasy", + "resteasy2", + "rmi", + "rpc", + "seam", + "seam2", + "soa", + "soa-p", + "soa-p5", + "sonic", + "sonicesb", + "spring", + "spring5", + "springboot", + "thorntail", + "weblogic", + "websphere" ] }, { diff --git a/src/server/analyzerUtil.ts b/src/server/analyzerUtil.ts index 3d14e38..e3b8855 100644 --- a/src/server/analyzerUtil.ts +++ b/src/server/analyzerUtil.ts @@ -207,8 +207,11 @@ export class AnalyzerUtil { } else { params.push(`${provider}`); } - - // rules + + //list-languages + // params.push('--list-languages'); + + // rules let rules = options['rules']; if (rules && rules.length > 0) { rules.forEach(entry => { From 3f16d318b212c8120a19ec6f8c8b326cd0c92806 Mon Sep 17 00:00:00 2001 From: hhpatel14 Date: Tue, 17 Jun 2025 10:42:52 -0400 Subject: [PATCH 12/12] Update targets and sources for 7.3.0 --- resources/help.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/help.json b/resources/help.json index 7083db5..eb88b08 100644 --- a/resources/help.json +++ b/resources/help.json @@ -79,6 +79,7 @@ "eapxp2", "eapxp3", "eapxp5", + "eapxp6", "fsw", "fsw6", "fuse", @@ -118,6 +119,8 @@ "resteasy", "resteasy3", "rhr", + "spring-boot3", + "spring-security6", "spring6" ], "editable": true @@ -183,6 +186,8 @@ "sonic", "sonicesb", "spring", + "spring-boot2", + "spring-security5", "spring5", "springboot", "thorntail",