ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject [FWD] Re: [GUMP@vmgump]: Project xml-fop-maintenance (in module xml-fop-maintenance) failed
Date Mon, 26 Sep 2005 04:25:35 GMT
Date: Mon, 19 Sep 2005 09:46:52 +0200
From: Jeremias Maerki <dev@jeremias-maerki.ch>
To: fop-dev@xmlgraphics.apache.org, general@gump.apache.org
Subject: Re: [GUMP@vmgump]: Project xml-fop-maintenance (in module xml-fop-maintenance) failed
Cc: dev@ant.apache.org
In-Reply-To: <873bo495qc.fsf@www.samaflost.de>
References: <20050916134331.150D.DEV@jeremias-maerki.ch> <873bo495qc.fsf@www.samaflost.de>
Message-Id: <20050919091413.2797.DEV@jeremias-maerki.ch>

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

On 16.09.2005 21:23:39 Stefan Bodewig wrote:
> On Fri, 16 Sep 2005, Jeremias Maerki <dev@jeremias-maerki.ch> 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/%3c20050916134331.150D.DEV@jeremias-maerki.ch%3e

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

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


Mime
View raw message