Looks like your generated file URL has been somehow escaped incorrectly, not 
sure that would work....

"file:\C:\fop_trunk\trunk\build\gensrc\org\apache\fop\events\event-model.xml"

Which version of Java are you using and on which Windows platform?

Adrian.

bonekrusher wrote:
I downloaded the latest Trunk this morning, which should be the latest.
Correct?


Peter B. West wrote:
bonekrusher wrote:
Hi,

I am trying to build the FOP trunk (checked out with svn) with Ant and
get
the following error:

va:231: warning: [deprecation] toURL() in java.io.File has been
deprecated
    [javac]                 urls.add(libFiles[i].toURL());
    [javac]                                     ^
    [javac] 26 warnings
    [mkdir] Created dir: C:\fop_trunk\trunk\build\sandbox-classes
    [javac] Compiling 11 source files to
C:\fop_trunk\trunk\build\sandbox-classe
s

resourcegen:
    [mkdir] Created dir: C:\fop_trunk\trunk\build\codegen-classes
    [javac] Compiling 3 source files to
C:\fop_trunk\trunk\build\codegen-classes

     [copy] Copying 2 files to C:\fop_trunk\trunk\build\codegen-classes

BUILD FAILED
C:\fop_trunk\trunk\build.xml:353: java.io.IOException:
java.io.FileNotFoundExcep
tion:
file:\C:\fop_trunk\trunk\build\gensrc\org\apache\fop\events\event-model.xm
l (The filename, directory name, or volume label syntax is incorrect)

Total time: 33 seconds

***************************

The C:\fop_trunk\trunk\build\gensrc\org\apache\fop\events folder is
empty.

Any thoughts:?
What have you got in lib/build? Have you done an update recently? Fop's build environment - which has always been challenging - just gets weirder and weirder.


--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>




Reply via email to