ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/op tion al Rpm.java
Date Wed, 09 Feb 2005 13:50:33 GMT
Jan.Materne@rzf.fin-nrw.de wrote:
>>Or we really could rpm something up, then <exec> something to 
>>look at it
> 
> 
> Mmmh, what can the RPM do?
> 1) add files (e.g. the program files)
> 2) modify files (e.g. config files)
> 3) environemt settings (or is that 2?)
> 
> So the scenario would be:
> - create the rpm
> - compare these modifications
>   1) checked against the content of a (unzipped) zip file
>   2) check if "our" settings are inserted
>   3) dito
> - clean
>   problem: have to backup the files for 2) before and hope that
>   no files else were modified. Or is there a possibility on *nix to
>   "undo" an installation?
> 
> 
> Jan
> 

We cant actually install an RPM; you need to be root. But there are some 
rpm commands to list the contents of a repository; we could parse the 
output and look for strings.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message