I have a question according to automate my project lifecycle. Now i do this manualy:
- build my project with Ant, get target jar, rename it manualy (add suffix, like version2.0-myProject.jar);
- connect to remote server via ssh, open FreeComander and copy jar file and INI-properties files to different folders on remote server;
- Remoutly run my application throws putty (exec bat file on server, which contain all cmd run command. This .bat contain plink.exe remote command to Lunux server, whoes contain instance of app).
What i want to do: i want to automation deployment procces, include build phase and app run phase, i want to do this: When buld executed, user asked for output-jar file suffux(like varian2-myapp.jar), ask user for properties file with what programm will execute later, and ask user for Allocated memory for JVM (now it is part of cmd comand in .bat file)
My app is simple, contains 15 Classes and 3 external libs. I want to make deployment easy and automate this process, i learn that Maven or Ant Build can help me. Please say, what way is more comfort for my task of using this build systems.