(cc'ing dev@ant.apache.org)

On 16.09.2005 21:23:39 Stefan Bodewig wrote:
> On Fri, 16 Sep 2005, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
> 
> > No idea what this is suddenly about. Looks like a permission
> > problem?
> 
> No, the file simply doesn't exist.  The properties directory is empty,
> at least after the build has finished.
> 
> Stefan


For the Ant people, links to related info:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200509.mbox/[EMAIL 
PROTECTED]

The build.xml in question:
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/branches/fop-0_20_2-maintain/build.xml?view=markup
(the problem happens in the codegen target. Note: Constants.java is
supposed to be generated by the style task, it can't be there to be
deleted.)

Thanks for your reply, Stefan. I think this is due to a change in Ant.
I've downloaded SVN Trunk and used that and it reproduces the problem.
Here's the "-d" output:

[dependset] 2 nonexistent targets
[dependset] Deleting all target files.
[dependset] Deleting 
C:\Dev\FOP\branch\svn\build\src\org\apache\fop\fo\properties\Constants.java

BUILD FAILED
C:\Dev\FOP\branch\svn\build.xml:412: Unable to delete file 
C:\Dev\FOP\branch\svn\build\src\org\apache\fop\fo\properties\Constants.java
        at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:541)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
        at org.apache.tools.ant.Task.perform(Task.java:365)
        at org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.java:185)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
        at org.apache.tools.ant.Task.perform(Task.java:365)
        at org.apache.tools.ant.Target.execute(Target.java:356)
        at org.apache.tools.ant.Target.performTasks(Target.java:384)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1236)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1205)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1088)
        at org.apache.tools.ant.Main.runBuild(Main.java:676)
        at org.apache.tools.ant.Main.startAnt(Main.java:195)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:276)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:96)

Looks like the dependset has a problem due to a change in Delete:
http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java?rev=280944&r1=278200&r2=280944&diff_format=h

This change happened 4 days ago which seems to fit with the first
occurence of the problem.



Jeremias Maerki

Reply via email to