ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <>
Subject Re: copy task not copying
Date Thu, 18 Dec 2003 16:01:58 GMT
No, its in a target I know is executed because there are tasks prior to 
and after its location in that target, and they execute fine, so we know 
it doesn't have anything to do with the conditional behavior in the target.

Mark wrote:
> build_properties:
> Skipped because property 'name' not set.
> ...
> Is the <copy> statement inside a 
>   <target name="build_properties" if="name">
> ? Then that is only executed if the 'name' property is set.
> Jan
>>-----Original Message-----
>>From: Mark R. Diggory []
>>Sent: Thursday, December 18, 2003 5:18 AM
>>Subject: copy task not copying
>>I've been trying to determine why my build script that uses 
>>the <copy> 
>>task isn't copying and I'm very stumped. I've explored all 
>>the obvious 
>>(user permissions, parameters and locations of 
>>files/directories). I've 
>>increased verbosity in executing the script. Oddly there are not even 
>>any logging messages suggesting the copy task was even run.
>>Any help or information anyone could provide would be highly 
>>snip from build.xml
>><copy todir="${deploy.home}">
>>    <fileset dir="${src.home}">
>>       <exclude name="**/Custom/**"/>
>>       <exclude name="**/Statistics/**"/>
>>       <include name="**/Statistics/index.jsp"/>
>>       <exclude name="**/*.class"/>
>>    </fileset>
>><!--snip from verbose log-->
>>bash-2.05a# ant -v
>>Apache Ant version 1.5.4 compiled on August 13 2003
>>Buildfile: build.xml
>>Detected Java version: 1.3 in: 
>>Detected OS: Linux
>>parsing buildfile build.xml with URI = 
>>Project base dir set to: /home/mdiggory/VDC/src/UIS/VDC/WEB-INF
>>Build sequence for target `compile' is [init, backup-app, prepare, 
>>build_properties, build_support, compile]
>>Complete build sequence is [init, backup-app, prepare, 
>>build_support, compile, generate-ddi, compile-jsp, deploy, 
>>clean, rmlf]
>><!--snip from where the copy task should be generating logging-->
>>    [delete] Deleting 206 files from /usr/local/VDC/UIS/VDC
>>    [delete] Deleting 
>>    [delete] Deleting 
>><!-- copy task should at least log here! But nothing comes out.-->
>>Skipped because property 'name' not set.
>>Mark Diggory
>>Software Developer
>>Harvard MIT Data Center
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:

Mark Diggory
Software Developer
Harvard MIT Data Center

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message