Hi,
I have written an ANT script which deployes an application to my local development JEE enviroment. I need the same function to deploy it to the productive enviroment.
I often only want to deploy to the development server and rarely to the productive one. I'm using Eclipse IDE. Depending on the way ANT is used, it could happen, that I accidantally deploy to the productive server, with just one wrong click.
What is the best way, to build this functionality that way, that I could not deploy accedantally to the producte system?
- Two separate ANT scripts?
- Twoseparate ANT targets?
- Is there any password protection for ANT tasks or targets?
- Any other way?
Thanks in advance.