weizhouapache commented on PR #10861: URL: https://github.com/apache/cloudstack/pull/10861#issuecomment-2890268951
@sjanssen15 you can build the projects in a container and copy the JAR to your management server, by following the steps below ``` # 1. create docker container, and go into it docker run -d -it --name ubuntu22 ubuntu:22.04 docker exec -it ubuntu22 bash # 2. clone repo apt update apt install -y git wget git clone https://github.com/apache/cloudstack.git -b 4.20.0.0 # 3. apply patch wget https://github.com/apache/cloudstack/pull/10861.patch git config --global user.email "y...@example.com" git config --global user.name "Your Name" git am 10861.patch git log -n2 # patch should be applied # 4. install build dependencies echo "y" | apt build-dep . git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss && cd nonoss && bash -x install-non-oss.sh && cd .. rm -fr nonoss # 5. build the project mvn -P developer,systemvm -Dnoredist clean install -DskipTests # 6. post-build # please copy client/target/cloud-client-ui-4.20.0.0.jar to /usr/share/cloudstack-management/lib/cloudstack-4.20.0.0.jar on the management servers # restart cloudstack-management service ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org