I am developing an application on my desktop, though to test it i need to deploy it into an environment which requires the jar to be transferred via multiple hops.
So even after making a small change, i have to rebuild the whole Project, and send the JAR (Already ~ 12MB), to the test server, transferring it via the multiple hops, which are very slow.
What i want to know is, can i just build the project in Eclipse (to check for any compilation errors) and transfer only the changed java file/class and update it into the jar which already exists in test-server?
I read that we can use jar -u to update the jar, but i am not able to make it work.
Could any of you please advise how this can be done? (If it is possible?) Or if there is any other easier way to handle this?
Re: jar Deployment
What do you mean when you say that you are not able to make it work? You should be able to update the jar. How did you try that? What exactly happened?