├── .github
├── ISSUE_TEMPLATE
│ └── where-to-report-issues.md
└── PULL_REQUEST_TEMPLATE.MD
├── .gitignore
├── .project
├── CONTRIBUTING.md
├── Jenkinsfile
├── LICENSE
├── NOTICE.md
├── README.md
└── dev
├── .gitignore
├── .gradle-wrapper
├── gradle-wrapper.jar
└── gradle-wrapper.properties
├── .project
├── ant_build
├── .gitignore
├── build-cw.xml
├── cw_imports.xml
├── cw_product_updatesite_features.properties
├── cw_product_updatesite_toplevel_features.properties
├── cw_suppliers_updatesite.xml
├── cw_test_imports.xml
├── image.common
│ ├── .gitignore
│ ├── .settings
│ │ └── org.eclipse.core.resources.prefs
│ └── lafiles
│ │ ├── featureTerms-restricted
│ │ ├── LA_cs
│ │ ├── LA_de
│ │ ├── LA_el
│ │ ├── LA_en
│ │ ├── LA_es
│ │ ├── LA_fr
│ │ ├── LA_in
│ │ ├── LA_it
│ │ ├── LA_ja
│ │ ├── LA_ko
│ │ ├── LA_lt
│ │ ├── LA_pl
│ │ ├── LA_pt
│ │ ├── LA_ru
│ │ ├── LA_sl
│ │ ├── LA_tr
│ │ ├── LA_zh
│ │ └── LA_zh_TW
│ │ ├── featureTerms
│ │ ├── LA_cs
│ │ ├── LA_de
│ │ ├── LA_el
│ │ ├── LA_en
│ │ ├── LA_es
│ │ ├── LA_fr
│ │ ├── LA_in
│ │ ├── LA_it
│ │ ├── LA_ja
│ │ ├── LA_ko
│ │ ├── LA_lt
│ │ ├── LA_pl
│ │ ├── LA_pt
│ │ ├── LA_ru
│ │ ├── LA_sl
│ │ ├── LA_tr
│ │ ├── LA_zh
│ │ └── LA_zh_TW
│ │ ├── tools
│ │ ├── LA_cs
│ │ ├── LA_de
│ │ ├── LA_el
│ │ ├── LA_en
│ │ ├── LA_es
│ │ ├── LA_fr
│ │ ├── LA_it
│ │ ├── LA_ja
│ │ ├── LA_ko
│ │ ├── LA_lt
│ │ ├── LA_pl
│ │ ├── LA_pt
│ │ ├── LA_ru
│ │ ├── LA_sl
│ │ ├── LA_tr
│ │ ├── LA_zh
│ │ ├── LA_zh_TW
│ │ ├── LI_cs
│ │ ├── LI_de
│ │ ├── LI_el
│ │ ├── LI_en
│ │ ├── LI_es
│ │ ├── LI_fr
│ │ ├── LI_it
│ │ ├── LI_ja
│ │ ├── LI_ko
│ │ ├── LI_lt
│ │ ├── LI_pl
│ │ ├── LI_pt
│ │ ├── LI_ru
│ │ ├── LI_sl
│ │ ├── LI_tr
│ │ ├── LI_zh
│ │ └── LI_zh_TW
│ │ └── unsupported
│ │ └── developers
│ │ ├── LA_cs
│ │ ├── LA_de
│ │ ├── LA_el
│ │ ├── LA_en
│ │ ├── LA_es
│ │ ├── LA_fr
│ │ ├── LA_in
│ │ ├── LA_it
│ │ ├── LA_ja
│ │ ├── LA_ko
│ │ ├── LA_lt
│ │ ├── LA_pl
│ │ ├── LA_pt
│ │ ├── LA_ru
│ │ ├── LA_sl
│ │ ├── LA_tr
│ │ ├── LA_zh
│ │ ├── LA_zh_TW
│ │ ├── LI_cs
│ │ ├── LI_de
│ │ ├── LI_el
│ │ ├── LI_en
│ │ ├── LI_es
│ │ ├── LI_fr
│ │ ├── LI_in
│ │ ├── LI_it
│ │ ├── LI_ja
│ │ ├── LI_ko
│ │ ├── LI_lt
│ │ ├── LI_pl
│ │ ├── LI_pt
│ │ ├── LI_ru
│ │ ├── LI_sl
│ │ ├── LI_tr
│ │ ├── LI_zh
│ │ ├── LI_zh_TW
│ │ └── notices
├── prereqs
│ ├── ivysettings-remote.xml
│ ├── manifest-reader.xml
│ ├── prereqs.properties
│ ├── prereqs.xml
│ └── product-prereqs.xml
├── public_imports
│ ├── internal_imports
│ │ ├── begin.xml
│ │ ├── buildtasks.xml
│ │ ├── clean.xml
│ │ ├── compile.xml
│ │ ├── compile_libraries.xml
│ │ ├── copypii.xml
│ │ ├── feature_build.xml
│ │ ├── package.xml
│ │ ├── publish.xml
│ │ ├── standard_macros.xml
│ │ ├── standard_properties.xml
│ │ ├── standard_targets.xml
│ │ └── universal_properties.xml
│ ├── standard_imports.xml
│ ├── tooling_imports.xml
│ ├── tooling_nlGathering.xml
│ └── updatesite_imports.xml
├── resources
│ ├── build_imports
│ │ ├── liberty-all.xml
│ │ └── liberty-macros.xml
│ └── cw_updatesite-properties
│ │ ├── GenerateUpdateSite.properties
│ │ ├── generateP2Metadata.xml
│ │ └── generateSuppliersP2Metadata.xml
└── suppliers.properties
├── build.gradle
├── buildAll.gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
├── org.eclipse.codewind.base
├── .project
├── build.properties
├── build.xml
├── feature.properties
├── feature.xml
└── license.html
├── org.eclipse.codewind.core
├── .classpath
├── .gitignore
├── .options
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── about.ini
├── about.properties
├── binaries
│ ├── .gitignore
│ ├── README.txt
│ └── meta-pull.sh
├── build.properties
├── build.xml
├── codewind.png
├── codewind@2x.png
├── icons
│ ├── codewind.png
│ └── codewind@2x.png
├── plugin.properties
├── plugin.xml
├── resources
│ └── install-version.properties
├── src
│ └── org
│ │ └── eclipse
│ │ └── codewind
│ │ └── core
│ │ ├── CodewindCorePlugin.java
│ │ └── internal
│ │ ├── CodewindApplication.java
│ │ ├── CodewindApplicationFactory.java
│ │ ├── CodewindEclipseApplication.java
│ │ ├── CodewindManager.java
│ │ ├── CodewindObjectFactory.java
│ │ ├── CoreUtil.java
│ │ ├── FileUtil.java
│ │ ├── HttpUtil.java
│ │ ├── IAuthInfo.java
│ │ ├── IDebugLauncher.java
│ │ ├── IUpdateHandler.java
│ │ ├── KubeUtil.java
│ │ ├── Logger.java
│ │ ├── PlatformUtil.java
│ │ ├── ProcessHelper.java
│ │ ├── RemoteEclipseApplication.java
│ │ ├── cli
│ │ ├── AuthToken.java
│ │ ├── AuthUtil.java
│ │ ├── CLIInfo.java
│ │ ├── CLIUtil.java
│ │ ├── ConnectionInfo.java
│ │ ├── ConnectionUtil.java
│ │ ├── InstallStatus.java
│ │ ├── InstallUtil.java
│ │ ├── LogLevels.java
│ │ ├── OtherUtil.java
│ │ ├── ProjectLinks.java
│ │ ├── ProjectUtil.java
│ │ ├── RegistryUtil.java
│ │ ├── TemplateUtil.java
│ │ └── UpgradeResult.java
│ │ ├── connection
│ │ ├── AuthManager.java
│ │ ├── CodewindConnection.java
│ │ ├── CodewindConnectionException.java
│ │ ├── CodewindConnectionManager.java
│ │ ├── CodewindSocket.java
│ │ ├── ConnectionEnv.java
│ │ ├── ExtensionConfig.java
│ │ ├── ImagePushRegistryInfo.java
│ │ ├── JSONObjectResult.java
│ │ ├── LocalConnection.java
│ │ ├── ProjectTemplateInfo.java
│ │ ├── ProjectTypeInfo.java
│ │ ├── RegistryInfo.java
│ │ ├── RemoteConnection.java
│ │ └── RepositoryInfo.java
│ │ ├── console
│ │ ├── CodewindConsoleFactory.java
│ │ ├── FileConsole.java
│ │ ├── FileConsoleMonitorThread.java
│ │ ├── ProjectLogInfo.java
│ │ └── SocketConsole.java
│ │ ├── constants
│ │ ├── AppStatus.java
│ │ ├── BuildStatus.java
│ │ ├── CoreConstants.java
│ │ ├── DetailedAppStatus.java
│ │ ├── ProjectCapabilities.java
│ │ ├── ProjectInfo.java
│ │ ├── ProjectLanguage.java
│ │ ├── ProjectType.java
│ │ └── StartMode.java
│ │ ├── launch
│ │ ├── CodewindDebugConnector.java
│ │ ├── CodewindLaunchConfigDelegate.java
│ │ ├── CodewindLaunchListener.java
│ │ ├── CodewindSourcePathComputer.java
│ │ ├── LaunchUtilities.java
│ │ ├── RemoteLaunchConfigDelegate.java
│ │ └── UtilityLaunchConfigDelegate.java
│ │ └── messages
│ │ ├── Messages.java
│ │ └── messages.properties
├── updateBinaries.launch
└── updateBinaries.xml
├── org.eclipse.codewind.filewatchers.core
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.jdt.ui.prefs
├── META-INF
│ └── MANIFEST.MF
├── build.properties
├── build.xml
├── lib
│ └── .gitignore
├── pom.xml
└── src
│ └── org
│ └── eclipse
│ └── codewind
│ └── filewatchers
│ └── core
│ ├── FWAuthToken.java
│ ├── FWLogger.java
│ ├── Filewatcher.java
│ ├── FilewatcherUtils.java
│ ├── IAuthTokenProvider.java
│ ├── IPlatformWatchService.java
│ ├── PathFilter.java
│ ├── PathUtils.java
│ ├── ProjectToWatch.java
│ ├── WatchEventEntry.java
│ └── internal
│ ├── AuthTokenWrapper.java
│ ├── CLIState.java
│ ├── DebugTimer.java
│ ├── FileChangeEventBatchUtil.java
│ ├── HttpGetStatusThread.java
│ ├── HttpPostOutputQueue.java
│ ├── HttpUtil.java
│ ├── IndividualFileWatchService.java
│ ├── WSClientEndpoint.java
│ └── WebSocketManagerThread.java
├── org.eclipse.codewind.filewatchers.eclipse
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.jdt.ui.prefs
├── META-INF
│ └── MANIFEST.MF
├── build.properties
├── build.xml
├── pom.xml
└── src
│ └── org
│ └── eclipse
│ └── codewind
│ └── filewatchers
│ └── eclipse
│ ├── CodewindFilewatcherdConnection.java
│ ├── CodewindResourceChangeListener.java
│ ├── EclipseResourceWatchService.java
│ └── ICodewindProjectTranslator.java
├── org.eclipse.codewind.filewatchers.standalonenio
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.jdt.ui.prefs
├── META-INF
│ └── MANIFEST.MF
├── build.properties
├── build.xml
├── pom.xml
├── run_fwd_tests_if_needed.sh
└── src
│ └── org
│ └── eclipse
│ └── codewind
│ └── filewatchers
│ ├── JavaNioWatchService.java
│ └── Main.java
├── org.eclipse.codewind.test.feature
├── .project
├── build.properties
├── build.xml
├── feature.properties
├── feature.xml
└── license.html
├── org.eclipse.codewind.test
├── .classpath
├── .gitignore
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── build.properties
├── build.xml
├── resources
│ └── appsodyOpenLiberty
│ │ └── Hello.java
└── src
│ └── org
│ └── eclipse
│ └── codewind
│ └── test
│ ├── AllTests.java
│ ├── AppsodyNodeExpressAutoBuildTest.java
│ ├── AppsodyOpenLibertyAutoBuildTest.java
│ ├── AppsodyOpenLibertyDebugTest.java
│ ├── AppsodySpringAutoBuildTest.java
│ ├── AppsodySpringDebugTest.java
│ ├── BaseAppsodyAutoBuildTest.java
│ ├── BaseAppsodyDebugTest.java
│ ├── BaseAutoBuildTest.java
│ ├── BaseDebugTest.java
│ ├── BaseTest.java
│ ├── BaseValidationTest.java
│ ├── BuildVerificationTests.java
│ ├── CodewindTestPlugin.java
│ ├── ExternalLinkTest.java
│ ├── GoAutoBuildTest.java
│ ├── LagomAutoBuildTest.java
│ ├── LibertyDebugTest.java
│ ├── NodeAutoBuildTest.java
│ ├── NodeValidationTest.java
│ ├── PythonAutoBuildTest.java
│ ├── SpringAutoBuildTest.java
│ ├── SpringDebugTest.java
│ └── util
│ ├── CodewindUtil.java
│ ├── Condition.java
│ ├── ImportUtil.java
│ └── TestUtil.java
├── org.eclipse.codewind.ui
├── .classpath
├── .gitignore
├── .options
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── META-INF
│ └── MANIFEST.MF
├── build.properties
├── build.xml
├── icons
│ ├── codewind.ico
│ ├── codewind.png
│ ├── codewind@2x.png
│ ├── codewindBanner.png
│ ├── codewindBanner@2x.png
│ ├── elcl16
│ │ ├── add_project.png
│ │ ├── add_project@2x.png
│ │ ├── bind_project.png
│ │ ├── bind_project@2x.png
│ │ ├── build_exec.png
│ │ ├── build_exec@2x.png
│ │ ├── debug_exc.png
│ │ ├── debug_exc@2x.png
│ │ ├── import_wiz.png
│ │ ├── import_wiz@2x.png
│ │ ├── new_remote.png
│ │ ├── new_remote@2x.png
│ │ ├── open_app.png
│ │ ├── open_app@2x.png
│ │ ├── refresh.png
│ │ ├── refresh@2x.png
│ │ ├── remote_connect.png
│ │ ├── remote_connect@2x.png
│ │ ├── run_exc.png
│ │ └── run_exc@2x.png
│ ├── error.png
│ ├── error@2x.png
│ ├── obj16
│ │ ├── generic_project.png
│ │ ├── generic_project@2x.png
│ │ ├── go.png
│ │ ├── go@2x.png
│ │ ├── java.png
│ │ ├── java@2x.png
│ │ ├── local_active.png
│ │ ├── local_active@2x.png
│ │ ├── local_inactive.png
│ │ ├── local_inactive@2x.png
│ │ ├── microprofile.png
│ │ ├── microprofile@2x.png
│ │ ├── nodejs.png
│ │ ├── nodejs@2x.png
│ │ ├── python.png
│ │ ├── python@2x.png
│ │ ├── remote_connected.png
│ │ ├── remote_connected@2x.png
│ │ ├── remote_disconnected.png
│ │ ├── remote_disconnected@2x.png
│ │ ├── spring.png
│ │ ├── spring@2x.png
│ │ ├── swift.png
│ │ └── swift@2x.png
│ ├── svg
│ │ ├── elcl16
│ │ │ └── open_app.svg
│ │ └── obj16
│ │ │ └── projects.svg
│ └── welcome.png
├── intro
│ ├── css
│ │ └── overview.css
│ └── overview.xml
├── plugin.properties
├── plugin.xml
├── src
│ └── org
│ │ └── eclipse
│ │ └── codewind
│ │ └── ui
│ │ ├── CodewindUIPlugin.java
│ │ └── internal
│ │ ├── CodewindLaunchConfigTabGroup.java
│ │ ├── IDEUtil.java
│ │ ├── UIConstants.java
│ │ ├── actions
│ │ ├── AddConnectionAction.java
│ │ ├── AddConnectionToolbarAction.java
│ │ ├── AttachDebuggerAction.java
│ │ ├── BindAction.java
│ │ ├── BindProjectAction.java
│ │ ├── CodewindActionProvider.java
│ │ ├── CodewindApplicationActionProvider.java
│ │ ├── CodewindInstall.java
│ │ ├── ConnectDisconnectAction.java
│ │ ├── ContainerShellAction.java
│ │ ├── DiagnosticsAction.java
│ │ ├── EditConnectionAction.java
│ │ ├── EnableDisableAutoBuildAction.java
│ │ ├── EnableDisableInjectMetricsAction.java
│ │ ├── EnableDisableProjectAction.java
│ │ ├── GetStartedAction.java
│ │ ├── HideAllLogsAction.java
│ │ ├── ImportProjectAction.java
│ │ ├── InstallerAction.java
│ │ ├── LocalConnectionActionProvider.java
│ │ ├── LocalDoubleClickAction.java
│ │ ├── LogFileAction.java
│ │ ├── LogLevelAction.java
│ │ ├── ManageLinksAction.java
│ │ ├── ManageRegistriesAction.java
│ │ ├── ManageReposAction.java
│ │ ├── NewProjectAction.java
│ │ ├── OpenAppAction.java
│ │ ├── OpenAppMonitorAction.java
│ │ ├── OpenAppOverviewAction.java
│ │ ├── OpenPerfMonitorAction.java
│ │ ├── OpenTektonDashboardAction.java
│ │ ├── OpenWelcomePageAction.java
│ │ ├── RefreshAction.java
│ │ ├── RemoteConnectionActionProvider.java
│ │ ├── RemoveConnectionAction.java
│ │ ├── RestartDebugModeAction.java
│ │ ├── RestartRunModeAction.java
│ │ ├── RootActionProvider.java
│ │ ├── ShowAllLogsAction.java
│ │ ├── StartBuildAction.java
│ │ ├── ToggleConsoleAction.java
│ │ ├── UnbindProjectAction.java
│ │ └── ValidateAction.java
│ │ ├── console
│ │ ├── ShowOnContentChangeAction.java
│ │ └── SocketConsolePageParticipant.java
│ │ ├── debug
│ │ ├── NodeJSDebugLauncher.java
│ │ ├── NodeJsBrowserDialog.java
│ │ └── WebBrowserSelectionDialog.java
│ │ ├── editors
│ │ ├── ApplicationOverviewEditorInput.java
│ │ ├── ApplicationOverviewEditorInputFactory.java
│ │ ├── ApplicationOverviewEditorPart.java
│ │ ├── WelcomePageEditorInput.java
│ │ ├── WelcomePageEditorInputFactory.java
│ │ └── WelcomePageEditorPart.java
│ │ ├── marker
│ │ ├── CodewindMarkerResolution.java
│ │ └── CodewindMarkerResolutionGenerator.java
│ │ ├── messages
│ │ ├── Messages.java
│ │ └── messages.properties
│ │ ├── prefs
│ │ ├── AddTemplateSourceWizard.java
│ │ ├── CodewindPrefsParentPage.java
│ │ ├── EditTemplateSourceWizard.java
│ │ ├── LinkManagementComposite.java
│ │ ├── LinkManagementDialog.java
│ │ ├── RegistryManagementComposite.java
│ │ ├── RegistryManagementDialog.java
│ │ ├── RepositoryManagementComposite.java
│ │ ├── RepositoryManagementDialog.java
│ │ ├── TemplateSourceAuthComposite.java
│ │ ├── TemplateSourceAuthDialog.java
│ │ ├── TemplateSourceDetailsPage.java
│ │ └── TemplateSourceURLPage.java
│ │ ├── views
│ │ ├── CodewindExplorerView.java
│ │ ├── CodewindNavigatorContentProvider.java
│ │ ├── CodewindNavigatorDropAssistant.java
│ │ ├── CodewindNavigatorLabelProvider.java
│ │ ├── CodewindNavigatorSorter.java
│ │ ├── UpdateHandler.java
│ │ └── ViewHelper.java
│ │ └── wizards
│ │ ├── BindProjectWizard.java
│ │ ├── CodewindConnectionComposite.java
│ │ ├── CompositeContainer.java
│ │ ├── ConnectionSelectionPage.java
│ │ ├── DiagnosticsDialog.java
│ │ ├── EditConnectionDialog.java
│ │ ├── LogLevelSelectionDialog.java
│ │ ├── NewCodewindConnectionPage.java
│ │ ├── NewCodewindConnectionWizard.java
│ │ ├── NewCodewindProjectPage.java
│ │ ├── NewCodewindProjectWizard.java
│ │ ├── ProjectDeployedDialog.java
│ │ ├── ProjectSelectionPage.java
│ │ ├── ProjectTypeSelectionPage.java
│ │ ├── ProjectValidationPage.java
│ │ └── WizardLauncher.java
└── xml
│ └── CodewindUIContexts.xml
├── org.eclipse.codewind
├── .project
├── build.properties
├── build.xml
├── feature.properties
├── feature.xml
└── license.html
├── run.sh
├── runTest.sh
└── set-install-version.sh
/.github/ISSUE_TEMPLATE/where-to-report-issues.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "⚠️ Where to report issues?"
3 | about: File issues in the main Eclipse Codewind repository at https://github.com/eclipse/codewind/issues
4 | title: Issues need to be filed in the main Eclipse Codewind repository
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | ## Where to report issues?
11 |
12 | This repository is not used for issue tracking of the Codewind plugin for Eclipse
13 |
14 | 🚨 Please don't submit new issues here. 🚨
15 |
16 | All issues for the Eclipse Codewind plugin are managed at [https://github.com/eclipse/codewind/issues](https://github.com/eclipse/codewind/issues).
17 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.MD:
--------------------------------------------------------------------------------
1 | ## What type of PR is this ?
2 |
3 | - [ ] Bug fix
4 | - [ ] Enhancement
5 |
6 | ## What does this PR do ?
7 |
8 |
9 | ## Which issue(s) does this PR fix ?
10 |
11 | #### Link to the [Codewind repository](https://github.com/eclipse/codewind/issues) issue(s) this PR fixes or references:
12 |
13 | ## Does this PR require a documentation change ?
14 |
15 |
16 | ## Any special notes for your reviewer ?
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_STORE
2 | **/runtime-New_configuration/
3 | .metadata/
4 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | codewind-eclipse
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## Contributing
2 | Thank you for your interest in contributing to Codewind. We welcome your additions to this project.
3 |
4 | #### Signing the Eclipse Contributor Agreement (ECA)
5 | Before you can contribute to any Eclipse project, you need to sign the [Eclipse Contributor Agreement (ECA)](https://www.eclipse.org/legal/ECA.php).
6 | 1. To verify that you signed the ECA, sign in to [https://accounts.eclipse.org/ your Eclipse account].
7 | 2. View your **Status** and make sure that a check mark appears with the **Eclipse Contributor Agreement**.
8 | 3. If the check mark does not appear, click the **Eclipse Contributor Agreement** in the **Status** box to go to the agreement that you need to sign.
9 | 4. Fill the form and click the **Accept** button.
10 |
11 | #### Associating your Eclipse profile with your GitHub ID
12 | 1. From your Eclipse account, select **Edit Profile**.
13 | 2. On the **Personal Information** tab, go to the **Social Media Links** section and add your GitHub user name to the **GitHub Username** field.
14 | 3. Answer the **Have you changed employers** question.
15 | 4. Enter your Eclipse password in the **Current password** field and then click **Save**.
16 |
17 | For more information about Codewind workflows, see the [Codewind GitHub Workflows wiki](https://wiki.eclipse.org/Codewind_GitHub_Workflows).
18 |
19 | #### Checking if your issue is already addressed
20 | - Search the [list of issues](https://github.com/eclipse/codewind/issues) to see if your issue has already been raised.
21 | - See the [Codewind documentation](https://www.eclipse.org/codewind/docindex.html) to see if existing documentation addresses your question or concern.
22 |
23 | #### Creating a new issue
24 | If you do not see your issue, please [select the issue type in the Codewind repository to open a new issue](https://github.com/eclipse/codewind/issues/new/choose).
25 | - **Bugs:** Complete the bug template to report problems found in Codewind.
26 | - **Enhancements:** Complete the enhancement template to suggest improvements to Codewind.
27 | - **Questions:** Complete the question template to ask a question about Codewind.
28 |
29 | ## Contact us
30 | If you have questions, please visit us on Mattermost](https://mattermost.eclipse.org/eclipse/channels/eclipse-codewind).
--------------------------------------------------------------------------------
/dev/.gitignore:
--------------------------------------------------------------------------------
1 | .metadata/
2 | .gradle/
3 | target_platform/
4 | tools.image/
5 | **/tools.pii.package
6 | org.eclipse.codewind*/**/build/
7 | ant_build/buildLabel.properties
8 | ant_build/target_platform.tar.gz
9 | ant_build/lib/
10 | .settings/
11 |
--------------------------------------------------------------------------------
/dev/.gradle-wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/.gradle-wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/dev/.gradle-wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/dev/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | dev
4 | Project dev created by Buildship.
5 |
6 |
7 |
8 |
9 | org.eclipse.buildship.core.gradleprojectbuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.buildship.core.gradleprojectnature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/ant_build/.gitignore:
--------------------------------------------------------------------------------
1 | /bin/
2 | /build/
3 | /generated/
4 | /eclipse*
5 | /eclipse*/
6 | artifacts/
7 |
--------------------------------------------------------------------------------
/dev/ant_build/cw_product_updatesite_features.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2019 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | org.eclipse.codewind
13 | org.eclipse.codewind.base
14 |
--------------------------------------------------------------------------------
/dev/ant_build/cw_product_updatesite_toplevel_features.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2019 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | # Codewind product updatesite top level features
13 | org.eclipse.codewind
14 |
--------------------------------------------------------------------------------
/dev/ant_build/image.common/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/.gitignore
--------------------------------------------------------------------------------
/dev/ant_build/image.common/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//lafiles/featureTerms-restricted=UTF-16LE
3 | encoding//lafiles/featureTerms-restricted/LA_en=UTF-16LE
4 | encoding//lafiles/runtime/Copyright.txt=ISO-8859-1
5 | encoding/=UTF-16
6 | encoding/manualapars=UTF-8
7 |
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_in:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_in
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms-restricted/LA_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_in:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_in
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/featureTerms/LA_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/featureTerms/LA_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LA_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LA_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/tools/LI_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/tools/LI_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_in:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_in
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LA_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LA_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_cs
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_de:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_de
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_el:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_el
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_en:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_en
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_es:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_es
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_fr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_fr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_in:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_in
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_it:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_it
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ja:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ja
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ko:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ko
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_lt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_lt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_pl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_pt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_pt
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_ru
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_sl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_sl
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_tr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_tr
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_zh:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_zh
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/LI_zh_TW:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/LI_zh_TW
--------------------------------------------------------------------------------
/dev/ant_build/image.common/lafiles/unsupported/developers/notices:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/ant_build/image.common/lafiles/unsupported/developers/notices
--------------------------------------------------------------------------------
/dev/ant_build/prereqs/ivysettings-remote.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/dev/ant_build/prereqs/prereqs.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2019 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | # This file is used by prereqs.xml to determine where to put prereq jars after they are downloaded.
13 | # Each prereq jar gets copied into the dependent plugin's lib/ dir after ivy finishes downloading.
14 | # If you're adding new dependencies, be sure to also add them to product-prereqs.xml so they are downloaded.
15 |
16 | depends.org.eclipse.codewind.core=
17 | depends.org.eclipse.codewind.ui=
18 |
--------------------------------------------------------------------------------
/dev/ant_build/prereqs/product-prereqs.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dev/ant_build/public_imports/internal_imports/buildtasks.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/dev/ant_build/public_imports/internal_imports/clean.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/ant_build/public_imports/internal_imports/compile_libraries.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Compiling lib: ${lib}
23 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/dev/ant_build/public_imports/internal_imports/standard_targets.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/dev/ant_build/public_imports/standard_imports.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dev/ant_build/resources/build_imports/liberty-all.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/dev/ant_build/resources/cw_updatesite-properties/GenerateUpdateSite.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | generateUpdateSite=com.ibm.wdt.ant.tasks.GenerateUpdateSite
13 | copySuppliers=com.ibm.wdt.ant.tasks.CopySuppliers
14 | updateBuildPage=com.ibm.wdt.ant.tasks.UpdateBuildPage
--------------------------------------------------------------------------------
/dev/ant_build/resources/cw_updatesite-properties/generateP2Metadata.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/dev/ant_build/resources/cw_updatesite-properties/generateSuppliersP2Metadata.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/dev/ant_build/suppliers.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | #Miscellaneous Supplier components
13 | cw.src.TEMP = target_platform/prereqs/temp
14 |
--------------------------------------------------------------------------------
/dev/build.gradle:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | buildscript {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
18 | repositories {
19 | mavenCentral()
20 | }
21 |
22 | defaultTasks 'buildAll'
23 |
24 | def projDir = projectDir.getAbsolutePath()
25 | def buildlibFolder = file(projDir + '/ant_build/lib')
26 | def updateSiteFile = file(projDir + '/ant_build/lib/wdt-updatesite_0.0.2_v.20131018_1700.jar')
27 |
28 | task downloadUpdateSiteJar(type: Download) {
29 | println("Downloading update site jar")
30 | if (!buildlibFolder.exists()) {
31 | buildlibFolder.mkdir()
32 | }
33 | sourceUrl='https://github.com/OpenLiberty/open-liberty-tools/blob/19003_master/dev/ant_build/lib/wdt-updatesite_0.0.2_v.20131018_1700.jar?raw=true'
34 | // sourceUrl = 'https://github.com/OpenLiberty/open-liberty-tools/blob/cab4b22d90366bad12b6719c296bb7f3940a6b00/dev/ant_build/lib/wdt-updatesite_0.0.2_v.20131018_1700.jar'
35 | target=updateSiteFile
36 | }
37 |
38 | class Download extends DefaultTask {
39 | @Input
40 | String sourceUrl
41 |
42 | @OutputFile
43 | File target
44 |
45 | @TaskAction
46 | void download() {
47 | ant.get(src: sourceUrl, dest: target)
48 | }
49 | }
50 |
51 | task buildAll(type: GradleBuild) {
52 | buildFile = 'buildAll.gradle'
53 | }
54 |
55 | task getDependencies(type: GradleBuild) {
56 | buildFile = 'buildAll.gradle'
57 | tasks = ['getCoreDependencies', 'getFWCoreDependencies']
58 | }
59 |
60 | buildAll.dependsOn downloadUpdateSiteJar
61 | getDependencies.dependsOn downloadUpdateSiteJar
62 |
--------------------------------------------------------------------------------
/dev/gradle.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2019 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | org.gradle.daemon=false
13 |
14 | # Target platform : 2018-12 (4.10)
15 | eclipse.sdk.url=https://archive.eclipse.org/eclipse/downloads/drops4/R-4.10-201812060815/eclipse-SDK-4.10-linux-gtk-x86_64.tar.gz
16 | eclipse.target.platform.url=http://mirrors.xmission.com/eclipse/technology/epp/downloads/release/2018-12/R/eclipse-jee-2018-12-R-linux-gtk-x86_64.tar.gz
17 |
18 | eclipse.sdk.archive.location=/ant_build/eclipse_sdk.tar.gz
19 | eclipse.sdk.folder=/ant_build/eclipse_sdk/
20 |
21 | eclipse.target.platform.archive.location=/ant_build/target_platform.tar.gz
22 | eclipse.target.platform.folder=/target_platform
23 | eclipse.target.platform.ies.folder=/target_platform/prereqs/ies
24 | eclipse.temp.folder=/target_platform/prereqs/temp/plugins
25 | ant.prereqslib.folder=/ant_build/prereqs/lib
26 | ant.artifacts.folder=ant_build/artifacts/
27 |
28 | codewind.core.prereqlib.folder=/org.eclipse.codewind.core/lib
29 | codewind.fw.core.prereqlib.folder=/org.eclipse.codewind.filewatchers.core/lib
30 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.base/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.base
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.pde.FeatureBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.pde.FeatureNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.base/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | bin.includes = feature.xml,\
13 | feature.properties,\
14 | notices.html,\
15 | license.html
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.base/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.base/feature.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
17 |
18 |
19 | %description
20 |
21 |
22 |
23 | %copyright
24 |
25 |
26 |
27 | %license
28 |
29 |
30 |
36 |
37 |
43 |
44 |
50 |
51 |
57 |
58 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/.gitignore:
--------------------------------------------------------------------------------
1 | *.class
2 | /bin
3 | /build
4 | /depcache
5 | /dist
6 | /lib
7 | /about.mappings
8 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/.options:
--------------------------------------------------------------------------------
1 | org.eclipse.codewind.core/debug/info=true
2 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.core
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.pde.PluginNature
26 | org.eclipse.jdt.core.javanature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind Core Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.core;singleton:=true
5 | Bundle-Version: 1.9.1.qualifier
6 | Bundle-Activator: org.eclipse.codewind.core.CodewindCorePlugin
7 | Bundle-Vendor: Eclipse.org
8 | Bundle-Localization: plugin
9 | Require-Bundle: org.eclipse.ui,
10 | org.eclipse.core.runtime,
11 | org.eclipse.jdt.launching,
12 | org.eclipse.debug.core,
13 | org.eclipse.jdt.debug,
14 | org.eclipse.ui.console
15 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8
16 | Automatic-Module-Name: org.eclipse.codewind.core;singleton:=true
17 | Bundle-ActivationPolicy: lazy
18 | Export-Package: io.socket.client,
19 | io.socket.emitter,
20 | org.eclipse.codewind.core,
21 | org.eclipse.codewind.core.internal,
22 | org.eclipse.codewind.core.internal.cli,
23 | org.eclipse.codewind.core.internal.connection,
24 | org.eclipse.codewind.core.internal.console,
25 | org.eclipse.codewind.core.internal.constants,
26 | org.eclipse.codewind.core.internal.launch,
27 | org.json
28 | Import-Package: org.eclipse.codewind.filewatchers.core,
29 | org.eclipse.codewind.filewatchers.eclipse
30 | Bundle-ClassPath: .,
31 | lib/engine.io-client-1.0.0.jar,
32 | lib/org.json_1.0.0.v201011060100.jar,
33 | lib/socket.io-client-1.0.0.jar,
34 | lib/okhttp-3.8.1.jar,
35 | lib/okio-1.13.0.jar
36 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/about.ini:
--------------------------------------------------------------------------------
1 | aboutText=%blurb
2 | featureImage=codewind.png
3 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/about.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 | #
12 | # NLS_ENCODING=UNICODE
13 | # NLS_MESSAGEFORMAT_NONE
14 |
15 |
16 | blurb=Codewind\n\
17 | \n\
18 | Version: {0}\n\
19 | Build id: {1}\n\
20 | \n\
21 | Tools for working with Codewind applications in Eclipse.\n\
22 | \n\
23 | Copyright \u00a9 IBM Corporation and others 2018, 2020. All rights reserved.\n\
24 | Visit https://www.eclipse.org/codewind/
25 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/binaries/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 | !meta-pull.sh
4 | !README.txt
5 |
6 | **/installer-docker-compose.yaml
7 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/binaries/README.txt:
--------------------------------------------------------------------------------
1 | Usage: ./meta-pull.sh
2 |
3 | Pulls the scripts to download the Appsody and Codewind binaries from
4 | the codewind-vscode repository.
5 |
6 | You can optionally pass a parameter to specify which branch to pull
7 | from. If no branch is specified, 'master' will be used. After
8 | running this script, you must run './pull.sh'. See the downloaded
9 | README-pull.txt for details on how to run the pull.sh script.
10 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/binaries/meta-pull.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | set -e
4 |
5 | cd $(dirname $0)
6 |
7 | branch=$1
8 | if [[ -z $branch ]]; then
9 | branch=$CW_VSCODE_BRANCH
10 | fi
11 | if [[ -z $branch ]]; then
12 | branch="master"
13 | fi
14 |
15 | echo
16 | echo "Downloading scripts from branch codewind-vscode/$branch"
17 |
18 | for file in "pull.sh" "appsody-pull.sh" "cli-pull.sh"; do
19 | curl -fsSL "https://raw.githubusercontent.com/eclipse/codewind-vscode/$branch/dev/bin/$file" -o "$file"
20 | chmod ugo+x $file
21 | done
22 | curl -fsSL "https://raw.githubusercontent.com/eclipse/codewind-vscode/$branch/dev/bin/README.md" -o "README-pull.md"
23 |
24 | echo "Scripts downloaded. Run ./pull.sh to download the binary dependencies"
25 | echo
26 |
27 | cd -
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | source.. = src/
13 | output.. = build/classes/
14 | bin.includes = META-INF/,\
15 | .,\
16 | about.ini,\
17 | codewind.png,\
18 | about.properties,\
19 | about.mappings,\
20 | icons/,\
21 | plugin.properties,\
22 | plugin.xml,\
23 | lib/,\
24 | lib/engine.io-client-1.0.0.jar,\
25 | lib/json-20090211.jar,\
26 | lib/socket.io-client-1.0.0.jar,\
27 | lib/okhttp-3.8.1.jar,\
28 | lib/okio-1.13.0.jar,\
29 | binaries/,\
30 | resources/
31 | skip_copyright_check=true
32 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | # about.mappings
19 | # contains fill-ins for about.properties
20 | # java.io.Properties file (ISO 8859-1 with "\" escapes)
21 | # This file is generated and does not need to be translated.
22 | 0=${version}
23 | 1=${build_id}
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/codewind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.core/codewind.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/codewind@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.core/codewind@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/icons/codewind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.core/icons/codewind.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/icons/codewind@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.core/icons/codewind@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/plugin.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | # NLS_ENCODING=UNICODE
13 | # NLS_MESSAGEFORMAT_VAR
14 |
15 | Bundle-Vendor = Eclipse.org
16 | Bundle-Name = Codewind Core Plug-in
17 |
18 | LAUNCH_CONFIG_NAME=Codewind Project
19 | REMOTE_LAUNCH_CONFIG_NAME=Remote Codewind Project
20 | UTILITY_LAUNCH_CONFIG_NAME=Codewind Utility
21 |
22 | VALIDATION_MARKER=Codewind Problem
23 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/resources/install-version.properties:
--------------------------------------------------------------------------------
1 | install-version=latest
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/IAuthInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 |
13 | package org.eclipse.codewind.core.internal;
14 |
15 | public interface IAuthInfo {
16 |
17 | public boolean isValid();
18 |
19 | public String getHttpAuthorization();
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/IDebugLauncher.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal;
13 |
14 | import org.eclipse.core.runtime.IProgressMonitor;
15 | import org.eclipse.core.runtime.IStatus;
16 |
17 | public interface IDebugLauncher {
18 |
19 | public IStatus launchDebugger(CodewindEclipseApplication app, IProgressMonitor monitor);
20 |
21 | public boolean canAttachDebugger(CodewindEclipseApplication app);
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/IUpdateHandler.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal;
13 |
14 | import org.eclipse.codewind.core.internal.connection.CodewindConnection;
15 |
16 | public interface IUpdateHandler {
17 |
18 | public void updateAll();
19 |
20 | public void updateConnection(CodewindConnection connection);
21 |
22 | public void updateApplication(CodewindApplication application);
23 |
24 | public void removeConnection(CodewindConnection connection);
25 |
26 | public void removeApplication(CodewindApplication application);
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/cli/CLIInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.cli;
13 |
14 | import java.util.Map;
15 |
16 | import org.eclipse.codewind.core.internal.PlatformUtil.OperatingSystem;
17 |
18 | public class CLIInfo {
19 | private String installPath = null;
20 | private Map osPathMap;
21 | private String name = null;
22 |
23 | public CLIInfo(String name, Map osPathMap) {
24 | this.osPathMap = osPathMap;
25 | this.name = name;
26 | }
27 |
28 | /**
29 | * Set the path of installation
30 | * @param installPath full path of installation
31 | */
32 | public void setInstallPath(String installPath) {
33 | this.installPath = installPath;
34 | }
35 |
36 | /**
37 | * Get path of installation
38 | * @return a string with the full path, null if not installed
39 | */
40 | public String getInstallPath() {
41 | return installPath;
42 | }
43 |
44 | /**
45 | * Get the operating system map for the paths
46 | * @return a map with the operating system as keys and
47 | * the paths as values
48 | */
49 | public Map getOSPathMap(){
50 | return osPathMap;
51 | }
52 |
53 | /**
54 | * Get the name of the CLI info
55 | * @return name of the CLI info
56 | */
57 | public String getInstallName() {
58 | return name;
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/cli/LogLevels.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.cli;
13 |
14 | import java.util.List;
15 |
16 | import org.eclipse.codewind.core.internal.connection.JSONObjectResult;
17 | import org.json.JSONObject;
18 |
19 | public class LogLevels extends JSONObjectResult {
20 |
21 | private static final String CURRENT_LEVEL_KEY = "currentLevel";
22 | private static final String DEFAULT_LEVEL_KEY = "defaultLevel";
23 | private static final String ALL_LEVELS_KEY = "allLevels";
24 |
25 | public LogLevels(JSONObject logLevels) {
26 | super(logLevels, "log levels");
27 | }
28 |
29 | public String getCurrentLevel() {
30 | return getString(CURRENT_LEVEL_KEY);
31 | }
32 |
33 | public String getDefaultLevel() {
34 | return getString(DEFAULT_LEVEL_KEY);
35 | }
36 |
37 | public List getAllLevels() {
38 | return getStringArray(ALL_LEVELS_KEY);
39 | }
40 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/CodewindConnectionException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import java.net.ConnectException;
15 | import java.net.URI;
16 |
17 | import org.eclipse.codewind.core.internal.messages.Messages;
18 | import org.eclipse.osgi.util.NLS;
19 |
20 | /**
21 | * Custom exception to indicate that connecting to the Codewind Socket at the given URL failed.
22 | */
23 | public class CodewindConnectionException extends ConnectException {
24 | private static final long serialVersionUID = -7026779560626815421L;
25 |
26 | public final URI connectionUrl;
27 |
28 | public final String message;
29 |
30 | public CodewindConnectionException(URI url) {
31 | String msg = NLS.bind(Messages.ConnectionException_ConnectingToMCFailed, url);
32 |
33 | message = msg;
34 | connectionUrl = url;
35 | }
36 |
37 | @Override
38 | public String getMessage() {
39 | return message;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/ExtensionConfig.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import org.eclipse.codewind.core.internal.Logger;
15 | import org.json.JSONException;
16 | import org.json.JSONObject;
17 |
18 | public class ExtensionConfig extends JSONObjectResult {
19 |
20 | private static final String EXTENSION_KEY = "extension";
21 | private static final String CONFIG_KEY = "config";
22 | private static final String CONTAINER_APP_ROOT_KEY = "containerAppRoot";
23 |
24 | public ExtensionConfig(JSONObject extensionConfig) {
25 | super(extensionConfig, "extension config");
26 | }
27 |
28 | public static ExtensionConfig getExtensionConfig(JSONObject projectInfo) {
29 | try {
30 | if (projectInfo.has(EXTENSION_KEY) && !projectInfo.isNull(EXTENSION_KEY)) {
31 | JSONObject ext = projectInfo.getJSONObject(EXTENSION_KEY);
32 | if (ext.has(CONFIG_KEY) && !ext.isNull(CONFIG_KEY)) {
33 | return new ExtensionConfig(ext.getJSONObject(CONFIG_KEY));
34 | }
35 | }
36 | } catch (JSONException e) {
37 | Logger.logError("The project info format is not valid", e);
38 | }
39 | return null;
40 | }
41 |
42 | public String getContainerAppRoot() {
43 | return getString(CONTAINER_APP_ROOT_KEY);
44 | }
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/ImagePushRegistryInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import org.json.JSONObject;
15 |
16 | public class ImagePushRegistryInfo extends JSONObjectResult {
17 |
18 | public static final String ADDRESS_KEY = "address";
19 | public static final String NAMESPACE_KEY = "namespace";
20 |
21 | public ImagePushRegistryInfo(JSONObject obj) {
22 | super(obj, "image push registry");
23 | }
24 |
25 | public String getAddress() {
26 | return getString(ADDRESS_KEY);
27 | }
28 |
29 | public String getNamespace() {
30 | return getString(NAMESPACE_KEY);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/LocalConnection.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import java.net.URI;
15 |
16 | import org.eclipse.codewind.core.internal.CodewindManager;
17 | import org.eclipse.codewind.core.internal.messages.Messages;
18 | import org.eclipse.core.runtime.NullProgressMonitor;
19 |
20 | public class LocalConnection extends CodewindConnection {
21 |
22 | public static final String DEFAULT_NAME = Messages.CodewindLocalConnectionName;
23 | public static final String DEFAULT_ID = "local";
24 |
25 | public LocalConnection(URI uri) {
26 | super(DEFAULT_NAME, uri, DEFAULT_ID);
27 | }
28 |
29 | @Override
30 | public boolean isLocal() {
31 | return true;
32 | }
33 |
34 | @Override
35 | public synchronized void onConnectionError() {
36 | CodewindManager.getManager().refreshInstallStatus(new NullProgressMonitor());
37 | super.onConnectionError();
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/RegistryInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import org.json.JSONObject;
15 |
16 | public class RegistryInfo extends JSONObjectResult {
17 |
18 | public static final String ADDRESS_KEY = "address";
19 | public static final String USERNAME_KEY = "username";
20 |
21 | public RegistryInfo(JSONObject obj) {
22 | super(obj, "registry");
23 | }
24 |
25 | public String getAddress() {
26 | return getString(ADDRESS_KEY);
27 | }
28 |
29 | public String getUsername() {
30 | return getString(USERNAME_KEY);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/connection/RemoteConnection.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.connection;
13 |
14 | import java.io.IOException;
15 | import java.net.URI;
16 |
17 | import org.eclipse.codewind.core.internal.cli.AuthToken;
18 | import org.eclipse.core.runtime.NullProgressMonitor;
19 | import org.json.JSONException;
20 |
21 | public class RemoteConnection extends CodewindConnection {
22 |
23 | private String username = null;
24 | private final AuthManager authManager;
25 |
26 | public RemoteConnection(String name, URI uri, String conid, String username, AuthToken authToken) {
27 | super(name, uri, conid);
28 | this.username = username;
29 | authManager = new AuthManager(this, authToken);
30 | }
31 |
32 | @Override
33 | AuthToken getAuthToken(boolean update) throws IOException, JSONException {
34 | return authManager.getToken(update, new NullProgressMonitor());
35 | }
36 |
37 | @Override
38 | public void setAuthToken(AuthToken authToken) {
39 | authManager.setToken(authToken);
40 | }
41 |
42 | @Override
43 | public void setUsername(String username) {
44 | this.username = username;
45 | }
46 |
47 | @Override
48 | public String getUsername() {
49 | return username;
50 | }
51 |
52 | @Override
53 | AuthManager getAuthManager() {
54 | return authManager;
55 | }
56 |
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/console/FileConsole.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.console;
13 |
14 | import java.io.File;
15 | import java.io.FileNotFoundException;
16 | import java.io.IOException;
17 |
18 | import org.eclipse.codewind.core.CodewindCorePlugin;
19 | import org.eclipse.codewind.core.internal.Logger;
20 | import org.eclipse.core.runtime.IPath;
21 | import org.eclipse.ui.console.IOConsole;
22 | import org.eclipse.ui.console.IOConsoleOutputStream;
23 |
24 | public class FileConsole extends IOConsole {
25 |
26 | private final FileConsoleMonitorThread logMonitorThread;
27 | private final IOConsoleOutputStream outputStream;
28 |
29 | public FileConsole(String consoleName, IPath logFilePath) throws FileNotFoundException {
30 | super(consoleName, CodewindConsoleFactory.CODEWIND_CONSOLE_TYPE,
31 | CodewindCorePlugin.getIcon(CodewindCorePlugin.DEFAULT_ICON_PATH),
32 | true);
33 |
34 | File logFile = new File(logFilePath.toOSString());
35 | if (!logFile.exists()) {
36 | throw new FileNotFoundException(logFile.getAbsolutePath() + " does not exist");
37 | }
38 |
39 | outputStream = newOutputStream();
40 | logMonitorThread = new FileConsoleMonitorThread(consoleName, logFile, outputStream);
41 | logMonitorThread.start();
42 | }
43 |
44 | @Override
45 | protected void dispose() {
46 | Logger.log("Dispose console " + getName()); //$NON-NLS-1$
47 |
48 | logMonitorThread.disable();
49 | logMonitorThread.interrupt();
50 | try {
51 | outputStream.close();
52 | } catch (IOException e) {
53 | Logger.logError("Error closing console output stream", e); //$NON-NLS-1$
54 | }
55 |
56 | super.dispose();
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/console/ProjectLogInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.console;
13 |
14 | public class ProjectLogInfo {
15 |
16 | public final String type;
17 | public final String logName;
18 | public final String workspaceLogPath;
19 |
20 | public ProjectLogInfo(String type, String logName, String workspaceLogPath) {
21 | this.type = type;
22 | this.logName = logName;
23 | this.workspaceLogPath = workspaceLogPath;
24 | }
25 |
26 | public boolean isThisLogInfo(String type, String logName) {
27 | return (this.type.equals(type) && this.logName.equals(logName));
28 | }
29 |
30 | public boolean isThisLogInfo(ProjectLogInfo logInfo) {
31 | return (this.type.equals(logInfo.type) && this.logName.equals(logInfo.logName));
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/constants/AppStatus.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.constants;
13 |
14 | import org.eclipse.codewind.core.internal.Logger;
15 | import org.eclipse.codewind.core.internal.messages.Messages;
16 |
17 | public enum AppStatus {
18 |
19 | STARTED ("started", Messages.AppStatusStarted),
20 | STARTING("starting", Messages.AppStatusStarting),
21 | STOPPING("stopping", Messages.AppStatusStopping),
22 | STOPPED ("stopped", Messages.AppStatusStopped),
23 | UNKNOWN ("unknown", Messages.AppStatusUnknown);
24 |
25 | public final String appStatus;
26 | public final String displayString;
27 |
28 | /**
29 | * @param appStatus - App state used by Codewind
30 | */
31 | private AppStatus(String appStatus, String displayString) {
32 | this.appStatus = appStatus;
33 | this.displayString = displayString;
34 | }
35 |
36 | public static AppStatus get(String appStatus) {
37 | for (AppStatus state : AppStatus.values()) {
38 | if (state.appStatus.equals(appStatus)) {
39 | return state;
40 | }
41 | }
42 | Logger.logError("Unrecognized application status: " + appStatus);
43 | return AppStatus.UNKNOWN;
44 | }
45 |
46 | public String getDisplayString(StartMode mode) {
47 | if (this == AppStatus.STARTED && StartMode.DEBUG_MODES.contains(mode)) {
48 | return Messages.AppStatusDebugging;
49 | }
50 | return displayString;
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/constants/BuildStatus.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.constants;
13 |
14 | import org.eclipse.codewind.core.internal.Logger;
15 | import org.eclipse.codewind.core.internal.messages.Messages;
16 |
17 | public enum BuildStatus {
18 |
19 | IN_PROGRESS("inProgress", Messages.BuildStateInProgress),
20 | SUCCESS("success", Messages.BuildStateSuccess),
21 | FAILED("failed", Messages.BuildStateFailed),
22 | QUEUED("queued", Messages.BuildStateQueued),
23 | UNKOWN("unknown", Messages.BuildStateUnknown);
24 |
25 | public static final String BUILD_REQUIRED="buildRequired";
26 |
27 | public final String status;
28 | public final String displayString;
29 |
30 | /**
31 | * @param buildStatus - Internal build status used by Codewind
32 | */
33 | private BuildStatus(String buildStatus, String displayString) {
34 | this.status = buildStatus;
35 | this.displayString = displayString;
36 | }
37 |
38 | public static BuildStatus get(String buildStatus) {
39 | if (BUILD_REQUIRED.equals(buildStatus)) {
40 | return null;
41 | }
42 | for (BuildStatus status : BuildStatus.values()) {
43 | if (status.status.equals(buildStatus)) {
44 | return status;
45 | }
46 | }
47 | Logger.logError("Unrecognized application state: " + buildStatus);
48 | return BuildStatus.UNKOWN;
49 | }
50 |
51 | public boolean isComplete() {
52 | return this == SUCCESS || this == FAILED;
53 | }
54 |
55 | public String getDisplayString() {
56 | return displayString;
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/constants/ProjectInfo.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.constants;
13 |
14 | public class ProjectInfo {
15 |
16 | public final ProjectType type;
17 | public final ProjectLanguage language;
18 |
19 | public ProjectInfo(String type, String language) {
20 | this.type = ProjectType.getType(type, null);
21 | this.language = ProjectLanguage.getLanguage(language);
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/src/org/eclipse/codewind/core/internal/constants/StartMode.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.core.internal.constants;
13 |
14 | import java.util.EnumSet;
15 |
16 | import org.eclipse.codewind.core.internal.Logger;
17 | import org.json.JSONObject;
18 |
19 | /**
20 | * Project start modes.
21 | */
22 | public enum StartMode {
23 |
24 | RUN("run"),
25 | DEBUG("debug"),
26 | DEBUG_NO_INIT("debugNoInit");
27 |
28 | public static final EnumSet DEBUG_MODES = EnumSet.of(DEBUG, DEBUG_NO_INIT);
29 |
30 | public final String startMode;
31 |
32 | private StartMode(String startMode) {
33 | this.startMode = startMode;
34 | }
35 |
36 | public boolean equals(String s) {
37 | return this.name().equals(s);
38 | }
39 |
40 | public boolean isDebugMode() {
41 | return DEBUG_MODES.contains(this);
42 | }
43 |
44 | public static StartMode get(String startMode) {
45 | for (StartMode mode : StartMode.values()) {
46 | if (mode.startMode.equals(startMode)) {
47 | return mode;
48 | }
49 | }
50 | return null;
51 | }
52 |
53 | public static StartMode get(JSONObject obj) {
54 | try {
55 | String mode = null;
56 | if (obj.has(CoreConstants.KEY_START_MODE)) {
57 | mode = obj.getString(CoreConstants.KEY_START_MODE);
58 | }
59 | if (mode == null) {
60 | Logger.log("No start mode was specified on JSON object");
61 | return StartMode.RUN;
62 | } else {
63 | StartMode startMode = StartMode.get(mode);
64 | if (startMode == null) {
65 | Logger.log("Unrecognized start mode: " + mode);
66 | return StartMode.RUN;
67 | }
68 | return startMode;
69 | }
70 | } catch (Exception e) {
71 | Logger.logError("Failed to get start mode", e);
72 | }
73 | return StartMode.RUN;
74 | }
75 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/updateBinaries.launch:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.core/updateBinaries.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 | /bin/
3 | /dependency-reduced-pom.xml
4 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.filewatchers.core
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.jdt.core.javanature
26 | org.eclipse.pde.PluginNature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.8
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind Filewatcher Core Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.filewatchers.core;singleton:=true
5 | Bundle-Version: 1.2.7.qualifier
6 | Bundle-Vendor: Eclipse.org
7 | Bundle-ClassPath: .,
8 | lib/okhttp-3.8.1.jar,
9 | lib/okio-1.13.0.jar,
10 | lib/org.json_1.0.0.v201011060100.jar
11 | Export-Package: org.eclipse.codewind.filewatchers.core
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/build.properties:
--------------------------------------------------------------------------------
1 | source.. = src/
2 | bin.includes = META-INF/,\
3 | .,\
4 | lib/okhttp-3.8.1.jar,\
5 | lib/okio-1.13.0.jar,\
6 | lib/org.json_1.0.0.v201011060100.jar
7 | bin.excludes = lib/.gitignore
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/lib/.gitignore:
--------------------------------------------------------------------------------
1 | *.jar
2 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/pom.xml:
--------------------------------------------------------------------------------
1 |
4 | 4.0.0
5 | org.eclipse.codewind.filewatchers.core
6 | org.eclipse.codewind.filewatchers.core
7 | 0.0.1-SNAPSHOT
8 |
9 |
10 |
11 | com.squareup.okhttp3
12 | okhttp
13 | 3.8.1
14 |
15 |
16 | org.json
17 | json
18 | 20090211
19 |
20 |
21 | junit
22 | junit
23 | 4.12
24 | test
25 |
26 |
27 |
28 |
29 | src
30 | tests
31 |
32 |
33 | maven-compiler-plugin
34 | 3.5.1
35 |
36 | 1.8
37 | 1.8
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/src/org/eclipse/codewind/filewatchers/core/FWAuthToken.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.filewatchers.core;
13 |
14 | /**
15 | * Immutable authorization token for use in HTTP(S) requests and WebSocket
16 | * connections
17 | */
18 | public class FWAuthToken {
19 |
20 | private final String accessToken;
21 |
22 | private final String tokenType;
23 |
24 | public FWAuthToken(String token, String tokenType) {
25 | if (token == null || tokenType == null) {
26 | throw new IllegalArgumentException("Null args in FWAuthToken: " + token + " " + tokenType);
27 | }
28 |
29 | this.accessToken = token;
30 | this.tokenType = tokenType;
31 | }
32 |
33 | public String getAccessToken() {
34 | return accessToken;
35 | }
36 |
37 | public String getTokenType() {
38 | return tokenType;
39 | }
40 |
41 | private String key() {
42 | return accessToken + "/" + tokenType;
43 | }
44 |
45 | @Override
46 | public String toString() {
47 | return key();
48 | }
49 |
50 | @Override
51 | public int hashCode() {
52 | return key().hashCode();
53 | }
54 |
55 | @Override
56 | public boolean equals(Object obj) {
57 | if (!(obj instanceof FWAuthToken)) {
58 | return false;
59 | }
60 |
61 | FWAuthToken other = (FWAuthToken) obj;
62 |
63 | return other.key().equals(this.key());
64 | }
65 |
66 | }
67 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/src/org/eclipse/codewind/filewatchers/core/IAuthTokenProvider.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.filewatchers.core;
13 |
14 | /**
15 | * The Codewind IDE classes should extends this interface to provide
16 | * filewatcherd with secure authentication tokens from the IDE.
17 | *
18 | * This class was created as part of issue codewind/1309.
19 | */
20 | public interface IAuthTokenProvider {
21 |
22 | /**
23 | * Return the latest auth token; return null if an auth token is not available.
24 | *
25 | * This method should be non-blocking (eg it should return null or stale data,
26 | * rather then block on issuing a new I/O or CWCTL request to acquire a new
27 | * token.)
28 | */
29 | public FWAuthToken getLatestAuthToken();
30 |
31 | /**
32 | * Inform the IDE that the server told us that our current token is invalid, at
33 | * which point the IDE should then re-acquire/refresh it on a separate thread.
34 | * After FWd informs the IDE, the new value should be available to the FWd via a
35 | * call to getLatestAuthToken() after some short period of time.
36 | *
37 | * Filewatcher to call `informReceivedInvalidAuthToken(...)` ONLY ONCE for a
38 | * given invalid token (eg NOT every time the server informs us.)
39 | */
40 | public void informReceivedInvalidAuthToken(FWAuthToken badToken);
41 |
42 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.core/src/org/eclipse/codewind/filewatchers/core/WatchEventEntry.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.filewatchers.core;
13 |
14 | import java.nio.file.Path;
15 |
16 | /**
17 | * Corresponds to an file/directory change event from the operating system: a
18 | * creation/modification/deletion of a file, or a creation/deletion of a
19 | * directory.
20 | */
21 | public class WatchEventEntry {
22 |
23 | public static enum EventType {
24 | CREATE, MODIFY, DELETE
25 | };
26 |
27 | private final EventType eventType;
28 |
29 | private final Path path;
30 |
31 | private final String absolutePath;
32 |
33 | private final boolean directory;
34 |
35 | public WatchEventEntry(EventType eventType, Path path, boolean directory) {
36 | this.eventType = eventType;
37 | this.path = path;
38 | this.directory = directory;
39 |
40 | // Take the OS-specific path format, and convert it to a standardized non-OS
41 | // specific format. This should only effect Windows paths.
42 | absolutePath = PathUtils.normalizePath(path.toFile().getPath());
43 |
44 | }
45 |
46 | public EventType getEventType() {
47 | return eventType;
48 | }
49 |
50 | public String getAbsolutePathWithUnixSeparators() {
51 | return absolutePath;
52 | }
53 |
54 | public Path getLocalOSSpecificPath() {
55 | return path;
56 | }
57 |
58 | public boolean isDirectory() {
59 | return directory;
60 | }
61 |
62 | // For debug purposes only
63 | @Override
64 | public String toString() {
65 | return "[" + eventType.name() + "] " + absolutePath;
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/.gitignore:
--------------------------------------------------------------------------------
1 | /bin/
2 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.filewatchers.eclipse
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.jdt.core.javanature
26 | org.eclipse.pde.PluginNature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.8
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind Filewatcher Eclipse Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.filewatchers.eclipse;singleton:=true
5 | Bundle-Version: 1.2.7.qualifier
6 | Bundle-Vendor: Eclipse.org
7 | Export-Package: org.eclipse.codewind.filewatchers.eclipse
8 | Import-Package: org.eclipse.codewind.filewatchers,
9 | org.eclipse.codewind.filewatchers.core,
10 | org.eclipse.core.resources,
11 | org.eclipse.core.runtime
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/build.properties:
--------------------------------------------------------------------------------
1 | source.. = src/
2 | bin.includes = META-INF/,\
3 | .
4 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/pom.xml:
--------------------------------------------------------------------------------
1 |
4 | 4.0.0
5 | org.eclipse.codewind.filewatchers.eclipse
6 | org.eclipse.codewind.filewatchers.eclipse
7 | 0.0.1-SNAPSHOT
8 |
9 | org.eclipse.codewind.filewatchers.eclipse
10 | http://maven.apache.org
11 |
12 |
13 | UTF-8
14 |
15 |
16 |
17 |
18 | junit
19 | junit
20 | 4.12
21 | test
22 |
23 |
24 | org.eclipse.codewind.filewatchers.core
25 | org.eclipse.codewind.filewatchers.core
26 | 0.0.1-SNAPSHOT
27 |
28 |
29 | org.eclipse.codewind.filewatchers.standalonenio
30 | org.eclipse.codewind.filewatchers.standalonenio
31 | 0.0.1-SNAPSHOT
32 |
33 |
34 | org.eclipse.core
35 | org.eclipse.core.resources
36 | 3.7.100
37 |
38 |
39 |
40 |
41 | src
42 | tests
43 |
44 |
45 | maven-compiler-plugin
46 | 3.5.1
47 |
48 | 1.8
49 | 1.8
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.eclipse/src/org/eclipse/codewind/filewatchers/eclipse/ICodewindProjectTranslator.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.filewatchers.eclipse;
13 |
14 | import java.util.Optional;
15 |
16 | import org.eclipse.core.resources.IProject;
17 |
18 | /**
19 | * Implement this in order to provide the Eclipse filewatcher with the ability
20 | * to translate IProjects into the corresponding Codewind projectId.
21 | */
22 | public interface ICodewindProjectTranslator {
23 |
24 | public Optional getProjectId(IProject project);
25 | }
26 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/.gitignore:
--------------------------------------------------------------------------------
1 | /bin/
2 | /target/
3 | dependency-reduced-pom.xml
4 |
5 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.filewatchers.standalonenio
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.jdt.core.javanature
26 | org.eclipse.pde.PluginNature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.8
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind Filewatcher Standalonenio Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.filewatchers.standalonenio;singleton:=true
5 | Bundle-Version: 1.2.7.qualifier
6 | Bundle-Vendor: Eclipse.org
7 | Export-Package: org.eclipse.codewind.filewatchers
8 | Import-Package: org.eclipse.codewind.filewatchers.core
9 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/build.properties:
--------------------------------------------------------------------------------
1 | source.. = src/
2 | bin.includes = META-INF/,\
3 | .
4 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/pom.xml:
--------------------------------------------------------------------------------
1 |
4 | 4.0.0
5 | org.eclipse.codewind.filewatchers.standalonenio
6 | org.eclipse.codewind.filewatchers.standalonenio
7 | 0.0.1-SNAPSHOT
8 |
9 |
10 |
11 | org.eclipse.codewind.filewatchers.core
12 | org.eclipse.codewind.filewatchers.core
13 | 0.0.1-SNAPSHOT
14 |
15 |
16 |
17 |
18 | src
19 | tests
20 |
21 |
22 | maven-compiler-plugin
23 | 3.5.1
24 |
25 | 1.8
26 | 1.8
27 |
28 |
29 |
30 | org.apache.maven.plugins
31 | maven-shade-plugin
32 | 3.0.0
33 |
34 |
35 | package
36 |
37 | shade
38 |
39 |
40 |
41 |
43 |
44 | org.eclipse.codewind.filewatchers.Main
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.filewatchers.standalonenio/run_fwd_tests_if_needed.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | #*******************************************************************************
4 | # Copyright (c) 2020 IBM Corporation and others.
5 | # All rights reserved. This program and the accompanying materials
6 | # are made available under the terms of the Eclipse Public License v2.0
7 | # which accompanies this distribution, and is available at
8 | # http://www.eclipse.org/legal/epl-v20.html
9 | #
10 | # Contributors:
11 | # IBM Corporation - initial API and implementation
12 | #*******************************************************************************
13 |
14 | export SCRIPT_LOCT=`dirname $0`
15 | export SCRIPT_LOCT=`cd $SCRIPT_LOCT; pwd`
16 | cd $SCRIPT_LOCT
17 |
18 | # Filewatcher tests only run in PR builds that contain filewatcher code changes.
19 | if [[ -z "$CHANGE_ID" ]]; then
20 | echo "* Filewatcher test script detected a non-PR build, so exiting."
21 | exit 0
22 | fi
23 |
24 | GIT_DIFF=`git diff remotes/origin/"$CHANGE_TARGET"`
25 |
26 | CHANGE_COUNT=`printf %s "$GIT_DIFF" | grep "diff --git" | grep "eclipse.codewind.filewatchers" | grep -v "filewatchers.eclipse" | wc -l`
27 |
28 | if [ "$CHANGE_COUNT" == "0" ]; then
29 | echo "* No filewatcherd changes detected in Git diff list."
30 | exit 0
31 | fi
32 |
33 | # Output Git Diff for debug purposes, until the above code matures.
34 | echo "Git Diff:"
35 | printf %s "$GIT_DIFF"
36 |
37 |
38 | set -euo pipefail
39 |
40 |
41 | echo
42 | echo "Download Maven and add to path"
43 | echo
44 | cd "$SCRIPT_LOCT"
45 | curl -LO http://mirror.dsrg.utoronto.ca/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
46 | tar xzf apache-maven-3.6.3-bin.tar.gz
47 | cd apache-maven-3.6.3/bin
48 | export PATH=`pwd`:$PATH
49 |
50 |
51 | echo
52 | echo "Building Java filewatcher"
53 | echo
54 | cd "$SCRIPT_LOCT/../org.eclipse.codewind.filewatchers.core"
55 | mvn install
56 | cd "$SCRIPT_LOCT"
57 | mvn package
58 |
59 |
60 | echo
61 | echo "Build and run test suite"
62 | echo
63 | cd "$SCRIPT_LOCT"
64 | git clone "https://github.com/eclipse/codewind-filewatchers"
65 | cd codewind-filewatchers
66 | git checkout "$CHANGE_TARGET"
67 | cd Tests/
68 |
69 | ./run_tests_java_filewatcher_on_target.sh "$SCRIPT_LOCT/../.."
70 |
71 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test.feature/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.test.feature
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.pde.FeatureBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.pde.FeatureNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test.feature/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | bin.includes = feature.xml,\
13 | feature.properties,\
14 | license.html
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test.feature/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test.feature/feature.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
17 |
18 |
19 | %description
20 |
21 |
22 |
23 | %copyright
24 |
25 |
26 |
27 | %license
28 |
29 |
30 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/.gitignore:
--------------------------------------------------------------------------------
1 | /bin/
2 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.test
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.pde.PluginNature
26 | org.eclipse.jdt.core.javanature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.compliance=1.8
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.8
8 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind Test Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.test;singleton:=true
5 | Bundle-Version: 1.8.0.qualifier
6 | Bundle-Activator: org.eclipse.codewind.test.CodewindTestPlugin
7 | Bundle-Vendor: Eclipse.org
8 | Require-Bundle: org.eclipse.core.runtime
9 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8
10 | Automatic-Module-Name: org.eclipse.codewind.test;singleton:=true
11 | Bundle-ActivationPolicy: lazy
12 | Import-Package: io.socket.client,
13 | io.socket.emitter,
14 | junit.framework,
15 | org.eclipse.codewind.core.internal,
16 | org.eclipse.codewind.core.internal.cli,
17 | org.eclipse.codewind.core.internal.connection,
18 | org.eclipse.codewind.core.internal.console,
19 | org.eclipse.codewind.core.internal.constants,
20 | org.eclipse.codewind.core.internal.launch,
21 | org.eclipse.codewind.ui.internal,
22 | org.eclipse.codewind.ui.internal.actions,
23 | org.eclipse.codewind.ui.internal.editors,
24 | org.eclipse.core.resources,
25 | org.eclipse.core.runtime,
26 | org.eclipse.debug.core,
27 | org.eclipse.debug.core.model,
28 | org.eclipse.jdt.core,
29 | org.eclipse.jdt.launching,
30 | org.eclipse.jface.text,
31 | org.eclipse.m2e.core,
32 | org.eclipse.m2e.core.embedder,
33 | org.eclipse.m2e.core.project,
34 | org.eclipse.m2e.core.ui.internal.wizards,
35 | org.eclipse.swt.widgets,
36 | org.eclipse.ui,
37 | org.eclipse.ui.actions,
38 | org.eclipse.ui.console,
39 | org.eclipse.ui.dialogs,
40 | org.eclipse.ui.ide,
41 | org.eclipse.wst.common.componentcore.datamodel.properties,
42 | org.eclipse.wst.common.frameworks.datamodel,
43 | org.eclipse.wst.common.frameworks.datamodel.properties,
44 | org.eclipse.wst.server.core,
45 | org.eclipse.wst.server.core.internal,
46 | org.eclipse.wst.server.core.model,
47 | org.eclipse.wst.server.core.util,
48 | org.eclipse.wst.validation,
49 | org.json;bundle-symbolic-name="org.eclipse.codewind.core",
50 | org.junit,
51 | org.junit.runner,
52 | org.junit.runners
53 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | source.. = src/
13 | output.. = build/classes/
14 | bin.includes = META-INF/,\
15 | .,\
16 | resources/
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | # about.mappings
20 | # contains fill-ins for about.properties
21 | # java.io.Properties file (ISO 8859-1 with "\" escapes)
22 | # This file is generated and does not need to be translated.
23 | 0=${version}
24 | 1=${build_id}
25 |
26 |
27 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/resources/appsodyOpenLiberty/Hello.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package dev.appsody.starter.hello;
13 |
14 | import javax.ws.rs.GET;
15 | import javax.ws.rs.Path;
16 | import javax.ws.rs.Produces;
17 | import javax.ws.rs.core.MediaType;
18 |
19 | @Path("/hello")
20 | public class Hello {
21 | @GET
22 | @Produces(MediaType.TEXT_PLAIN)
23 | public String getHello() {
24 | return "Hello World";
25 | }
26 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AllTests.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | import org.junit.runner.RunWith;
15 | import org.junit.runners.Suite;
16 |
17 | @RunWith(Suite.class)
18 | @Suite.SuiteClasses({
19 | GoAutoBuildTest.class,
20 | LagomAutoBuildTest.class,
21 | NodeAutoBuildTest.class,
22 | PythonAutoBuildTest.class,
23 | SpringAutoBuildTest.class,
24 | LibertyDebugTest.class,
25 | SpringDebugTest.class,
26 | AppsodyOpenLibertyAutoBuildTest.class,
27 | AppsodySpringAutoBuildTest.class,
28 | AppsodyNodeExpressAutoBuildTest.class,
29 | AppsodyOpenLibertyDebugTest.class,
30 | AppsodySpringDebugTest.class
31 | })
32 |
33 | public class AllTests {
34 | // Empty
35 | }
36 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AppsodyNodeExpressAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class AppsodyNodeExpressAutoBuildTest extends BaseAppsodyAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "appsodynodeexpressautobuildtest";
19 | projectType = APPSODY_PROJECT_TYPE;
20 | templateId = APPSODY_NODE_EXPRESS_ID;
21 | relativeURL = "";
22 | srcPath = "app.js";
23 | text1 = "Hello";
24 | text2 = "Hi there";
25 | super.doSetup();
26 | }
27 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AppsodyOpenLibertyAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class AppsodyOpenLibertyAutoBuildTest extends BaseAppsodyAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "appsodyopenlibertyautobuildtest";
19 | projectType = APPSODY_PROJECT_TYPE;
20 | templateId = APPSODY_OPEN_LIBERTY_ID;
21 | relativeURL = "/starter/resource";
22 | srcPath = "src/main/java/dev/appsody/starter/StarterResource.java";
23 | text1 = "StarterResource response";
24 | text2 = "Hello from StarterResource";
25 |
26 | super.doSetup();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AppsodyOpenLibertyDebugTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class AppsodyOpenLibertyDebugTest extends BaseAppsodyDebugTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "appsodyopenlibertydebugtest";
19 | projectType = APPSODY_PROJECT_TYPE;
20 | templateId = APPSODY_OPEN_LIBERTY_ID;
21 | relativeURL = "/starter/resource";
22 | srcPath = "src/main/java/dev/appsody/starter/StarterResource.java";
23 | currentText = "StarterResource response";
24 | newText = "Greetings from StarterResource";
25 |
26 | super.doSetup();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AppsodySpringAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class AppsodySpringAutoBuildTest extends BaseAppsodyAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "appsodyspringautobuildtest";
19 | projectType = APPSODY_PROJECT_TYPE;
20 | templateId = APPSODY_JAVA_SPRING_ID;
21 | relativeURL = "/actuator/liveness";
22 | srcPath = "src/main/java/application/LivenessEndpoint.java";
23 | text1 = "UP";
24 | text2 = "ALIVE";
25 | super.doSetup();
26 | }
27 | }
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/AppsodySpringDebugTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class AppsodySpringDebugTest extends BaseAppsodyDebugTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "appsodyspringdebugtest";
19 | projectType = APPSODY_PROJECT_TYPE;
20 | templateId = APPSODY_JAVA_SPRING_ID;
21 | relativeURL = "/actuator/liveness";
22 | srcPath = "src/main/java/application/LivenessEndpoint.java";
23 | currentText = "UP";
24 | newText = "ALIVE";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/BuildVerificationTests.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | import org.junit.runner.RunWith;
15 | import org.junit.runners.Suite;
16 |
17 | @RunWith(Suite.class)
18 | @Suite.SuiteClasses({
19 | GoAutoBuildTest.class,
20 | NodeAutoBuildTest.class,
21 | SpringDebugTest.class
22 | })
23 |
24 | public class BuildVerificationTests {
25 | // Empty
26 | }
27 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/GoAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class GoAutoBuildTest extends BaseAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "goautobuildtest";
19 | templateId = GO_ID;
20 | relativeURL = "/";
21 | srcPath = "main.go";
22 | text1 = "Hello";
23 | text2 = "Hi there";
24 | text3 = "Hola";
25 | extendedTest = true;
26 | super.doSetup();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/LagomAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class LagomAutoBuildTest extends BaseAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "lagomautobuildtest";
19 | templateId = LAGOM_ID;
20 | relativeURL = "";
21 | srcPath = "hello-impl/src/main/java/com/example/rp/test/lagomendpoints/impl/HelloServiceImpl.java";
22 | text1 = "hello:";
23 | text2 = "hi there:";
24 | text3 = "hola:";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/LibertyDebugTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class LibertyDebugTest extends BaseDebugTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "libertydebugtest";
19 | templateId = JAVA_MICROPROFILE_ID;
20 | relativeURL = "/v1/example";
21 | srcPath = "src/main/java/application/rest/v1/Example.java";
22 | currentText = "Congratulations";
23 | newText = "Hello";
24 | dockerfile = "Dockerfile";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/NodeAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | import org.eclipse.codewind.core.internal.constants.AppStatus;
15 | import org.eclipse.codewind.core.internal.constants.BuildStatus;
16 | import org.eclipse.codewind.test.util.CodewindUtil;
17 | import org.eclipse.codewind.test.util.TestUtil;
18 | import org.eclipse.core.runtime.IPath;
19 |
20 | public class NodeAutoBuildTest extends BaseAutoBuildTest {
21 |
22 | @Override
23 | public void doSetup() throws Exception {
24 | projectName = "nodeautobuildtest";
25 | templateId = NODE_EXPRESS_ID;
26 | relativeURL = "/hello";
27 | srcPath = "server/server.js";
28 | text1 = "Planet";
29 | text2 = "Earth";
30 | text3 = "World";
31 |
32 | super.doSetup();
33 |
34 | String origText = "// Add your code here";
35 | String newText = "app.get('/hello', (req, res) => res.send('Hello Planet!'));";
36 |
37 | IPath path = project.getLocation();
38 | path = path.append(srcPath);
39 | TestUtil.updateFile(path.toOSString(), origText, newText);
40 | refreshProject(project);
41 |
42 | CodewindUtil.waitForBuildState(app, BuildStatus.IN_PROGRESS, 30, 1);
43 | assertTrue("Build should be successful", CodewindUtil.waitForBuildState(app, BuildStatus.SUCCESS, 300, 1));
44 | assertTrue("App should be in started state", CodewindUtil.waitForAppState(app, AppStatus.STARTED, 120, 1));
45 | }
46 |
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/NodeValidationTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | import org.eclipse.codewind.core.internal.constants.AppStatus;
15 | import org.eclipse.codewind.test.util.CodewindUtil;
16 | import org.eclipse.codewind.test.util.TestUtil;
17 | import org.eclipse.core.runtime.IPath;
18 |
19 | public class NodeValidationTest extends BaseValidationTest {
20 |
21 | static {
22 | projectName = "nodevalidationtest";
23 | templateId = NODE_EXPRESS_ID;
24 | relativeURL = "/hello";
25 | srcPath = "server/server.js";
26 | text = "Hello World!";
27 | dockerfile = "Dockerfile";
28 | }
29 |
30 | @Override
31 | public void doSetup() throws Exception {
32 | super.doSetup();
33 | IPath path = project.getLocation();
34 | path = path.append(srcPath);
35 | TestUtil.updateFile(path.toOSString(), "// Add your code here", "app.get('/hello', (req, res) => res.send('Hello World!'));");
36 | build(app);
37 | // For Java builds the states can go by quickly so don't do an assert on this
38 | CodewindUtil.waitForAppState(app, AppStatus.STOPPED, 120, 1);
39 | assertTrue("App should be in started state", CodewindUtil.waitForAppState(app, AppStatus.STARTED, 300, 1));
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/PythonAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class PythonAutoBuildTest extends BaseAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "pythonautobuildtest";
19 | templateId = PYTHON_ID;
20 | relativeURL = "/";
21 | srcPath = "app.py";
22 | text1 = "World";
23 | text2 = "Planet";
24 | text3 = "Earth";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/SpringAutoBuildTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class SpringAutoBuildTest extends BaseAutoBuildTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "springautobuildtest";
19 | templateId = SPRING_JAVA_ID;
20 | relativeURL = "/v1";
21 | srcPath = "src/main/java/application/rest/v1/Example.java";
22 | text1 = "Congratulations";
23 | text2 = "Hello";
24 | text3 = "Success";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/SpringDebugTest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test;
13 |
14 | public class SpringDebugTest extends BaseDebugTest {
15 |
16 | @Override
17 | protected void doSetup() throws Exception {
18 | projectName = "springdebugtest";
19 | templateId = SPRING_JAVA_ID;
20 | relativeURL = "/v1";
21 | srcPath = "src/main/java/application/rest/v1/Example.java";
22 | currentText = "Congratulations";
23 | newText = "Hello";
24 | dockerfile = "Dockerfile";
25 | super.doSetup();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.test/src/org/eclipse/codewind/test/util/Condition.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.test.util;
13 |
14 | public interface Condition {
15 |
16 | public boolean test();
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/.gitignore:
--------------------------------------------------------------------------------
1 | *.class
2 | /bin
3 | /build
4 | /depcache
5 | /dist
6 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/.options:
--------------------------------------------------------------------------------
1 | org.eclipse.codewind.core/debug/info=true
2 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind.ui
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.pde.ManifestBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.pde.SchemaBuilder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.pde.PluginNature
26 | org.eclipse.jdt.core.javanature
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.compliance=1.8
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.8
8 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Bundle-ManifestVersion: 2
3 | Bundle-Name: Codewind UI Plug-in
4 | Bundle-SymbolicName: org.eclipse.codewind.ui;singleton:=true
5 | Bundle-Version: 1.9.0.qualifier
6 | Bundle-Activator: org.eclipse.codewind.ui.CodewindUIPlugin
7 | Bundle-Vendor: Eclipse.org
8 | Bundle-Localization: plugin
9 | Require-Bundle: org.eclipse.ui,
10 | org.eclipse.core.runtime,
11 | org.eclipse.core.resources,
12 | org.eclipse.jem.util,
13 | org.eclipse.codewind.core,
14 | org.eclipse.debug.ui,
15 | org.eclipse.core.expressions,
16 | org.eclipse.core.filesystem,
17 | org.eclipse.ui.ide
18 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8
19 | Automatic-Module-Name: org.eclipse.codewind.ui;singleton:=true
20 | Bundle-ActivationPolicy: lazy
21 | Export-Package: org.eclipse.codewind.ui.internal,
22 | org.eclipse.codewind.ui.internal.actions,
23 | org.eclipse.codewind.ui.internal.editors
24 | Import-Package: org.eclipse.jdt.launching,
25 | org.eclipse.tm.terminal.view.core,
26 | org.eclipse.tm.terminal.view.core.interfaces,
27 | org.eclipse.tm.terminal.view.core.interfaces.constants,
28 | org.eclipse.ui,
29 | org.eclipse.ui.console,
30 | org.eclipse.ui.dialogs,
31 | org.eclipse.ui.forms,
32 | org.eclipse.ui.forms.events,
33 | org.eclipse.ui.forms.widgets,
34 | org.eclipse.ui.navigator,
35 | org.eclipse.ui.internal.browser,
36 | org.eclipse.ui.internal.wizards.datatransfer
37 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | source.. = src/
13 | output.. = build/classes/
14 | bin.includes = META-INF/,\
15 | .,\
16 | icons/,\
17 | intro/,\
18 | plugin.properties,\
19 | plugin.xml
20 | skip_copyright_check=true
21 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/codewind.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/codewind.ico
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/codewind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/codewind.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/codewind@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/codewind@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/codewindBanner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/codewindBanner.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/codewindBanner@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/codewindBanner@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/add_project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/add_project.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/add_project@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/add_project@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/bind_project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/bind_project.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/bind_project@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/bind_project@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/build_exec.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/build_exec.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/build_exec@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/build_exec@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/debug_exc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/debug_exc.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/debug_exc@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/debug_exc@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/import_wiz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/import_wiz.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/import_wiz@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/import_wiz@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/new_remote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/new_remote.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/new_remote@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/new_remote@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/open_app.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/open_app.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/open_app@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/open_app@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/refresh.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/refresh@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/refresh@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/remote_connect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/remote_connect.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/remote_connect@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/remote_connect@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/run_exc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/run_exc.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/elcl16/run_exc@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/elcl16/run_exc@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/error.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/error@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/error@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/generic_project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/generic_project.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/generic_project@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/generic_project@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/go.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/go@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/go@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/java.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/java@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/java@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/local_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/local_active.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/local_active@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/local_active@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/local_inactive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/local_inactive.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/local_inactive@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/local_inactive@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/microprofile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/microprofile.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/microprofile@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/microprofile@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/nodejs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/nodejs.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/nodejs@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/nodejs@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/python.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/python.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/python@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/python@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/remote_connected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/remote_connected.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/remote_connected@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/remote_connected@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/remote_disconnected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/remote_disconnected.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/remote_disconnected@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/remote_disconnected@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/spring.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/spring.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/spring@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/spring@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/swift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/swift.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/obj16/swift@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/obj16/swift@2x.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/icons/welcome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eclipse-archived/codewind-eclipse/634aa01bc1fa9ef2f7539615354a09ae7021832c/dev/org.eclipse.codewind.ui/icons/welcome.png
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/intro/css/overview.css:
--------------------------------------------------------------------------------
1 |
2 | a#codewind-overview img {
3 | background-image: url(../../icons/codewindBanner.png);
4 | }
5 |
6 | a#codewind-overview:hover img {
7 | background-image: url(../../icons/codewindBanner.png);
8 | }
9 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/intro/overview.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
10 | Get started with Codewind for Eclipse.
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/plugin.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018, 2020 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | #Properties file for org.eclipse.codewind.ui
13 | # NLS_ENCODING=UTF-8
14 | # NLS_MESSAGEFORMAT_NONE
15 | Bundle-Vendor = Eclipse.org
16 | Bundle-Name = Codewind UI Plug-in
17 |
18 | ACTION_REFRESH=Re&fresh
19 | ACTION_CONNECTION_REMOVE_CONNECTION=&Remove Connection
20 | ACTION_NEW_CLOUD_CONNECTION=New Codewind Connection
21 |
22 | PREFS_PARENT_PAGE_NAME=Codewind
23 | PREFS_CONNECTION_PAGE_NAME=Codewind Connections
24 |
25 | CODEWIND_CATEGORY_NAME=Codewind
26 | CODEWIND_VIEW_NAME=Codewind Explorer
27 | NAVIGATOR_CONTENT_NAME=Codewind Navigator Content
28 | NEW_CONNECTION_MENU_LABEL=Connection
29 | NEW_CONNECTION_DESCRIPTION=Create a connection to Codewind
30 | NEW_PROJECT_MENU_LABEL=Codewind Project
31 | NEW_PROJECT_DESCRIPTION=Create a Codewind project
32 |
33 | DEFAULT_ICON_PATH=icons/codewind.png
34 | BIND_PROJECT_ICON_PATH=icons/elcl16/bind_project.png
35 | REFRESH_ICON_PATH=icons/elcl16/refresh.png
36 | NEW_REMOTE_ICON_PATH=icons/elcl16/new_remote.png
37 |
38 | PROJECT_CONTEXT_MENU_NAME=C&odewind
39 | BIND_PROJECT_ACTION=&Add Project
40 |
41 | CW_SETTINGS_CONTENT_TYPE=Codewind settings file content type
42 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/CodewindLaunchConfigTabGroup.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal;
13 |
14 | import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
15 | import org.eclipse.debug.ui.CommonTab;
16 | import org.eclipse.debug.ui.ILaunchConfigurationDialog;
17 | import org.eclipse.debug.ui.ILaunchConfigurationTab;
18 | import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
19 |
20 | /**
21 | * A tab group for editing a Codewind Launch Configuration.
22 | * Right now there isn't really any obvious reason a user would need to use this,
23 | * but without it you get an error message when clicking on the launch config in the Configurations menu.
24 | */
25 | public class CodewindLaunchConfigTabGroup extends AbstractLaunchConfigurationTabGroup {
26 |
27 | @Override
28 | public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
29 | ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[2];
30 |
31 | SourceLookupTab sourceLookupTab = new SourceLookupTab();
32 | sourceLookupTab.setLaunchConfigurationDialog(dialog);
33 | tabs[0] = sourceLookupTab;
34 |
35 | tabs[1] = new CommonTab();
36 | tabs[1].setLaunchConfigurationDialog(dialog);
37 | setTabs(tabs);
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/actions/AddConnectionToolbarAction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.actions;
13 |
14 | import org.eclipse.codewind.core.internal.Logger;
15 | import org.eclipse.codewind.ui.internal.wizards.NewCodewindConnectionWizard;
16 | import org.eclipse.jface.action.IAction;
17 | import org.eclipse.jface.viewers.ISelection;
18 | import org.eclipse.jface.wizard.WizardDialog;
19 | import org.eclipse.swt.widgets.Display;
20 | import org.eclipse.ui.IViewActionDelegate;
21 | import org.eclipse.ui.IViewPart;
22 |
23 | /**
24 | * Toolbar action to create a new project.
25 | */
26 | public class AddConnectionToolbarAction implements IViewActionDelegate {
27 |
28 | @Override
29 | public void run(IAction action) {
30 | try {
31 | NewCodewindConnectionWizard wizard = new NewCodewindConnectionWizard();
32 | WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(), wizard);
33 | dialog.open();
34 | } catch (Exception e) {
35 | Logger.logError("An error occurred running the new connection toolbar action", e); //$NON-NLS-1$
36 | }
37 | }
38 |
39 | @Override
40 | public void selectionChanged(IAction action, ISelection sel) {
41 | // This action is always enabled
42 | action.setEnabled(true);
43 | }
44 |
45 | @Override
46 | public void init(IViewPart part) {
47 | // empty
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/actions/CodewindActionProvider.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.actions;
13 |
14 | import org.eclipse.jface.action.IMenuManager;
15 | import org.eclipse.jface.action.Separator;
16 | import org.eclipse.jface.viewers.ISelectionProvider;
17 | import org.eclipse.ui.navigator.CommonActionProvider;
18 | import org.eclipse.ui.navigator.ICommonActionExtensionSite;
19 |
20 | /**
21 | * Action provider for the Codewind view.
22 | */
23 | public class CodewindActionProvider extends CommonActionProvider {
24 |
25 | private ISelectionProvider selProvider;
26 | private OpenWelcomePageAction openWelcomePageAction;
27 | private AddConnectionAction addConnectionAction;
28 |
29 | @Override
30 | public void init(ICommonActionExtensionSite aSite) {
31 | super.init(aSite);
32 | selProvider = aSite.getStructuredViewer();
33 | openWelcomePageAction = new OpenWelcomePageAction(selProvider);
34 | addConnectionAction = new AddConnectionAction(selProvider);
35 | }
36 |
37 | @Override
38 | public void fillContextMenu(IMenuManager menu) {
39 | selProvider.setSelection(selProvider.getSelection());
40 | menu.add(openWelcomePageAction);
41 | menu.add(new Separator());
42 | menu.add(addConnectionAction);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/console/ShowOnContentChangeAction.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.console;
13 |
14 | import org.eclipse.codewind.core.internal.console.SocketConsole;
15 | import org.eclipse.codewind.ui.CodewindUIPlugin;
16 | import org.eclipse.codewind.ui.internal.messages.Messages;
17 | import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
18 | import org.eclipse.debug.ui.DebugUITools;
19 | import org.eclipse.jface.action.Action;
20 | import org.eclipse.jface.action.IAction;
21 |
22 | @SuppressWarnings("restriction")
23 | public class ShowOnContentChangeAction extends Action {
24 |
25 | SocketConsole console;
26 |
27 | public ShowOnContentChangeAction(SocketConsole console) {
28 | super(Messages.ShowOnContentChangeAction, IAction.AS_CHECK_BOX);
29 | setToolTipText(Messages.ShowOnContentChangeAction);
30 | setId(CodewindUIPlugin.PLUGIN_ID + ".ShowOnContentChangeAction"); //$NON-NLS-1$
31 | setImageDescriptor(DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_STANDARD_OUT));
32 | this.console = console;
33 | }
34 |
35 | @Override
36 | public void run() {
37 | console.setShowOnUpdate(isChecked());
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/console/SocketConsolePageParticipant.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.console;
13 |
14 | import org.eclipse.codewind.core.internal.console.SocketConsole;
15 | import org.eclipse.jface.action.IToolBarManager;
16 | import org.eclipse.ui.IActionBars;
17 | import org.eclipse.ui.console.IConsole;
18 | import org.eclipse.ui.console.IConsoleConstants;
19 | import org.eclipse.ui.console.IConsolePageParticipant;
20 | import org.eclipse.ui.part.IPageBookViewPage;
21 |
22 | public class SocketConsolePageParticipant implements IConsolePageParticipant {
23 |
24 | @Override
25 | public T getAdapter(Class arg0) {
26 | return null;
27 | }
28 |
29 | @Override
30 | public void activated() {
31 | // Empty
32 | }
33 |
34 | @Override
35 | public void deactivated() {
36 | // Empty
37 | }
38 |
39 | @Override
40 | public void dispose() {
41 | // Empty
42 | }
43 |
44 | @Override
45 | public void init(IPageBookViewPage page, IConsole console) {
46 | if (console instanceof SocketConsole) {
47 | ShowOnContentChangeAction contentChange = new ShowOnContentChangeAction((SocketConsole)console);
48 |
49 | // Contribute to the toolbar
50 | IActionBars actionBars = page.getSite().getActionBars();
51 | IToolBarManager mgr = actionBars.getToolBarManager();
52 | mgr.appendToGroup(IConsoleConstants.OUTPUT_GROUP, contentChange);
53 | }
54 | }
55 |
56 | }
57 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/editors/WelcomePageEditorInputFactory.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.editors;
13 |
14 | import org.eclipse.core.runtime.IAdaptable;
15 | import org.eclipse.ui.IElementFactory;
16 | import org.eclipse.ui.IMemento;
17 |
18 | public class WelcomePageEditorInputFactory implements IElementFactory {
19 |
20 | public static final String FACTORY_ID = "org.eclipse.codewind.ui.editors.welcomePageEditorInputFactory";
21 |
22 | @Override
23 | public IAdaptable createElement(IMemento memento) {
24 | return new WelcomePageEditorInput();
25 | }
26 |
27 | public static void saveState(IMemento memento, WelcomePageEditorInput input) {
28 | // Do nothing
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/prefs/EditTemplateSourceWizard.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2020 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.prefs;
13 |
14 | import org.eclipse.codewind.ui.internal.messages.Messages;
15 | import org.eclipse.codewind.ui.internal.prefs.RepositoryManagementComposite.RepoEntry;
16 |
17 | public class EditTemplateSourceWizard extends AddTemplateSourceWizard {
18 |
19 | private final RepoEntry repo;
20 |
21 | public EditTemplateSourceWizard(RepoEntry repo) {
22 | super();
23 | this.repo = repo;
24 | }
25 |
26 | @Override
27 | public void addPages() {
28 | setWindowTitle(Messages.EditRepoDialogShell);
29 | urlPage = new TemplateSourceURLPage(Messages.EditRepoDialogShell, Messages.EditRepoDialogTitle, repo.url, repo.requiresAuthentication, repo.isLogonMethod(), repo.username);
30 | addPage(urlPage);
31 | detailsPage = new TemplateSourceDetailsPage(Messages.EditRepoDialogShell, Messages.EditRepoDialogTitle, repo.name, repo.description);
32 | addPage(detailsPage);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/views/CodewindExplorerView.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018, 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.views;
13 |
14 | import org.eclipse.swt.widgets.Composite;
15 | import org.eclipse.ui.navigator.CommonNavigator;
16 | import org.eclipse.ui.navigator.CommonViewer;
17 |
18 | /**
19 | * Codewind explorer view. Shows connections to Codewind instances and
20 | * the applications for each instance.
21 | */
22 | public class CodewindExplorerView extends CommonNavigator {
23 | public static final String VIEW_ID = "org.eclipse.codewind.ui.explorerView";
24 |
25 | @Override
26 | protected CommonViewer createCommonViewerObject(Composite parent) {
27 | CommonViewer viewer = super.createCommonViewerObject(parent);
28 | viewer.setAutoExpandLevel(2);
29 | return viewer;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/views/CodewindNavigatorSorter.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.views;
13 |
14 | import org.eclipse.codewind.core.internal.connection.CodewindConnection;
15 | import org.eclipse.jface.viewers.ViewerComparator;
16 |
17 | public class CodewindNavigatorSorter extends ViewerComparator {
18 |
19 | @Override
20 | public int category(Object element) {
21 | if (element instanceof CodewindConnection) {
22 | if (((CodewindConnection) element).isLocal()) {
23 | return 0;
24 | } else {
25 | return 1;
26 | }
27 | }
28 | return super.category(element);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/wizards/CompositeContainer.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2019 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.wizards;
13 |
14 | import java.lang.reflect.InvocationTargetException;
15 |
16 | import org.eclipse.jface.operation.IRunnableWithProgress;
17 |
18 | // Allow the composite to communicate with its container which could be a dialog,
19 | // a wizard page, etc.
20 | public interface CompositeContainer {
21 | public void setErrorMessage(String msg);
22 |
23 | public void setMessage(String msg);
24 |
25 | public void validate();
26 |
27 | public void run(IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException;
28 | }
29 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/src/org/eclipse/codewind/ui/internal/wizards/WizardLauncher.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) 2018 IBM Corporation and others.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Eclipse Public License v2.0
5 | * which accompanies this distribution, and is available at
6 | * http://www.eclipse.org/legal/epl-v20.html
7 | *
8 | * Contributors:
9 | * IBM Corporation - initial API and implementation
10 | *******************************************************************************/
11 |
12 | package org.eclipse.codewind.ui.internal.wizards;
13 |
14 | import org.eclipse.jface.viewers.ISelection;
15 | import org.eclipse.jface.viewers.IStructuredSelection;
16 | import org.eclipse.jface.wizard.Wizard;
17 | import org.eclipse.jface.wizard.WizardDialog;
18 | import org.eclipse.swt.widgets.Display;
19 | import org.eclipse.swt.widgets.Shell;
20 | import org.eclipse.ui.INewWizard;
21 | import org.eclipse.ui.IWorkbench;
22 |
23 | /**
24 | * Static utilities to eliminate some boilerplate for launching wizards.
25 | */
26 | public class WizardLauncher {
27 |
28 | private WizardLauncher() {}
29 |
30 | /**
31 | * Useful when the wizard to be launched does not care about the workbench or selection.
32 | * Do not use with the Link Wizard since it requires these.
33 | */
34 | public static void launchWizardWithoutSelection(Wizard wizard) {
35 | WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(), wizard);
36 | dialog.create();
37 | dialog.open();
38 | }
39 |
40 | public static void launchWizard(INewWizard wizard, ISelection selection, IWorkbench workbench, Shell parentShell) {
41 | IStructuredSelection structuredSelection = null;
42 | if (selection instanceof IStructuredSelection) {
43 | structuredSelection = (IStructuredSelection) selection;
44 | }
45 |
46 | wizard.init(workbench, structuredSelection);
47 |
48 | WizardDialog dialog = new WizardDialog(parentShell, wizard);
49 | dialog.create();
50 | dialog.open();
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind.ui/xml/CodewindUIContexts.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
15 |
16 | Container development unleashed
17 | Codewind simplifies and enhances development in containers by extending industry standard IDEs with features to write, debug, and deploy cloud-native applications. Get started quickly with templates or samples, or pull in your applications and let Codewind get them cloud ready.
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.eclipse.codewind
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.pde.FeatureBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.pde.FeatureNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind/build.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) 2018 IBM Corporation and others.
3 | # All rights reserved. This program and the accompanying materials
4 | # are made available under the terms of the Eclipse Public License v2.0
5 | # which accompanies this distribution, and is available at
6 | # http://www.eclipse.org/legal/epl-v20.html
7 | #
8 | # Contributors:
9 | # IBM Corporation - initial API and implementation
10 | ###############################################################################
11 |
12 | bin.includes = feature.xml,\
13 | feature.properties,\
14 | notices.html,\
15 | license.html
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind/build.xml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dev/org.eclipse.codewind/feature.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
18 |
19 |
20 | %description
21 |
22 |
23 |
24 | %copyright
25 |
26 |
27 |
28 | %license
29 |
30 |
31 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/dev/set-install-version.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | if [[ "$1" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
4 | echo "Setting install-version to $1"
5 | echo "install-version: $1" > $2/install-version.properties
6 | else
7 | echo "Setting install-version to latest"
8 | echo "install-version: latest" > $2/install-version.properties
9 | fi
10 |
--------------------------------------------------------------------------------