You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ja...@rzf.fin-nrw.de on 2005/02/09 13:41:56 UTC

AW: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/op tion al Rpm.java

> 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

Re: AW: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/op tion al Rpm.java

Posted by Steve Loughran <st...@apache.org>.
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