Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant files are not being copied over Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant files are not being copied over" Watch "Ant files are not being copied over" New topic
Author

Ant files are not being copied over

Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

I have this script, but the files are not being copied over, even though tasks show successfully

<target name="copy.CF.dev"
description="copy CF files to test-server"
depends="delete.CF.dev">
<copy todir="${deploy.coldfusion}">
<fileset dir="${project.home}" includes="*.cfm,*.cfc"/>
</copy>

</target>
<target name="delete.CF.dev" description="copy CF files to test-server">
<delete >
<fileset dir="${deploy.coldfusion}" includes="*.cfm,*.cfc" >

</fileset>

</delete>

</target>

ive debugged and still can't figure out whats the issue


Jesus lives
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8


are the *.cfm,*.cfc files located in ${project.home}, or in a subdir?

In case they are in subdirs, check how file inclusion/exclusion patterns look like for ant. You might want to concider "**/*.cfm, ...."


OCUP UML fundamental and ITIL foundation
youtube channel
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

${project.home} for sure

its weird the same type of script works fine in another project
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

opps, your right I was supposed to be using APP_ROOT
 
 
subject: Ant files are not being copied over
 
Similar Threads
ANT Complilation Issue
Building Seam projects in Eclipse
urjent help with ant dir structure
Copy a single file to directories
exception wile running build.xml