I came across many projects from github that are using ant to do build and deployment. And I am totally lost. I have watched youtube tutorial on how to use ant but still I am lost.
Could someone tells me what's the reason these info below are declared in private.properties ? The author is using netbean and I am using Eclipse so is it necessary for me to use the below or is it ok that I deleted this file away? cos I am using external tomcat as a server.
Also, I am totally lost how to intrepret the below infor....
My question is if I am going to use maven, can I delete the below, as I see that it doesn't contain any dependencies library...
In answer to your first question, most of those properties appear to be to tell Ant where Netbeans is and where its copy of Tomcat is. Which is mostly useless except with Netbeans. Looks like maybe Netbeans was expected to launch a test browser as well, but I'm not sure.
In answer to your second question, those Ant actions are to deploy the WAR that has been built to the Tomcat server. Maven has a "deploy" goal instead, so you don't need any of that, although the information regarding the server location, application context, and other variable data would have to be translated into POM equivalents for the deploy goal to use.
As an editorial opinion, I've never been big on making Ant or Maven deploy my webapps. For development and testing I have Tomcat set to use the WAR as it was built (withing the source project) instead of exporting it to somewhere else. And for production, I build a stand-alone deployable that generally has to be handed over to the operations staff for security reasons. Or, if Jenkins is in control, I let Jenkins handle that part.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.