java.nio.CharBuffer

2008-07-13 Thread Jeremias Maerki
I noticed that Andreas used CharBuffer in his initial patch for #45390. I was curious about the performance implications, so I wrote a little micro-benchmark. The results: Sun Java 1.4.2_16: StringBuffer def: 6594 ms StringBuffer 1024: 6609 ms CharBuffer: 5250 ms Sun Java 1.5.0_14: StringBuffer d

Bug report for Fop [2008/07/13]

2008-07-13 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Jeremias Maerki
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 check

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
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.ev

DO NOT REPLY [Bug 45390] New: PDF Extensions - Prototype

2008-07-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390 Summary: PDF Extensions - Prototype Product: Fop Version: 1.0dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: g

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Andreas Delmelle
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,

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Andreas Delmelle
On Jul 13, 2008, at 14:44, bonekrusher wrote: Ok, when I added JAVACMD environment variable, I can not use ant. I set the variable to: C:\Program Files\Java\jdk1.6.0_04\bin If any exists, the variable should contain the /full/ path to the java executable, so: C:\Program Files\Java\jdk

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
No spaces. Both trunk and Ant are as follows: c:\ant c:\fop_trunk Max Berger wrote: > > Bones, > > just a quick check: Is there a space in the path to your checkout > (e.g. C:\Documents and Settings) If so, please try moving the checkout > to a dir without spaces. (e.g. C:\temp) and see

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Max Berger
Bones, just a quick check: Is there a space in the path to your checkout (e.g. C:\Documents and Settings) If so, please try moving the checkout to a dir without spaces. (e.g. C:\temp) and see if that helps. Max Am 13.07.2008 um 18:24 schrieb Peter B. West: bonekrusher wrote: Ok I ran t

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Peter B. West
bonekrusher wrote: Ok I ran the build under three versions of ant: Apache Ant version 1.6.5 compiled on June 2 2005 Apache Ant version 1.7.0 compiled on December 13 2006 Apache Ant version 1.7.1 compiled on June 27 2008 All failed. To rule out ant, I downloaded FOP 0.94 src and ran a success

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
Ok I ran the build under three versions of ant: Apache Ant version 1.6.5 compiled on June 2 2005 Apache Ant version 1.7.0 compiled on December 13 2006 Apache Ant version 1.7.1 compiled on June 27 2008 All failed. To rule out ant, I downloaded FOP 0.94 src and ran a successfully build. This wou

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Peter B. West
NetBeans includes an ant distro. The script should sort itself out. Just try \java2\ant\bin\ant.bat -version Mine reports > $NB_HOME/java2/ant/bin/ant -version Apache Ant version 1.7.0 compiled on December 13 2006 If you get a 1.7.0, try running the build. bonekrusher wrote: Ok, when I added

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
Ok, when I added JAVACMD environment variable, I can not use ant. I set the variable to: C:\Program Files\Java\jdk1.6.0_04\bin bonekrusher wrote: > > Ok, > > My java home is: C:\Program Files\Java\jdk1.6.0_04 > > I copied the jar files to: C:\Program Files\Java\jdk1.6.0_04\lib\endorsed > [s

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
Ok, My java home is: C:\Program Files\Java\jdk1.6.0_04 I copied the jar files to: C:\Program Files\Java\jdk1.6.0_04\lib\endorsed [still didnt work] Ant Version: Apache Ant version 1.7.1 compiled on June 27 2008 I did not have a JAVACMD environment variable - I added it and will reboot. Check

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Andreas Delmelle
On Jul 13, 2008, at 14:04, Peter B. West wrote: bonekrusher wrote: Ok, I wanted to test this at home to see if this was a machine issue. Tested on: Windows XP sp2 Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b12) Java HotSpot(TM) Client VM (build 11.0-b11, mixed mode, sharing) I am still

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Peter B. West
bonekrusher wrote: Ok, I wanted to test this at home to see if this was a machine issue. Tested on: Windows XP sp2 Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b12) Java HotSpot(TM) Client VM (build 11.0-b11, mixed mode, sharing) I am still unable to build with ant. I get another set of

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread Andreas Delmelle
On Jul 13, 2008, at 13:23, bonekrusher wrote: Ok, I wanted to test this at home to see if this was a machine issue. Just out of curiosity, can you try to copy the following files under % FOP%/lib : serializer-2.7.0.jar xalan-2.7.0.jar xercesImpl-2.7.1.jar xml-apis-1.3.04.jar to the lib/en

Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-13 Thread bonekrusher
Ok, I wanted to test this at home to see if this was a machine issue. Tested on: Windows XP sp2 Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b12) Java HotSpot(TM) Client VM (build 11.0-b11, mixed mode, sharing) I am still unable to build with ant. I get another set of errors. I will emai

Re: svn commit: r676161 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/events/model/EventModel.java

2008-07-13 Thread Andreas Delmelle
On Jul 13, 2008, at 04:07, Peter B. West wrote: Andreas Delmelle wrote: URL and URI are both used here. But I think "URL" is the mandatory term here. The other thing is "URI Syntax" which does not refer to "URI" itself. Since a URL is a URI, but not all URIs are URLs, I believe your exam