Skip to content
Snippets Groups Projects
Commit 528a4ea0 authored by jez04's avatar jez04
Browse files

Upgrade eclipse ee to 2023-09 add lombok to ee and java eclipse

parent 1678b60f
No related merge requests found
......@@ -233,7 +233,7 @@ if [ ! -d \"\$WILDFLY_DIR\" ]; then
mkdir -p \$WILDFLY_DIR/configuration
mkdir -p \$WILDFLY_DIR/content
mkdir -p \$WILDFLY_DIR/data
mkdir -p \$WILDFLY_DIR/deploymentsAaa
mkdir -p \$WILDFLY_DIR/deployments
mkdir -p \$WILDFLY_DIR/log
cp /opt/wildfly-29/standalone/configuration/* \$WILDFLY_DIR/configuration/
......@@ -525,6 +525,17 @@ function uninstallIdea(){
echo '============>Idea IDE uninstalled.==========================================================================================================='
}
function installLombok(){
local eclipseSuffix=${1:-java}
local eclipseName=${2:-eclipse}
wget https://projectlombok.org/downloads/lombok.jar
sudo mv lombok.jar /opt/eclipse-$eclipseSuffix/
cat <<EOF | sudo cat >>/opt/eclipse-$eclipseSuffix/$eclipseName-orig.ini
-javaagent:/opt/eclipse-$eclipseSuffix/lombok.jar
EOF
}
#deprecated
function installEclipseSTS(){
downloadAndExtract /opt spring-tool-suite-3.9.5.RELEASE-e4.8.0-linux-gtk-x86_64.tar.gz sts-bundle eclipse-sts https://download.springsource.com/release/STS/3.9.5.RELEASE/dist/e4.8/spring-tool-suite-3.9.5.RELEASE-e4.8.0-linux-gtk-x86_64.tar.gz
......@@ -547,8 +558,10 @@ https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/8.0.0.80157/,\
https://download.eclipse.org/mylyn/incubator/latest/,\
https://download.eclipse.org/mylyn/releases/latest/,\
https://download.eclipse.org/efxclipse/updates-released/3.9.0/site/,\
https://projectlombok.org/p2,\
https://ecd-plugin.github.io/update/" \
"org.eclipse.fx.runtime.min.feature.feature.group,\
org.projectlombok.feature.feature.group,\
org.eclipse.fx.ide.feature.feature.group,\
org.eclipse.wb.core.feature.feature.group,\
org.eclipse.wb.core.ui.feature.feature.group,\
......@@ -576,17 +589,17 @@ function installEclipsePapyrus(){
function installEclipseEE(){
######Install Eclipse for EE development package
installEclipseInstance ee https://mirror.ibcp.fr/pub/eclipse/technology/epp/downloads/release/2023-06/R/eclipse-jee-2023-06-R-linux-gtk-x86_64.tar.gz \
"https://download.eclipse.org/releases/2023-06/,\
installEclipseInstance ee https://mirror.dogado.de/eclipse/technology/epp/downloads/release/2023-09/R/eclipse-jee-2023-09-R-linux-gtk-x86_64.tar.gz \
"https://download.eclipse.org/releases/2023-09/,\
https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/8.0.0.80157/,\
https://download.jboss.org/jbosstools/photon/stable/updates/,\
https://ecd-plugin.github.io/update/,\
https://download.eclipse.org/mylyn/incubator/latest/,\
https://download.eclipse.org/mylyn/releases/latest/,\
https://www.thymeleaf.org/eclipse-plugin-update-site/,\
https://projectlombok.org/p2,\
https://de-jcup.github.io/update-site-eclipse-yaml-editor/update-site/" \
"org.eclipse.mylyn_feature.feature.group,\
org.eclipse.mylyn.web.tasks_feature.feature.group,\
"org.projectlombok.feature.feature.group,\
org.eclipse.eclemma.feature.feature.group,\
org.sonarlint.eclipse.feature.feature.group,\
org.jboss.tools.cdi.feature.feature.group,\
......@@ -828,6 +841,26 @@ function upgrade2023(){
installGitkraken
}
function fix2023(){
removeEclipseInstance ee
installEclipseEE
installLombok java
cat <<EOF | sudo tee /opt/wildfly-29/bin/standalone-student.sh > /dev/null
#!/bin/bash
WILDFLY_DIR=\$HOME/.wildfly
if [ ! -d \"\$WILDFLY_DIR\" ]; then
mkdir -p \$WILDFLY_DIR/configuration
mkdir -p \$WILDFLY_DIR/content
mkdir -p \$WILDFLY_DIR/data
mkdir -p \$WILDFLY_DIR/deployments
mkdir -p \$WILDFLY_DIR/log
cp /opt/wildfly-29/standalone/configuration/* \$WILDFLY_DIR/configuration/
fi
/opt/wildfly-29/bin/standalone.sh -Djboss.server.base.dir=\$WILDFLY_DIR -Djboss.server.temp.dir=/tmp/wildfly
EOF
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment