I will test this out later today on my home PC. I get a different set of
errors on different machines.

In the mean time I ran a new svn check out (as you suggested) on my work PC
and got the same original error message e.g.

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

So its seems I have two different problems. I thought I might be doing
something fundamentally wrong, but I was able to build FOP 0.94. 

As Jeremias suggested, I will try to download the trunk again from my home
PC. I don't want to confuse the  error reports from one machine to another
as they appear to be different.

Regards,

Phil


Jeremias Maerki-2 wrote:
> 
> That's the exception I worked around in
> http://svn.apache.org/viewvc?rev=676307&view=rev
> It shouldn't occur anymore in the latest FOP Trunk when Saxon is active.
> 
> Did you only update EventProducerCollectorTask.java? Please update all
> of your working copy and please make sure it's a proper SVN checkout
> like I mentioned in one of my latest off-list mails.
> 
> What happens if you do a new checkout and run that (starting from a
> green field)?
> - svn co https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/
> - ant
> 
> (Just for everyone's information: Phil sent me some log files and in one
> there was XHTML code in a Java file that contained the string "viewvc"
> so I told him I suspect that he's not working off a proper SVN working
> copy.)
> 
> On 14.07.2008 00:59:05 bonekrusher wrote:
>> 
>> Sure call me Phil :)
>> 
>> I ran the svn update on the EventProducerCollectorTask.java file.
>> 
>> Here is the stack after running ant:
>> 
>> BUILD FAILED
>> java.lang.NullPointerException
>>         at
>> net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingConte
>> ntHandler.java:404)
>>         at
>> net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingCont
>> entHandler.java:277)
>>         at
>> org.apache.fop.events.model.EventModel.toSAX(EventModel.java:96)
>>         at
>> org.apache.fop.events.model.EventModel.writeXMLizable(EventModel.java
>> :116)
>>         at
>> org.apache.fop.events.model.EventModel.saveToXML(EventModel.java:133)
>> 
>>         at
>> org.apache.fop.tools.EventProducerCollector.saveModelToXML(EventProdu
>> cerCollector.java:202)
>>         at
>> org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducer
>> CollectorTask.java:70)
>>         at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
>> a:106)
>>         at org.apache.tools.ant.Task.perform(Task.java:348)
>>         at org.apache.tools.ant.Target.execute(Target.java:357)
>>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>         at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>         at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
>> cutor.java:41)
>>         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>>         at org.apache.tools.ant.Main.runBuild(Main.java:758)
>>         at org.apache.tools.ant.Main.startAnt(Main.java:217)
>>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> 
>> Andreas Delmelle-2 wrote:
>> > 
>> > On Jul 13, 2008, at 19:34, bonekrusher wrote:
>> > 
>> > Hi Bones (or can we just call you Phil ;-))
>> > 
>> >> No spaces.  Both trunk and Ant are as follows:
>> >>
>> >> c:\ant
>> >> c:\fop_trunk
>> > 
>> > I've just committed a small change to EventProducerCollectorTask.java  
>> > that /might/ help... (?)
>> > 
>> > Can you try to update your sandbox, run a clean build and report back  
>> > on whether that changed anything?
>> > 
>> > 
>> > Thanks
>> > 
>> > Andreas
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18434967.html
>> Sent from the FOP - Dev mailing list archive at Nabble.com.
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18442235.html
Sent from the FOP - Dev mailing list archive at Nabble.com.

Reply via email to