Is it possible and/or good practice to install packages using Apache Ant or Maven? -


i process of refining our build, became apparent simplify new deployments great deal making ant of setup work. checkout code, run bootstrap task things downloading library dependencies, fetching build-tool binaries etc.

this not reason use ant, benefit; right things unit testing, coverage logging, sloc counting, mess-detection, standards compliance, , forth.

one step greatly, being able make bootstrap check , install os-package dependencies. like:

1) check os 2) if recognized/supported, run (eg)      ubuntu: apt-get install curl apache2 libapache2-mod-php5;      redhat: run yum install -y apache curl-bin 

is there way this? know can run arbitrary commands, sudoing breaks that. also, there reason shouldn't done if be?

i use chef install things , ant run builds. can execute arbitrary commands ant don't want to.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -