# goclipse **Repository Path**: duanlilinux/goclipse ## Basic Information - **Project Name**: goclipse - **Description**: golong开发环境 - **Primary Language**: Java - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-01 - **Last Updated**: 2021-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Project website: http://goclipse.github.io/ As of 2017, **Goclipse is no longer actively maintained**, see this [blog post](http://pureconcepture.blogspot.co.uk/2017/07/goodbye-to-eclipse-end-of-era-for.html) for more information. If you are interested in contributing, you can for now fork the project - and there should be enough information here detailing how to build, test, release, etc. -- [](https://travis-ci.org/GoClipse/goclipse) [](https://gitter.im/GoClipse/goclipse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Developers Guide ================ ### Building the IDE: You will need [Maven](http://maven.apache.org/) for building Goclipse. * To build, run `mvn clean verify` at the root of the repository. This will run the test suite, and afterwards produce a p2 repository (an Eclipse Software Site) at `bin-maven/features.repository/repository`. * To just build without running tests, invoke `mvn clean package`. ### Setting up a development environment: * You need [Eclipse PDE](https://eclipse.org/pde/) to develop Eclipse plugins. Download and start it. * Clone the Git repository. * In Eclipse, click "File / Import... ", and then "General / Existing projects into workspace". Select the Git repository folder as the "root directory", enable "Search for nested projects", and select all the Eclipse projects that show up. Click finish to import those projects.
* Note: The actual project names will be different from those in the screenshot above. * Note: Java compiler settings will be automatically configured, since Eclipse compiler settings are stored in source version control. * Setup the target platform. Unfortunately due to limitations in Tycho/PDE tooling ([more info](https://github.com/tesla/m2eclipse-tycho/issues/29)) some manual steps are required: 1. Open a shell on `target-platform/` and run `mvn package`. This should create a `deps-repository/repository` directory. 1. Copy the target platform file: `target-platform/IDE-base.target` to `target-platform/IDE-gen.target`. (this last filename is already git-ignored). 1. Open `target-platform/IDE-gen.target` in Eclipse, so that it opens under the PDE editor. 1. Click "Add", then select "Software Site". 1. On the "Add Software Site" dialog, click "Add...", then "Local...", navigate to Git repo directory, then choose the `target-platform/deps-repository/repository` directory. 1. On the "Add Software Site" dialog, the new repository should be selected. Click "Select All" to select all deps, then click "Finish". It should look more or less like this: 1. Then finally click "Set as Target Platform". * Build the workspace ( "Project / Build All"). Everything should build fine now, there should be no errors. * To start the IDE from your workspace: Open "Run / Run Configurations ...". Click on "Eclipse Application" to create a new launch for the plugins in your workspace. The default new configuration that is created should already be ready to be launched. * **Additional tip:** Locate the `bin-maven` folder in the top-level project, open its Properties from the Project Explorer context menu, and mark that directory as "Derived" in the "Resources" property page. This will prevent those folder resources to appear in UI operations such as "Open Resource" for example. #### Running the tests in Eclipse: * In `releng/launches` there is one or several Eclipse launch files for running the tests, so if this project is added to your Eclipse workspace, the launches will show up automatically in `Run Configurations...`, as "JUnit Plug-in Tests". ### Creating and deploying a new release: A release is a web site with an Eclipse p2 update site. The website may contain no web pages at all, rather it can be just the p2 site. To create and deploy a new release: 1. Ensure the version numbers of all plugins/features/etc. are properly updated, if they haven't been already. 1. Run `mvn clean verify` to perform the Tycho build (see section above). Ensure all tests pass. * To create a signed release the `sign-build` Maven profile must be activated, and the required properties set. 1. Create and push a new release tag for the current release commit. 1. Go to the Github releases page and edit the newly present release. Add the corresponding ([ChangeLog.md](documentation/ChangeLog.md)) entries to the release notes. 1. Locally, run `ant -f releng/ CreateProjectSite`. This last step will prepare the project web site under `bin-maven/ProjectSite`. 1. To actually publish the project site, run `ant -f releng/ PublishProjectSite -DreleaseTag=