ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jane.S...@nokia.com>
Subject RE: Help on outputproperty
Date Fri, 17 May 2002 17:54:55 GMT
Hi, 
Thank you for reply.
After I run clearcase tool :
	cleartool lsprivate -other -invob /frem_docs
	I should get two lines output
	 \frem_docs\Documents\x
	 \frem_docs\Documents\y
I'll want to exclude those two files in "copy" task.

Thank you again.
Jane

>  -----Original Message-----
> From: 	Shen Jane (NET/MtView)  
> Sent:	Tuesday, May 14, 2002 2:42 PM
> To:	'holtdl@yahoo.com'; 'ant-user@jakarta.apache.org'
> Subject:	Help on outputproperty
> 
> Hi all, 
> 
> I am using ant.
> I tried to use outputproperty as exclude name when I do copy, but the outputproperty
always empty.
> I don't know why?
> 
> 
> Y:\frem_base>ct lsprivate -other -invob /frem_docs
> \frem_docs\Documents\x
> \frem_docs\Documents\y
> 
> I want to exclude those two files when I do the copy, because outputproperty is empty,
> so I copy those two files. 
> 
> build.xml
>     <exec  executable="cleartool" outputproperty="${private.file}"  >
>         <arg line="lsprivate -other -invob /frem_docs" />
>     </exec>
>     <echo> outputproperty = ${private.file} </echo>
>     <mkdir dir="${{project.docs}"/>
>     <copy todir="${project.docs}" preservelastmodified="yes" >
>       <fileset dir="/frem_docs/documents" >
>         <exclude name="${private.file}" />
>       </fileset>
>     </copy>
> 
> 
> Y:\frem_base>ant copydocs
> Buildfile: build.xml
> 
> copydocs:
>      [echo] This target is supported on NT/Win2K only
>      [move] Moved 1 empty directories to C:\project\Documents_previous
>      [echo]  outputproperty =  
>      [copy] Copying 63 files to C:\project\Documents
>      [copy] Copied 2 empty directories to C:\project\Documents
> 
> BUILD SUCCESSFUL
> 
> Thank you in advance.
> 
> Jane

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


Mime
View raw message