-
I am not using IntelliJ, so can not help here.
-
Previous Value Current Value Open
Closed
-
Hello, may I ask you a question? I'm currently facing two difficulties. The first one is that when I perform secondary development in the local development environment using IDEA and re-execute "mvn clean install -Pce" to generate the deployment package, and then start the project in the Linux environment using "server.sh", the original code submission records and code data are lost. How can I solve this problem? Can I only upload the modified JAR package to the lib directory to solve it?
I am not quite sure what you mean with "code submission records and code data are lost" but if you mean that your created repositories in OneDev are gone then it is because you call
cleanwhich deletesserver-product/target/sandbox. That folder is the working directory / installation folder of OneDev and OneDev generally creates repositories on disk. So don't delete it.The second difficulty is that when I perform secondary development of the code using IDEA and deploy it using Docker, how should I operate? I checked the tutorial you wrote on the official website, but I didn't understand how the image "1dev" was created.
You use
server-product/docker/Dockerfile.serverto build the image.
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Hello, may I ask you a question? I'm currently facing two difficulties. The first one is that when I perform secondary development in the local development environment using IDEA and re-execute "mvn clean install -Pce" to generate the deployment package, and then start the project in the Linux environment using "server.sh", the original code submission records and code data are lost. How can I solve this problem? Can I only upload the modified JAR package to the lib directory to solve it?
The second difficulty is that when I perform secondary development of the code using IDEA and deploy it using Docker, how should I operate? I checked the tutorial you wrote on the official website, but I didn't understand how the image "1dev" was created.