Prerequisites
- Download and install the latest Eclipse IDE for Java EE Developers or use an existing installation. The earliest supported version of the Eclipse IDE for Codewind for Eclipse is 4.11.0 (2019-03).
- Install Docker.
- If you use Linux, you also need to install Docker Compose.
Complete the installation:
- Install Codewind from the Eclipse Marketplace.
- Open the Codewind Explorer view.
- Double-click the Codewind entry in the view to finish installing Codewind. The download is approximately 1 GB. For more information, see Installing Codewind for Eclipse.
Right-click the Local Projects entry in the view to create new projects or add existing projects to Codewind. After a project is created or added, it displays in the Codewind Explorer view. Right-click the project to see the available actions.
Features:
- Create new projects from application templates or add existing container-ready projects to Codewind.
- View Codewind projects, including application and build statuses.
- Debug Microprofile/Java EE and Spring projects in their containers.
- Set up a Chrome debug session for Node.js projects.
- View application and build logs in the Console view.
- View and edit project deployment information.
- Open a shell session into a Codewind application container.
- Toggle project auto build and manually initiate project builds.
- Integrate Codewind validation errors into the Markers view.
- Disable, enable, and remove projects.
- Create an
.options
file in your Eclipse install directory, the same directory with theeclipse
executable. Include the following content in the new file:
org.eclipse.codewind.core/debug/info=true
- Launch Eclipse with the
-debug
flag. - The logs are written to the Eclipse workspace directory to
.metadata/.log
.
- Clone the repository to your system:
git clone https://github.com/eclipse/codewind-eclipse
- [Optional] To get a test build, copy the
codewind-eclipse
folder to thebuild
directory to keep your source folder intact. - Run a Gradle build:
cd build/dev
./gradlew
- Test the driver built from the Gradle build:
build/dev/ant_build/artifacts/codewind-[Version].vYYYYMMDD_hhmm.zip
- Download and install the latest Eclipse IDE for Java EE Developers or use an existing installation. The earliest supported version of the Eclipse IDE for Codewind for Eclipse is 4.11.0 (2019-03).
- Clone the repository to your system:
git clone https://github.com/eclipse/codewind-eclipse
- Open the Git Repositories view in Eclipse and click on the Add an existing local Git Repository to this view toolbar button.
- Fill in the location of your repository clone and finish the wizard.
- Right click on the repository you just created, select Import Projects and import all of the
org.eclipse.codewind.*
projects. - Modify the code as desired and then use the Eclipse self-hosting feature to test and debug your changes:
- Click on Run > Debug Configurations and create a new debug launch configuration of type Eclipse Application.
- Modify the workspace location if desired.
- For Program to Run choose Run a product and select org.eclipse.epp.package.jee.product from the drop down list.
- You can work with different versions of the Codewind images by adding the CW_TAG environment variable in the Environment tab. Set it to latest to get the latest images or to a specific tag such as 0.3.
- Click the Debug button when you are finished to launch the self-hosted Eclipse and begin your testing.
- Make sure to use the Codewind Explorer view in Eclipse to uninstall any current Codewind images before starting. If Codewind is installed, right click on Codewind in the view and select Uninstall.
- To work with the Codewind images, clone this repository to your system:
git clone https://github.com/eclipse/codewind
- Use an editor of your choice to make changes to the code if desired.
- Build and run Codewind using
run.sh
. - When it is running you can right click on Codewind in the Codewind Explorer view in Eclipse and select Refresh to pick up the newly running Codewind images.
Dependency | License |
---|---|
socket.io-client-1.0.0.jar | MIT |
engine.io-client-1.0.0.jar | MIT |
org.json_1.0.0.v201011060100.jar | EPL-1.0 |
okhttp-3.8.1.jar | Apache 2.0 |
okio-1.13.0.jar | Apache 2.0 |
To contribute to Codewind, see CONTRIBUTING.md.