ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Ant fileset from list of checked out files (cleartool lsco)
Date Fri, 17 Dec 2004 22:27:29 GMT
My comments below...

> Rob,
> 
> Thanks - i saved the jar to [~]/.ant/lib and tried your 
> script and it worked right off the bat:
> 

Great!!

> Y:\srcSDC\formZ>cleartool lsco -short -me -r
> .\src\gui\fusebox\include\udf_basicvalidation.cfm
> .\src\gui\fusebox\main\controller\3_validation\validationfiles
> \validation_basic.cfm
> 
> Y:\srcSDC\formZ>ant
> Buildfile: build.xml
> 
> setupfileset:
> 
> build:
> 
> processeach:
>      [echo] 
> Y:\srcSDC\formZ\src\gui\fusebox\include\udf_basicvalidation.cfm
> 
> processeach:
>      [echo] 
> Y:\srcSDC\formZ\src\gui\fusebox\main\controller\3_validation\v
> alidationfiles\validation_basic.cfm
> 
> BUILD SUCCESSFUL
> Total time: 14 seconds
> Y:\srcSDC\formZ>
> 
> 
> I notice that you only find "my" checkouts - in the case 
> above there is a file checked out by another user which i can see by
> calling lsco w/out the "-me" switch. Any plans to implement 
> the "-user" switch or to mimic the "find all users by default"
> behaviour?

Yes. It should be really easy to add these features and I plan to do it very soon.

> Did you write this to help you discard unmodified 
> checkouts (since you can't uncheckout someone else's checkouts unless
> you have admin privs)?

I wrote this for the purpose of creating a fileset of checkout files to deploy to a development
environment for testing. Probably tar or zip the fileset, then copy to remote server and untar
or unzip.

> 
> Regs,
> /t
> 
> >-----Original Message-----
> >From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
> >Sent: Friday, December 17, 2004 6:56 PM
> >To: Ant Users List
> >Subject: RE: Ant fileset from list of checked out files 
> >(cleartool lsco)
> >
> >I have mailed the jar and a sample build.xml file to you 
> >directly. The list will not accept attachements. I need to add 
> >some essential enhancements and probably refactor this thing 
> >before trying to get it committed. I based the output handling 
> >part of this on the perforce tasks output handling. Now that I 
> >have gone through the exercise of creating the output handler, 
> >I see why they did what they did with the perforce tasks. So I 
> >really need to abstract some of the output stream handler 
> >classes that made for this so that other tasks can be easily 
> >implemented to do other clearcase stuff.
> >
> >-Rob Anderson
> >
> >> -----Original Message-----
> >> From: RADEMAKERS Tanguy [mailto:Tanguy.RADEMAKERS@swift.com]
> >> Sent: Friday, December 17, 2004 1:21 AM
> >> To: Ant Users List
> >> Subject: RE: Ant fileset from list of checked out files 
> >> (cleartool lsco)
> >> 
> >> 
> >> Hello Rob,
> >> 
> >> We use clearcase here. I'd love to give it a spin if you'd 
> send it to
> >> me.
> >> 
> >> Regs,
> >> /t 
> >> 
> >> >-----Original Message-----
> >> >From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
> >> >Sent: Friday, December 17, 2004 1:13 AM
> >> >To: dev@ant.apache.org
> >> >Cc: Ant Users List; cciug@lists.us.ibm.com
> >> >Subject: RE: Ant fileset from list of checked out files 
> >> >(cleartool lsco)
> >> >
> >> >I have implemented this fileset selector. It seems to work. 
> >> >Can we add this to Ant? Before I open an enhancement request, 
> >> >I'd like to get some feedback.
> >> >
> >> >Thanks,
> >> >
> >> >-Rob Anderson
> >> >
> >> >> -----Original Message-----
> >> >> From: Anderson, Rob (Global Trade) 
> [mailto:Rob.Anderson@nike.com]
> >> >> Sent: Monday, December 13, 2004 4:34 PM
> >> >> To: user@ant.apache.org; cciug@lists.us.ibm.com
> >> >> Subject: Ant fileset from list of checked out files 
> >> (cleartool lsco)
> >> >> 
> >> >> 
> >> >> Ant and ClearCase users, I have a need to create a fileset in 
> >> >> Ant from the output of cleartool lsco. Does anyone have a 
> >> >> custom selector that would create such a fileset in Ant, that 
> >> >> you would be willing to share? I am willing to write one to 
> >> >> fill my need, but I thought it might be worth asking about 
> >> >> first, to avoid reinventing something that has already been 
> >> >> done. Also, is there any interest in a selector that would 
> >> >> facilitate creating a fileset in Ant from cleartool lsco 
> >> >> output? Let me know if you could use this?
> >> >> 
> >> >> 
> _________________________________________________________________
> >> >> Robert Anderson  Sr. System Engineer  Nike - Global Trade IT  
> >> >> (503) 532-6803  d
> >> >> 
> >> >> 
> >> >> 
> >> 
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> >> For additional commands, e-mail: user-help@ant.apache.org
> >> >> 
> >> >> 
> >> >> 
> >> >
> >> >
> >> 
> >>------------------------------------------------------------
> ---------
> >> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> >For additional commands, e-mail: user-help@ant.apache.org
> >> >
> >> >
> >> 
> >> 
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >> 
> >> 
> >> 
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> 


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


Mime
View raw message