Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
windup-eclipse-plugin
=====================

Migration Toolkit for Applications (MTA) Eclipse Plugin
Migration Toolkit for Runtimes (MTR) Eclipse Plugin

## Summary

[Windup](https://github.com/windup/windup) is a command-line Application Migration and Modernization assessment tool.

Provides Eclipse integration with the Migration Toolkit for Applications (MTA) project.
Provides Eclipse integration with the Migration Toolkit for Runtimes (MTR) project.

## Installing

Expand Down
4 changes: 2 additions & 2 deletions features/org.jboss.tools.windup.feature/feature.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# Contributors:
# Red Hat JBoss Middleware - Initial implementation.
##############################################################################
featureName=Migration Toolkit for Applications (MTA)
featureName=Migration Toolkit for Runtimes (MTR)
providerName=Red Hat JBoss Middleware
description=Application migration and modernization assessment using MTA.
description=Application migration and modernization assessment using MTR.
descriptionURL=http://windup.jboss.org/

copyright=Copyright (c) 2020 Red Hat, Inc. and others.\n\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
startingWindup=Starting MTA
generate_windup_reports=Generating MTA Reports
generate_windup_graph_for=Initializing MTA using {0}. This may take a moment...
startingWindup=Starting MTR
generate_windup_reports=Generating MTR Reports
generate_windup_graph_for=Initializing MTR using {0}. This may take a moment...
error_generating_report_for=Error generating report for {0}
removing_old_report=Removing old reports.
waiting_for_furnace=Waiting for Furnace.
get_windup_graph_context_factory=Get MTA Graph Context Factory
get_windup_graph_context_factory=Get MTR Graph Context Factory
writingUserIgnoreFile=Writing user ignore file
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void onProcessComplete(int exitValue) {
executor.setStreamHandler(new PumpStreamHandler(new LogOutputStream() {
@Override
protected void processLine(String line, int logLevel) {
logInfo("Message from MTA executor: " + line); //$NON-NLS-1$
logInfo("Message from MTR executor: " + line); //$NON-NLS-1$
monitor.worked(1);
}
}));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private static File getDefaultWindupHome() {
public static Help findWindupHelpCache() {
Help result = new Help();
File windupHome = WindupRuntimePlugin.computeWindupHome().toFile();
WindupRuntimePlugin.logInfo("Retrieving help.xml options from MTA_HOME: " + windupHome.toString());
WindupRuntimePlugin.logInfo("Retrieving help.xml options from MTR_HOME: " + windupHome.toString());
File cacheFile = new File(windupHome, HELP_CACHE);
try {
URL url = cacheFile.toURI().toURL();
Expand Down
6 changes: 3 additions & 3 deletions plugins/org.jboss.tools.windup.ui/intro/windupContent.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<introContent>
<extensionContent id="org.jboss.tools.windup.ui" name="MTA Getting Started"
<extensionContent id="org.jboss.tools.windup.ui" name="MTR Getting Started"
style="overview.css" path="overview/@">
<group id="content-group" style-id="content-group">
<link label="Migration Toolkit for Applications"
<link label="Migration Toolkit for Runtimes (MTR)"
url="http://org.eclipse.ui.intro/runAction?pluginId=org.jboss.tools.windup.ui&amp;class=org.jboss.tools.windup.ui.internal.intro.ShowGettingStartedAction&amp;id=org.jboss.tools.windup.ui.action.gettingStarted"
id="windup-getting-started" style-id="content-link">
<text>Get started with MTA Eclipse tools</text>
<text>Get started with MTR Eclipse tools</text>
</link>
</group>
</extensionContent>
Expand Down
24 changes: 12 additions & 12 deletions plugins/org.jboss.tools.windup.ui/plugin.properties
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
plugin.name=MTA UI
plugin.name=MTR UI
plugin.vendor=Red Hat JBoss Middleware

category.MTA.name=MTA
category.MTR.name=MTR
view.windup_report.name=Report

view.issueDetails=Issue Details

serverStateDecoratorLabel=Server State Decorator

menu.windup.name=MTA
command.show_in_windup_report_viewer.name=Show in MTA Report View
command.generate_windup_report.name=Generate MTA Report
command.export_windup_report.name=Export MTA Report
menu.windup.name=MTR
command.show_in_windup_report_viewer.name=Show in MTR Report View
command.generate_windup_report.name=Generate MTR Report
command.export_windup_report.name=Export MTR Report

export.windup_reports.name=MTA Reports
export.windup_reports.description=Export the MTA Report for one or more selected projects.
export.windup_reports.name=MTR Reports
export.windup_reports.description=Export the MTR Report for one or more selected projects.

keywords.windup_report.labels=MTA report reports
keywords.windup_report.labels=MTR report reports

# Launch
windupLaunch.run=Run MTA
windupLaunch.run=Run MTR

# Launch
windupLaunch.configType.name=MTA
windupLaunch.configType.name=MTR

#rule wizards
_UI_CREATE_NEW_XML_RULESET=Create a new XML Ruleset
_UI_CREATE_NEW_JAVA_RULESET=Create a new Java Ruleset
_UI_WIZARD_WINDUP_CATEGORY=MTA
_UI_WIZARD_WINDUP_CATEGORY=MTR

#ruleset editor
context.rulesetEditor.editingText.description = Ruleset Editor Context
Expand Down
16 changes: 8 additions & 8 deletions plugins/org.jboss.tools.windup.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<extension
point="org.eclipse.ui.views">
<category
name="%category.MTA.name"
name="%category.MTR.name"
id="org.jboss.tools.windup.ui.view.category.windup">
</category>
<view
Expand Down Expand Up @@ -457,7 +457,7 @@
<command
defaultHandler="org.jboss.tools.windup.ui.internal.editor.CreateRunConfigurationHandler"
id="org.jboss.tools.windup.ui.createRunConfiguration"
name="Create MTA Run Configuration">
name="Create MTR Run Configuration">
</command>
<command
defaultHandler="org.jboss.tools.windup.ui.WindupExtensionFactory:org.jboss.tools.windup.ui.internal.explorer.IssueExplorerHandlers$GroupByProjectHierarchy"
Expand Down Expand Up @@ -596,7 +596,7 @@
icon="icons/windup.png"
id="org.jboss.tools.windup.ui.explorer.WindupExplorerContentProvider"
labelProvider="org.jboss.tools.windup.ui.WindupExtensionFactory:org.jboss.tools.windup.ui.internal.explorer.IssueExplorerLabelProvider"
name="MTA Explorer Content Provider"
name="MTR Explorer Content Provider"
priority="highest">
<triggerPoints>
<adapt
Expand Down Expand Up @@ -729,7 +729,7 @@
</extension>
<extension point="org.eclipse.ui.actionSets">
<actionSet id="org.jboss.tools.windup.ui.actionSet.workbench"
label="MTA Getting Started" visible="true">
label="MTR Getting Started" visible="true">
<action
class="org.jboss.tools.windup.ui.internal.intro.ShowGettingStartedAction"
icon="icons/windup.png"
Expand All @@ -754,7 +754,7 @@
fixed="false"
icon="icons/windup.png"
id="org.jboss.tools.windup.ui.perspective"
name="MTA">
name="MTR">
</perspective>
</extension>
<extension
Expand All @@ -768,7 +768,7 @@
<page
class="org.jboss.tools.windup.ui.WindupExtensionFactory:org.jboss.tools.windup.ui.preferences.WindupPreferencePage"
id="org.jboss.tools.windup.ui.preferences.WindupPreferencePage"
name="MTA">
name="MTR">
</page>
</extension>
<extension
Expand Down Expand Up @@ -865,7 +865,7 @@
hasPages="true"
icon="icons/rules/repository-middle.gif"
id="org.jboss.tools.windup.ui.xml.ruleset.wizard"
name="MTA XML Ruleset"
name="MTR XML Ruleset"
preferredPerspectives="org.jboss.tools.windup.ui.perspective">
<description>
%_UI_CREATE_NEW_XML_RULESET
Expand Down Expand Up @@ -902,7 +902,7 @@
base-type="org.eclipse.core.runtime.xml"
file-extensions="xml"
id="org.jboss.tools.windup.ui.rulesetContentType"
name="MTA Ruleset"
name="MTR Ruleset"
priority="high">
<describer
class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
<xs:annotation>
<xs:documentation>
<![CDATA[
<p>A reference to a category as defined in <code>MTA_HOME/rules/migration-core/core.windup.categories.xml</code>.</p>
<p>A reference to a category as defined in <code>MTR_HOME/rules/migration-core/core.windup.categories.xml</code>.</p>
<p>The default categories are:</p>
<ul>
<li>mandatory</li>
Expand Down Expand Up @@ -651,7 +651,7 @@
<xs:annotation>
<xs:documentation>
<![CDATA[
<p>A reference to a category as defined in <code>MTA_HOME/rules/migration-core/core.windup.categories.xml</code>.</p>
<p>A reference to a category as defined in <code>MTR_HOME/rules/migration-core/core.windup.categories.xml</code>.</p>
<p>The default categories are:</p>
<ul>
<li>mandatory</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public void serverShutdown(IStatus status) {
CButton preferenceButton = new CButton(buttonBar, SWT.NONE);
preferenceButton.setHotImage(WindupUIPlugin.getDefault().getImageRegistry().get(WindupUIPlugin.IMG_CONFIG_HOT));
preferenceButton.setColdImage(WindupUIPlugin.getDefault().getImageRegistry().get(WindupUIPlugin.IMG_CONFIG_COLD));
preferenceButton.setToolTipText("Configure MTA"); //$NON-NLS-1$
preferenceButton.setToolTipText("Configure MTR"); //$NON-NLS-1$
preferenceButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void launch(ILaunchConfiguration config, String mode, ILaunch launch, IPr
Display.getDefault().asyncExec(() -> {
MessageDialog.openInformation(Display.getDefault().getActiveShell(),
Messages.launchErrorTitle, Messages.launchErrorMessage);
WindupUIPlugin.logErrorMessage("WindupLaunchDelegate:: unable to launch MTA. Input is empty."); //$NON-NLS-1$
WindupUIPlugin.logErrorMessage("WindupLaunchDelegate:: unable to launch MTR. Input is empty."); //$NON-NLS-1$
});
}
else {
Expand Down
Loading