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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to