开发者

Using python script to close eclipse and update from svn

开发者 https://www.devze.com 2023-04-04 13:33 出处:网络
I am new to python and the first project that I have has the following steps which should be executed through a python script run from command-line on a Mac:

I am new to python and the first project that I have has the following steps which should be executed through a python script run from command-line on a Mac:

(1) Close Eclipse. (2) Update the code from svn (3) Run 开发者_StackOverflow中文版a Ant deploy script

As I said I am very new to python and plan to learn as I go along coding the script. Any pointers/code would be helpful. I am using python 2.7.1.

Thanks! Sameer


Python's kinda the 'hard way' to do this. Eclipse has CLI scripting capabilities that you might be able to make use of. For example update_standalone reference. Granted you have to play a bit in jar-land to do this, consider that literally nobody developing for Eclipse is going to lift a finger to make things easier for you - but if you play by their rules it's not as hard.

0

精彩评论

暂无评论...
验证码 换一张
取 消