New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build sts4 for LoongArch #1227
Comments
The main thing to look at for this will be the The most important definitions for the distribution builds are included in https://github.com/spring-projects/sts4/blob/main/eclipse-distribution/pom.xml. This The build spec contains profiles for the specific Eclipse versions that we build the distributions for. At the moment, those available profiles are: If you want to build the distribution using a specific Eclipse repository instead of the main one, you would have to modify that repository, e.g. https://github.com/spring-projects/sts4/blob/main/eclipse-distribution/pom.xml#L247 if you want to build against your own repository of the Eclipse 2024-03 release. If you go down that path, I would strongly recommend to not put random Eclipse repositories in there, but choose the compatible version. So if your own Eclipse repository that you would like to use contains the Eclipse release bits for the 2024-03 release, use that in the profile Here is how I would approach things:
Hope that helps and provides some steps to get started here. |
I would also strongly recommend to do all these steps from the main branch and not go back in time to a specific tag of older releases, etc. This will cause trouble due to moved p2 repositories, changed URLs, etc. Running from the main branch will be a lot easier. |
@Panxuefeng-loongson This is a very old version of Eclipse and you will definitely not be able to install any more recent versions of the Spring Tools 4 into that. We have archived versions of p2 repositories around for a very old version of Spring Tools 4 what was built for Eclipse 4.10 as well as the corresponding STS3 p2 repositories, so you could take an existing Eclipse installation and try to (manually or automatically) install the Spring Tools components into that existing Eclipse installation, but you would end up with extremely old versions of the Spring Tools component. It should be technically possible, but we can't provide support or detailed help for those old and outdated versions anymore. I would strongly recommend to move to a more recent, up-to-date version of Eclipse and go from there - you will have to do that sometime soon anyway. Otherwise, you could evaluate commercial support options, but I guess you would have to get a very special deal in place to get support for those old versions... ;-) |
References to the old Spring Tools 3 components can be found here: A list of older versions of the Spring Tools 4 can be found here: |
Thank you very much for your reply. Is this approach the same as the Spring Tools for Eclipse extensions? |
Yes |
Expected Behavior
Make sts4 work properly on the LoongArch[1] platform
Current Behavior
The binaries downloaded from https://spring.io/tools cannot run on the LoongArch platform
Context
From https://github.com/spring-projects/sts4?tab=readme-ov-file#installation, I learned that there are four distribution integration ways for the Spring Tool Suite. I want to build Spring Tools 4 for Eclipse distribution and Spring Tools 4 for Eclipse extensions for LoongArch. For the out-of-the-box distribution way of Spring Tools 4 for Eclipse distribution, because the LoongArch version of the Eclipse is not supported by the Eclipse community, I need to use our internal version. In the code, where is the URL specified for downloading Eclipse? I may need to modify the download URL to complete the build. Also, the internal LoongArch version of Eclipse and the specified version of sts4 build differ. Will this affect the build? For the construction of Spring Tools 4 for Eclipse extensions, what should I pay attention to?
[1] https://www.loongson.cn/EN/application/list?id=39
The text was updated successfully, but these errors were encountered: