You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/11/02 11:39:57 UTC

DO NOT REPLY [Bug 40869] New: - fileset doesn't find **/*.java~ files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40869>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40869

           Summary: fileset doesn't find **/*.java~ files
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: paaguti@hotmail.com


I can't get files ending with ~ in a fileset.

My build.cml contains the following target

<target name = "clean" description = "Clean EMACS backups">
 <tstamp/>
 <delete>
  <fileset dir="${sourcedir}"
           includes="**/*.java~"/>
 </delete>
</target>

I indeed have some files with match:
paag@paag:~/Personal/Devel/MiniEU$ ls -R
.:
bin  build.xml  class diagram.png  minieu.xmi  source

./bin:
euproj.jar

./source:
EUProject

./source/EUProject:
Deliverable.java   Flag.java~       Project.java~     WorkPackage.java~
Deliverable.java~  MileStone.java   Task.java
Dependency.java    MileStone.java~  Task.java~
Flag.java          Project.java     WorkPackage.java

And when I run ant -d clean: I get the following output
paag@paag:~/Personal/Devel/MiniEU$ ant -d clean
Apache Ant version 1.6.5 compiled on July 1 2006
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: /usr/lib/j2sdk1.5-sun/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.5 compiled on
July 1 2006
Setting ro project property: ant.file -> /home/paag/Personal/Devel/MiniEU/build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /home/paag/Personal/Devel/MiniEU/build.xml with URI =
file:///home/paag/Personal/Devel/MiniEU/build.xml
Setting ro project property: ant.project.name -> EU Project
Adding reference: EU Project
Setting ro project property: ant.file.EU Project ->
/home/paag/Personal/Devel/MiniEU/build.xml
Project base dir set to: /home/paag/Personal/Devel/MiniEU
 +Target:
 +Target: clean
 +Target: classes
 +Target: all
 +Target: realclean
 +Target: rebuild
Setting project property: sourcedir -> ./source
Setting project property: outputdir -> ./bin
Setting project property: classdir -> ./classes
Setting project property: jar -> euproj.jar
Setting project property: classpath ->
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `clean' is [clean]
Complete build sequence is [clean, realclean, classes, all, rebuild, ]

clean:
Setting project property: DSTAMP -> 20061102
Setting project property: TSTAMP -> 1137
Setting project property: TODAY -> November 2 2006
Could not load class (org.apache.tools.ant.taskdefs.optional.PropertyFile) for
type propertyfile
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMkdir)
for type ccmkdir
Could not load class
(org.apache.tools.ant.taskdefs.optional.dotnet.ImportTypelib) for type importtypelib
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN)
for type vsscheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen)
for type p4reopen
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for
type image
Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.CSharp) for
type csc
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for
type sshexec
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type
wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Label)
for type p4label
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Revert)
for type p4revert
Could not load class (org.apache.tools.ant.taskdefs.optional.ReplaceRegExp) for
type replaceregexp
Could not load class (org.apache.tools.ant.taskdefs.optional.javacc.JJTree) for
type jjtree
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask) for type
jarlib-display
Could not load class (org.apache.tools.ant.taskdefs.optional.jsp.JspC) for type jspc
Could not load class (org.apache.tools.ant.taskdefs.optional.Test) for type
testCould not load class
(org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY) for type vsshistory
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type
icontract
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet) for type
extensionSet
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Submit)
for type p4submit
Could not load class (org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin) for
type ccmcheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Change)
for type p4change
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Delete)
for type p4delete
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD) for
type vssadd
Could not load class
(org.apache.tools.ant.taskdefs.optional.perforce.P4Integrate) for type p4integrate
Could not load class (org.apache.tools.ant.taskdefs.optional.i18n.Translate) for
type translate
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCLock)
for type cclock
Could not load class (org.apache.tools.ant.taskdefs.optional.unix.Chown) for
type chown
Could not load class
(org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type vajload
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask) for type
jarlib-available
Could not load class (org.apache.tools.ant.taskdefs.optional.net.RExecTask) for
type rexec
Could not load class
(org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet) for type WsdlToDotnet
Could not load class (org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge)
for type jpcovmerge
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.EjbJar) for
type ejbjar
Could not load class
(org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList) for type stlist
Could not load class (org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy)
for type serverdeploy
Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.Ildasm) for
type ildasm
Could not load class
(org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin) for type cccheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCUnlock)
for type ccunlock
Could not load class (org.apache.tools.ant.taskdefs.optional.jsp.WLJspc) for
type wljspc
Could not load class (org.apache.tools.ant.taskdefs.optional.net.TelnetTask) for
type telnet
Could not load class (org.apache.tools.ant.taskdefs.optional.sos.SOSGet) for
type sosget
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Sync)
for type p4sync
Could not load class
(org.apache.tools.ant.taskdefs.optional.clearcase.CCMklabel) for type ccmklabel
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Edit)
for type p4edit
Could not load class (org.apache.tools.ant.taskdefs.optional.metamata.MAudit)
for type maudit
Could not load class (org.apache.tools.ant.taskdefs.optional.ANTLR) for type antlr
Could not load class (org.apache.tools.ant.taskdefs.optional.NetRexxC) for type
netrexxc
Could not load class (org.apache.tools.ant.taskdefs.optional.net.FTP) for type ftp
Could not load class (org.apache.tools.ant.taskdefs.optional.sitraka.CovReport)
for type jpcovreport
Could not load class (org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout)
for type ccmcheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.XMLValidateTask)
for type xmlvalidate
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Resolve)
for type p4resolve
Could not load class
(org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask) for type iplanet-ejbc
Could not load class
(org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault) for type
ccmcheckintask
Could not load class (org.apache.tools.ant.taskdefs.optional.Native2Ascii) for
type native2ascii
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCRmtype)
for type ccrmtype
Could not load class
(org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut) for type starteam
Could not load class (org.apache.tools.ant.types.optional.ScriptFilter) for type
scriptfilter
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT)
for type vsscheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.StyleBook) for type
stylebook
Could not load class (org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin) for
type soscheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.net.MimeMail) for
type mimemail
Could not load class
(org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel) for type stlabel
Could not load class (org.apache.tools.ant.taskdefs.optional.Cab) for type cab
Could not load class (org.apache.tools.ant.taskdefs.optional.splash.SplashTask)
for type splash
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMkbl)
for type ccmkbl
Could not load class
(org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout) for type cccheckout
Could not load class (org.apache.tools.ant.types.optional.depend.ClassfileSet)
for type classfileset
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Have)
for type p4have
Could not load class
(org.apache.tools.ant.taskdefs.optional.jdepend.JDependTask) for type jdepend
Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.JSharp) for
type jsharpc
Could not load class (org.apache.tools.ant.taskdefs.optional.unix.Symlink) for
type symlink
Could not load class (org.apache.tools.ant.taskdefs.optional.Script) for type script
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.LibFileSet) for type libfileset
Could not load class (org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask)
for type ccmcreatetask
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter) for type
extension
Could not load class (org.apache.tools.ant.taskdefs.optional.Rpm) for type rpm
Could not load class (org.apache.tools.ant.taskdefs.optional.metamata.MMetrics)
for type mmetrics
Could not load class (org.apache.tools.ant.taskdefs.optional.windows.Attrib) for
type attrib
Could not load class (org.apache.tools.ant.taskdefs.optional.EchoProperties) for
type echoproperties
Could not load class (org.apache.tools.ant.taskdefs.optional.junit.JUnitTask)
for type junit
Could not load class
(org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin) for type stcheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.unix.Chgrp) for
type chgrp
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJExport) for
type vajexport
Could not load class
(org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout) for type
stcheckout
Could not load class
(org.apache.tools.ant.taskdefs.optional.perforce.P4Labelsync) for type p4labelsync
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE)
for type vsscreate
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.Ejbc) for type ejbc
Could not load class
(org.apache.tools.ant.taskdefs.optional.dotnet.VisualBasicCompile) for type vbc
Could not load class
(org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet) for type wsdltodotnet
Could not load class
(org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator) for type
junitreport
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMkattr)
for type ccmkattr
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate)
for type ccupdate
Could not load class (org.apache.tools.ant.taskdefs.optional.RenameExtensions)
for type renameext
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL) for
type vsslabel
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP) for
type vsscp
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for
type vajimport
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Fstat)
for type p4fstat
Could not load class (org.apache.tools.ant.taskdefs.optional.net.SetProxy) for
type setproxy
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLStop) for
type wlstop
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Counter)
for type p4counter
Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm) for
type ilasm
Could not load class (org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout)
for type soscheckout
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask) for type
jarlib-resolve
Could not load class
(org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout) for type
ccuncheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask)
for type jlink
Could not load class (org.apache.tools.ant.taskdefs.optional.javacc.JavaCC) for
type javacc
Could not load class
(org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask) for type
jarlib-manifest
Could not load class (org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs) for type
pvcs
Could not load class
(org.apache.tools.ant.taskdefs.optional.clearcase.CCMklbtype) for type ccmklbtype
Could not load class (org.apache.tools.ant.taskdefs.optional.sound.SoundTask)
for type sound
Could not load class (org.apache.tools.ant.taskdefs.optional.script.ScriptDef)
for type scriptdef
Could not load class (org.apache.tools.ant.taskdefs.optional.metamata.MParse)
for type mparse
Could not load class
(org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient) for type
blgenclient
Could not load class (org.apache.tools.ant.taskdefs.optional.javacc.JJDoc) for
type jjdoc
Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMkelem)
for type ccmkelem
Could not load class (org.apache.tools.ant.taskdefs.optional.Javah) for type javah
Could not load class (org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure)
for type ccmreconfigure
Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Add) for
type p4add
Could not load class (org.apache.tools.ant.taskdefs.optional.sos.SOSLabel) for
type soslabel
Could not load class (org.apache.tools.ant.taskdefs.optional.sitraka.Coverage)
for type jpcoverage
Could not load class (org.apache.tools.ant.taskdefs.optional.depend.Depend) for
type depend
Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET) for
type vssget
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.DDCreator) for
type ddcreator
fileset: Setup scanner in dir /home/paag/Personal/Devel/MiniEU/source with
patternSet{ includes: [**/*.java~] excludes: [] }

BUILD SUCCESSFUL
Total time: 0 seconds
paag@paag:~/Personal/Devel/MiniEU$

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 40869] - fileset doesn't find **/*.java~ files

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40869>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40869


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From peterreilly@apache.org  2006-11-02 02:44 -------
You need to use
defaultexcludes="no"
  <fileset dir="${sourcedir}" defaultexcludes="no"
           includes="**/*.java~"/>

see:
http://ant.apache.org/manual/dirtasks.html#defaultexcludes

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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