ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: p4delete?
Date Wed, 26 Sep 2001 16:54:32 GMT

Hi,

Nope, there's no p4 delete 'cos I never needed it :-)

P4 tasks are easy to write - the functionality to call p4 is in P4Base,
stream handling is doen through the P4OutputHandler stuff (see the
simpleHandler for an example). You just need to give P4Base the correct p4
command, any options and an output handler - start with p4 edit as an
example since delete is a special case of edit I guess.


I would write it for you but hey - the more the merrier!


Enjoy,

Les



> -----Original Message-----
> From: Mike Roberts [mailto:Mike.Roberts@digitalrum.com]
> Sent: 25 September 2001 18:39
> To: 'ant-user@jakarta.apache.org'
> Subject: p4delete?
> 
> 
> Hi,
> 
> I've started using the Perforce optional tasks and realised 
> there is neither
> p4add nor p4delete tasks in the current 1.4 distro.
> 
> A scan of ant-dev showed that p4add has now been added to the 
> latest 1.5
> build (which I've now grabbed - thanks Peter!), but there's no sign of
> p4delete. 
> 
> Before I go and learn how to write an Ant taskdef and do 
> p4delete myself,
> have I missed something?
> 
> Thanks,
> 
> Mike
> 
> ---
> Mike Roberts
> Developer
> DigitalRum
> mailto:mike.roberts@digitalrum.com
> Phone:+44 (0) 20 7691 5538
> 

Mime
View raw message