FOP Trunk

2010-05-27 Thread Eric Douglas
Hi,
I downloaded the FOP Trunk using the svn checkout, then tried to create
a project and import it into Eclipse and compile it, and got all sorts
of errors.  Am I missing something?
First it said it was missing classes.  I selected edit build path and
added external jars ant.jar and junit-4.8.2.jar I found and downloaded
seperately.  That fixed a lot of the errors.  It's still saying it can't
find classes from javax.media.jai.*, org.apache.fop.fonts.base14.*, and
org.apache.fop.fonts.CodePointMapping, and it lists errors in XML files
and the properties.dtd file (which starts a 

Re: FOP Trunk

2010-05-27 Thread Venkat Reddy

Hi, Are you in Windows environment?

Eric Douglas wrote:


Hi,
I downloaded the FOP Trunk using the svn checkout, then tried to 
create a project and import it into Eclipse and compile it, and got 
all sorts of errors.  Am I missing something?


First it said it was missing classes.  I selected edit build path and 
added external jars ant.jar and junit-4.8.2.jar I found and downloaded 
seperately.  That fixed a lot of the errors.  It's still saying it 
can't find classes from javax.media.jai.*, 
org.apache.fop.fonts.base14.*, and 
org.apache.fop.fonts.CodePointMapping, and it lists errors in XML 
files and the properties.dtd file (which starts a never closes it).






RE: FOP Trunk

2010-05-27 Thread Eric Douglas
yes 

-Original Message-
From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com] 
Sent: Thursday, May 27, 2010 9:28 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: FOP Trunk

Hi, Are you in Windows environment?

Eric Douglas wrote:
>
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to 
> create a project and import it into Eclipse and compile it, and got 
> all sorts of errors.  Am I missing something?
>
> First it said it was missing classes.  I selected edit build path and 
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded

> seperately.  That fixed a lot of the errors.  It's still saying it 
> can't find classes from javax.media.jai.*, 
> org.apache.fop.fonts.base14.*, and 
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML 
> files and the properties.dtd file (which starts a  never closes it).
>



Re: FOP Trunk

2010-05-27 Thread Venkat Reddy

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am 
able to run compile ant target successfully, and the classes were 
generated in build folder.
I am in windows environment, don't have an idea why you were unable to 
compile the project?


Venkat.

Eric Douglas wrote:


Hi,
I downloaded the FOP Trunk using the svn checkout, then tried to 
create a project and import it into Eclipse and compile it, and got 
all sorts of errors.  Am I missing something?


First it said it was missing classes.  I selected edit build path and 
added external jars ant.jar and junit-4.8.2.jar I found and downloaded 
seperately.  That fixed a lot of the errors.  It's still saying it 
can't find classes from javax.media.jai.*, 
org.apache.fop.fonts.base14.*, and 
org.apache.fop.fonts.CodePointMapping, and it lists errors in XML 
files and the properties.dtd file (which starts a never closes it).






AW: FOP Trunk

2010-05-27 Thread Georg Datterl
Hi Eric,

Some classes are built on the fly during the ant build process. A simple 
compile of the existing classes in Eclipse can't find them. Some external jars 
are missing because of licensing constraints, AFAIK.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com]
Gesendet: Donnerstag, 27. Mai 2010 15:40
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: FOP Trunk

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am
able to run compile ant target successfully, and the classes were
generated in build folder.
I am in windows environment, don't have an idea why you were unable to
compile the project?

Venkat.

Eric Douglas wrote:
>
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to
> create a project and import it into Eclipse and compile it, and got
> all sorts of errors.  Am I missing something?
>
> First it said it was missing classes.  I selected edit build path and
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded
> seperately.  That fixed a lot of the errors.  It's still saying it
> can't find classes from javax.media.jai.*,
> org.apache.fop.fonts.base14.*, and
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML
> files and the properties.dtd file (which starts a  never closes it).
>



Re: FOP Trunk

2010-05-27 Thread Yannick Majoros

Le 5/27/2010 3:39 PM, Venkat Reddy a écrit :

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am 
able to run compile ant target successfully, and the classes were 
generated in build folder.
I am in windows environment, don't have an idea why you were unable to 
compile the project?



Hi,

Same problem for me: downloaded fop sources (not from svn), had to 
decompile bits (fonts) to get it working. It's strange to have to 
decompile an open source project to get it to work ;-)


 Yannick
<>

RE: FOP Trunk

2010-05-27 Thread Eric Douglas
I can understand about not being able to compile due to missing jars from other 
sources if their license says they can't be included in this download.  That's 
not a problem as long as I can find them.  Though I still can't find a jar to 
fix the javax.media.jai references, I'm more concerned with the missing 
org.apache.fop.fonts classes.  Please tell me more about this "built on the 
fly".  After getting all the files into a folder using the svn checkout 
command, I went into Eclipse and selected File > New > Java Project, then 
"Create project from existing source" and just selected that folder.  Selecting 
Next and Finish, leaving any options as default, I then tried the Build 
Project.  How would I set up the special build requirements to make the "on the 
fly" classes?


-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de] 
Sent: Thursday, May 27, 2010 9:44 AM
To: fop-dev@xmlgraphics.apache.org
Subject: AW: FOP Trunk

Hi Eric,

Some classes are built on the fly during the ant build process. A simple 
compile of the existing classes in Eclipse can't find them. Some external jars 
are missing because of licensing constraints, AFAIK.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com]
Gesendet: Donnerstag, 27. Mai 2010 15:40
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: FOP Trunk

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am able to 
run compile ant target successfully, and the classes were generated in build 
folder.
I am in windows environment, don't have an idea why you were unable to compile 
the project....?

Venkat.

Eric Douglas wrote:
>
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to 
> create a project and import it into Eclipse and compile it, and got 
> all sorts of errors.  Am I missing something?
>
> First it said it was missing classes.  I selected edit build path and 
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded 
> seperately.  That fixed a lot of the errors.  It's still saying it 
> can't find classes from javax.media.jai.*, 
> org.apache.fop.fonts.base14.*, and 
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML 
> files and the properties.dtd file (which starts a  never closes it).
>



AW: FOP Trunk

2010-05-27 Thread Georg Datterl
Hi Eric,

There's a build.xml that came with your sources. I ran that through ant and the 
necessary classes were generated. The reason behind that I don't know.

javax.media.jai is Java Advanced Imaging. Look for jai_core.jar and 
jai_codec.jar from Sun (now Oracle).

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Eric Douglas [mailto:edoug...@blockhouse.com]
Gesendet: Donnerstag, 27. Mai 2010 15:55
An: fop-dev@xmlgraphics.apache.org
Betreff: RE: FOP Trunk

I can understand about not being able to compile due to missing jars from other 
sources if their license says they can't be included in this download.  That's 
not a problem as long as I can find them.  Though I still can't find a jar to 
fix the javax.media.jai references, I'm more concerned with the missing 
org.apache.fop.fonts classes.  Please tell me more about this "built on the 
fly".  After getting all the files into a folder using the svn checkout 
command, I went into Eclipse and selected File > New > Java Project, then 
"Create project from existing source" and just selected that folder.  Selecting 
Next and Finish, leaving any options as default, I then tried the Build 
Project.  How would I set up the special build requirements to make the "on the 
fly" classes?


-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de]
Sent: Thursday, May 27, 2010 9:44 AM
To: fop-dev@xmlgraphics.apache.org
Subject: AW: FOP Trunk

Hi Eric,

Some classes are built on the fly during the ant build process. A simple 
compile of the existing classes in Eclipse can't find them. Some external jars 
are missing because of licensing constraints, AFAIK.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com]
Gesendet: Donnerstag, 27. Mai 2010 15:40
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: FOP Trunk

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am able to 
run compile ant target successfully, and the classes were generated in build 
folder.
I am in windows environment, don't have an idea why you were unable to compile 
the project?

Venkat.

Eric Douglas wrote:
>
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to
> create a project and import it into Eclipse and compile it, and got
> all sorts of errors.  Am I missing something?
>
> First it said it was missing classes.  I selected edit build path and
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded
> seperately.  That fixed a lot of the errors.  It's still saying it
> can't find classes from javax.media.jai.*,
> org.apache.fop.fonts.base14.*, and
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML
> files and the properties.dtd file (which starts a  never closes it).
>



Re: FOP Trunk

2010-05-27 Thread Jeremias Maerki
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help here.

On 27.05.2010 15:03:32 Eric Douglas wrote:
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to create
> a project and import it into Eclipse and compile it, and got all sorts
> of errors.  Am I missing something?
> First it said it was missing classes.  I selected edit build path and
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded
> seperately.  That fixed a lot of the errors.  It's still saying it can't
> find classes from javax.media.jai.*, org.apache.fop.fonts.base14.*, and
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML files
> and the properties.dtd file (which starts a  closes it).




Jeremias Maerki



RE: FOP Trunk

2010-05-27 Thread Eric Douglas
I'm not sure what "ran that through ant" means.  That is likely the problem.
I'll try the Eclipse setup.  Thanks Jeremias for this:
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help here.

I tried that link and it says I need Subclipse.  I try the link to download on 
this site:
http://subclipse.tigris.org/subclipse/changes.html
It says I need a username and password to login to their server. 

I did identify the jai jars I need.  I just don't know where to find them.  I 
tried downloading them from here:
https://jai-imageio.dev.java.net/binary-builds.html#Stable_builds
Using the link to the file jai_imageio-1_1-lib-windows-i586-jar.zip I just get 
a zip file containing one jar which contains an exe which wants to install 
tools.  Is there a place to download those 2 jars or do I find them from that 
install?


-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de] 
Sent: Thursday, May 27, 2010 10:02 AM
To: fop-dev@xmlgraphics.apache.org
Subject: AW: FOP Trunk

Hi Eric,

There's a build.xml that came with your sources. I ran that through ant and the 
necessary classes were generated. The reason behind that I don't know.

javax.media.jai is Java Advanced Imaging. Look for jai_core.jar and 
jai_codec.jar from Sun (now Oracle).

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Eric Douglas [mailto:edoug...@blockhouse.com]
Gesendet: Donnerstag, 27. Mai 2010 15:55
An: fop-dev@xmlgraphics.apache.org
Betreff: RE: FOP Trunk

I can understand about not being able to compile due to missing jars from other 
sources if their license says they can't be included in this download.  That's 
not a problem as long as I can find them.  Though I still can't find a jar to 
fix the javax.media.jai references, I'm more concerned with the missing 
org.apache.fop.fonts classes.  Please tell me more about this "built on the 
fly".  After getting all the files into a folder using the svn checkout 
command, I went into Eclipse and selected File > New > Java Project, then 
"Create project from existing source" and just selected that folder.  Selecting 
Next and Finish, leaving any options as default, I then tried the Build 
Project.  How would I set up the special build requirements to make the "on the 
fly" classes?


-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de]
Sent: Thursday, May 27, 2010 9:44 AM
To: fop-dev@xmlgraphics.apache.org
Subject: AW: FOP Trunk

Hi Eric,

Some classes are built on the fly during the ant build process. A simple 
compile of the existing classes in Eclipse can't find them. Some external jars 
are missing because of licensing constraints, AFAIK.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:www.irs-nbg.de
Willmy PrintMedia GmbH:www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de


-Ursprüngliche Nachricht-
Von: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com]
Gesendet: Donnerstag, 27. Mai 2010 15:40
An: fop-dev@xmlgraphics.apache.org
Betreff: Re: FOP Trunk

Hi Eric,

It is working for me, just downloaded the FOPTrunk source code. I am able to 
run compile ant target successfully, and the classes were generated in build 
folder.
I am in windows environment, don't have an idea why you were unable to compile 
the project?

Venkat.

Eric Douglas wrote:
>
> Hi,
> I downloaded the FOP Trunk using the svn checkout, then tried to 
> create a project and import it into Eclipse and compile it, and got 
> all sorts of errors.  Am I missing something?
>
> First it said it was missing classes.  I selected edit build path and 
> added external jars ant.jar and junit-4.8.2.jar I found and downloaded 
> seperately.  That fixed a lot of the errors.  It's still saying it 
> can't find classes from javax.media.jai.*, 
> org.apache.fop.fonts.base14.*, and 
> org.apache.fop.fonts.CodePointMapping, and it lists errors in XML 
> files and the properties.dtd file (which starts a  never closes it).
>



Re: FOP Trunk

2010-05-27 Thread Jeremias Maerki
On 27.05.2010 16:36:53 Eric Douglas wrote:
> I'm not sure what "ran that through ant" means.  That is likely the problem.

Apache Ant is our build tool used to compile FOP. http://ant.apache.org
See also: http://xmlgraphics.apache.org/fop/trunk/compiling.html

> I'll try the Eclipse setup.  Thanks Jeremias for this:
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help here.
> 
> I tried that link and it says I need Subclipse.  I try the link to download 
> on this site:
> http://subclipse.tigris.org/subclipse/changes.html
> It says I need a username and password to login to their server. 

Just use http://subclipse.tigris.org/update_1.6.x as Eclipse Update Site
to install the Subclipse plug-in. No login required.

But you can also skip Subclipse and set up your Eclipse project from
another FOP working copy made with some other SVN client. Using
Subclipse is just one way to do it.

> I did identify the jai jars I need.  I just don't know where to find them.  I 
> tried downloading them from here:
> https://jai-imageio.dev.java.net/binary-builds.html#Stable_builds
> Using the link to the file jai_imageio-1_1-lib-windows-i586-jar.zip I
> just get a zip file containing one jar which contains an exe which
> wants to install tools.  Is there a place to download those 2 jars or do I
> find them from that install?

I don't think so. The installation executable is there because they
install a native DLL alongside the JARs. You could install it, copy away
the two JARs and then uninstall it again. The native part is not
strictly required.

Feel free to improve the Wiki page as you see fit.

> -Original Message-
> From: Georg Datterl [mailto:georg.datt...@geneon.de] 
> Sent: Thursday, May 27, 2010 10:02 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: AW: FOP Trunk
> 
> Hi Eric,
> 
> There's a build.xml that came with your sources. I ran that through ant and 
> the necessary classes were generated. The reason behind that I don't know.
> 
> javax.media.jai is Java Advanced Imaging. Look for jai_core.jar and 
> jai_codec.jar from Sun (now Oracle).
> 
> Regards,
> 
> Georg Datterl
> 
> -- Kontakt --
> 
> Georg Datterl
> 
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
> 
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert
> 
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
> 
> www.geneon.de
> 
> Weitere Mitglieder der Willmy MediaGroup:
> 
> IRS Integrated Realization Services GmbH:www.irs-nbg.de
> Willmy PrintMedia GmbH:www.willmy.de
> Willmy Consult & Content GmbH: www.willmycc.de
> 
> 
> -Ursprüngliche Nachricht-
> Von: Eric Douglas [mailto:edoug...@blockhouse.com]
> Gesendet: Donnerstag, 27. Mai 2010 15:55
> An: fop-dev@xmlgraphics.apache.org
> Betreff: RE: FOP Trunk
> 
> I can understand about not being able to compile due to missing jars from 
> other sources if their license says they can't be included in this download.  
> That's not a problem as long as I can find them.  Though I still can't find a 
> jar to fix the javax.media.jai references, I'm more concerned with the 
> missing org.apache.fop.fonts classes.  Please tell me more about this "built 
> on the fly".  After getting all the files into a folder using the svn 
> checkout command, I went into Eclipse and selected File > New > Java Project, 
> then "Create project from existing source" and just selected that folder.  
> Selecting Next and Finish, leaving any options as default, I then tried the 
> Build Project.  How would I set up the special build requirements to make the 
> "on the fly" classes?
> 
> 
> -Original Message-
> From: Georg Datterl [mailto:georg.datt...@geneon.de]
> Sent: Thursday, May 27, 2010 9:44 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: AW: FOP Trunk
> 
> Hi Eric,
> 
> Some classes are built on the fly during the ant build process. A simple 
> compile of the existing classes in Eclipse can't find them. Some external 
> jars are missing because of licensing constraints, AFAIK.
> 
> Regards,
> 
> Georg Datterl
> 
> -- Kontakt --
> 
> Georg Datterl
> 
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
> 
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert
> 
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
> 
> www.geneon.de
> 
> Weitere Mitglieder der Willmy MediaGroup:
> 
> IRS Integrated Realization Services GmbH:www.irs-nbg.de
> Willmy PrintMedia GmbH:www.willmy.de
> Willmy Consult

RE: FOP Trunk

2010-06-08 Thread Eric Douglas
I solved the issues this morning.
I looked up Eclipse and ant building and determined that build project
doesn't work.
Instead of using the normal Build Project option, I have to open the
project, find the build.xml, right click it, and select Run As ant
build.
Of course to make that work I had to download 3 jars separately and add
them to the build path.
ant.jar
http://ant.apache.org/bindownload.cgi
fop-hyph.jar
http://cdnetworks-us-2.dl.sourceforge.net/project/offo/offo-hyphenation/
1.2/offo-hyphenation-fop-stable_v1.2.zip
jai-core-1.1.3-alpha.jar
http://mirrors.ibiblio.org/pub/mirrors/maven/geoserver/maven/jai/jars/ja
i-core-1.1.3-alpha.jar

Ant was the easiest to find.  The others took a bit of digging. I'm not
sure that's the official location for the jai but that jar works.
I got a warning on a jre reference in the build path so I removed that
and added the JRE System Library.
Adding the 3 jars and using the ant option on the build.xml worked for
the 0.95 source and the trunk.

Now the question is, where's the what's new?  What's the difference
between 0.95 and the trunk?


-Original Message-
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
Sent: Thursday, May 27, 2010 10:52 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: FOP Trunk

On 27.05.2010 16:36:53 Eric Douglas wrote:
> I'm not sure what "ran that through ant" means.  That is likely the
problem.

Apache Ant is our build tool used to compile FOP. http://ant.apache.org
See also: http://xmlgraphics.apache.org/fop/trunk/compiling.html

> I'll try the Eclipse setup.  Thanks Jeremias for this:
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help
here.
> 
> I tried that link and it says I need Subclipse.  I try the link to
download on this site:
> http://subclipse.tigris.org/subclipse/changes.html
> It says I need a username and password to login to their server. 

Just use http://subclipse.tigris.org/update_1.6.x as Eclipse Update Site
to install the Subclipse plug-in. No login required.

But you can also skip Subclipse and set up your Eclipse project from
another FOP working copy made with some other SVN client. Using
Subclipse is just one way to do it.

> I did identify the jai jars I need.  I just don't know where to find
them.  I tried downloading them from here:
> https://jai-imageio.dev.java.net/binary-builds.html#Stable_builds
> Using the link to the file jai_imageio-1_1-lib-windows-i586-jar.zip I 
> just get a zip file containing one jar which contains an exe which 
> wants to install tools.  Is there a place to download those 2 jars or 
> do I find them from that install?

I don't think so. The installation executable is there because they
install a native DLL alongside the JARs. You could install it, copy away
the two JARs and then uninstall it again. The native part is not
strictly required.

Feel free to improve the Wiki page as you see fit.


RE: FOP Trunk

2010-06-08 Thread Eric Douglas
Jeremias, my project isn't currently setup like that.  I haven't
installed Subclipse yet.  I wasn't planning on making any real changes
at this time.  I just used the DOS svn checkout command to retrieve the
trunk files at a point in time, then used the Eclipse create new project
from existing Ant buildfile option, just to build a working jar.  Since
I was only planning to build it once, or a few times maybe for testing,
a few seconds or a minute extra to build is not a problem for "efficient
work".  I'm a novice at Java programming, so the only changes I would
make for testing would be to add log statements to verify in the Java
Console what it's doing.

I will consider switching the setup to match yours with the link to the
http repository.  For now I'm just wondering about the what's new.  What
functional differences should I note between FOP 0.95 and Trunk?
I'm guessing there's a bit more than bug fixes, since I notice some new
classes, and the jar went from 2315KB to 3110KB.

FYI, maybe it's just me but I had issues with the 0.95 trying to send
output directly to a printer, to use the same code to send to multiple
printers and get it using the proper paper tray.. But I did find a
workaround.  Instead of trying to use the MIME_FOP_PRINT, I just use the
MIME_PDF and get the PDF formatted output, then add a
ByteArrayOutputStream object.  The transform puts the output in the
object instead of creating a physical PDF, and I pass it to Apache's
pdfbox program to print.  This is working great.
 

-Original Message-
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
Sent: Tuesday, June 08, 2010 11:08 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: FOP Trunk

Eric, resorting to the Ant Builder in Eclipse shouldn't be necessary.
It's just too slow for efficient work. I'm attaching a screenshot from
one of my working copies so you can see what needs to be set up. Before
doing that, just execute "ant resourcegen" once and that should set up
all generated files you'll need.

Note that the jimi-1.0.jar is not really necessary. It's there for
historical reasons. And XMLUnit can be found at
http://xmlunit.sourceforge.net/

On 08.06.2010 16:29:34 Eric Douglas wrote:
> I solved the issues this morning.
> I looked up Eclipse and ant building and determined that build project

> doesn't work.
> Instead of using the normal Build Project option, I have to open the 
> project, find the build.xml, right click it, and select Run As ant 
> build.
> Of course to make that work I had to download 3 jars separately and 
> add them to the build path.
> ant.jar
> http://ant.apache.org/bindownload.cgi
> fop-hyph.jar
> http://cdnetworks-us-2.dl.sourceforge.net/project/offo/offo-hyphenatio
> n/ 1.2/offo-hyphenation-fop-stable_v1.2.zip
> jai-core-1.1.3-alpha.jar
> http://mirrors.ibiblio.org/pub/mirrors/maven/geoserver/maven/jai/jars/
> ja
> i-core-1.1.3-alpha.jar
> 
> Ant was the easiest to find.  The others took a bit of digging. I'm 
> not sure that's the official location for the jai but that jar works.
> I got a warning on a jre reference in the build path so I removed that

> and added the JRE System Library.
> Adding the 3 jars and using the ant option on the build.xml worked for

> the 0.95 source and the trunk.
> 
> Now the question is, where's the what's new?  What's the difference 
> between 0.95 and the trunk?
> 
> 
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> Sent: Thursday, May 27, 2010 10:52 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: FOP Trunk
> 
> On 27.05.2010 16:36:53 Eric Douglas wrote:
> > I'm not sure what "ran that through ant" means.  That is likely the
> problem.
> 
> Apache Ant is our build tool used to compile FOP. 
> http://ant.apache.org See also: 
> http://xmlgraphics.apache.org/fop/trunk/compiling.html
> 
> > I'll try the Eclipse setup.  Thanks Jeremias for this:
> > http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help
> here.
> > 
> > I tried that link and it says I need Subclipse.  I try the link to
> download on this site:
> > http://subclipse.tigris.org/subclipse/changes.html
> > It says I need a username and password to login to their server. 
> 
> Just use http://subclipse.tigris.org/update_1.6.x as Eclipse Update 
> Site to install the Subclipse plug-in. No login required.
> 
> But you can also skip Subclipse and set up your Eclipse project from 
> another FOP working copy made with some other SVN client. Using 
> Subclipse is just one way to do it.
> 
> > I did identify the jai jars I need.  I just don't know where to find
> them.  I tried downloading them 

Re: FOP Trunk

2010-06-08 Thread Jeremias Maerki
On 08.06.2010 20:07:24 Eric Douglas wrote:
> Jeremias, my project isn't currently setup like that.  I haven't
> installed Subclipse yet.  I wasn't planning on making any real changes
> at this time.  I just used the DOS svn checkout command to retrieve the
> trunk files at a point in time, then used the Eclipse create new project
> from existing Ant buildfile option, just to build a working jar.  Since
> I was only planning to build it once, or a few times maybe for testing,
> a few seconds or a minute extra to build is not a problem for "efficient
> work".  I'm a novice at Java programming, so the only changes I would
> make for testing would be to add log statements to verify in the Java
> Console what it's doing.

You don't need Subclipse. I'm checking out using TortoiseSVN. Or you can
the command-line.

> I will consider switching the setup to match yours with the link to the
> http repository.  For now I'm just wondering about the what's new.  What
> functional differences should I note between FOP 0.95 and Trunk?
> I'm guessing there's a bit more than bug fixes, since I notice some new
> classes, and the jar went from 2315KB to 3110KB.

Please see: http://xmlgraphics.apache.org/fop/changes.html#version_FOP%20Trunk

> FYI, maybe it's just me but I had issues with the 0.95 trying to send
> output directly to a printer, to use the same code to send to multiple
> printers and get it using the proper paper tray.. But I did find a
> workaround.  Instead of trying to use the MIME_FOP_PRINT, I just use the
> MIME_PDF and get the PDF formatted output, then add a
> ByteArrayOutputStream object.  The transform puts the output in the
> object instead of creating a physical PDF, and I pass it to Apache's
> pdfbox program to print.  This is working great.

Good to hear. Our direct print support could certainly do with some
additional love like adding javax.print functionality.

> 
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
> Sent: Tuesday, June 08, 2010 11:08 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: FOP Trunk
> 
> Eric, resorting to the Ant Builder in Eclipse shouldn't be necessary.
> It's just too slow for efficient work. I'm attaching a screenshot from
> one of my working copies so you can see what needs to be set up. Before
> doing that, just execute "ant resourcegen" once and that should set up
> all generated files you'll need.
> 
> Note that the jimi-1.0.jar is not really necessary. It's there for
> historical reasons. And XMLUnit can be found at
> http://xmlunit.sourceforge.net/
> 
> On 08.06.2010 16:29:34 Eric Douglas wrote:
> > I solved the issues this morning.
> > I looked up Eclipse and ant building and determined that build project
> 
> > doesn't work.
> > Instead of using the normal Build Project option, I have to open the 
> > project, find the build.xml, right click it, and select Run As ant 
> > build.
> > Of course to make that work I had to download 3 jars separately and 
> > add them to the build path.
> > ant.jar
> > http://ant.apache.org/bindownload.cgi
> > fop-hyph.jar
> > http://cdnetworks-us-2.dl.sourceforge.net/project/offo/offo-hyphenatio
> > n/ 1.2/offo-hyphenation-fop-stable_v1.2.zip
> > jai-core-1.1.3-alpha.jar
> > http://mirrors.ibiblio.org/pub/mirrors/maven/geoserver/maven/jai/jars/
> > ja
> > i-core-1.1.3-alpha.jar
> > 
> > Ant was the easiest to find.  The others took a bit of digging. I'm 
> > not sure that's the official location for the jai but that jar works.
> > I got a warning on a jre reference in the build path so I removed that
> 
> > and added the JRE System Library.
> > Adding the 3 jars and using the ant option on the build.xml worked for
> 
> > the 0.95 source and the trunk.
> > 
> > Now the question is, where's the what's new?  What's the difference 
> > between 0.95 and the trunk?
> > 
> > 
> > -Original Message-
> > From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> > Sent: Thursday, May 27, 2010 10:52 AM
> > To: fop-dev@xmlgraphics.apache.org
> > Subject: Re: FOP Trunk
> > 
> > On 27.05.2010 16:36:53 Eric Douglas wrote:
> > > I'm not sure what "ran that through ant" means.  That is likely the
> > problem.
> > 
> > Apache Ant is our build tool used to compile FOP. 
> > http://ant.apache.org See also: 
> > http://xmlgraphics.apache.org/fop/trunk/compiling.html
> > 
> > > I'll try the Eclipse setup.  Thanks Jeremias for this:
> > > 

RE: FOP Trunk

2010-06-08 Thread Eric Douglas

Jeremias, my project isn't currently setup like that.  I haven't
installed Subclipse yet.  I wasn't planning on making any real changes
at this time.  I just used the DOS svn checkout command to retrieve the
trunk files at a point in time, then used the Eclipse create new project
from existing Ant buildfile option, just to build a working jar.  Since
I was only planning to build it once, or a few times maybe for testing,
a few seconds or a minute extra to build is not a problem for "efficient
work".  I'm a novice at Java programming, so the only changes I would
make for testing would be to add log statements to verify in the Java
Console what it's doing.

I will consider switching the setup to match yours with the link to the
http repository.  For now I'm just wondering about the what's new.  What
functional differences should I note between FOP 0.95 and Trunk?
I'm guessing there's a bit more than bug fixes, since I notice some new
classes, and the jar went from 2315KB to 3110KB.

FYI, maybe it's just me but I had issues with the 0.95 trying to send
output directly to a printer, to use the same code to send to multiple
printers and get it using the proper paper tray.. But I did find a
workaround.  Instead of trying to use the MIME_FOP_PRINT, I just use the
MIME_PDF and get the PDF formatted output, then add a
ByteArrayOutputStream object.  The transform puts the output in the
object instead of creating a physical PDF, and I pass it to Apache's
pdfbox program to print.  This is working great.
 

-Original Message-
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
Sent: Tuesday, June 08, 2010 11:08 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: FOP Trunk

Eric, resorting to the Ant Builder in Eclipse shouldn't be necessary.
It's just too slow for efficient work. I'm attaching a screenshot from
one of my working copies so you can see what needs to be set up. Before
doing that, just execute "ant resourcegen" once and that should set up
all generated files you'll need.

Note that the jimi-1.0.jar is not really necessary. It's there for
historical reasons. And XMLUnit can be found at
http://xmlunit.sourceforge.net/

On 08.06.2010 16:29:34 Eric Douglas wrote:
> I solved the issues this morning.
> I looked up Eclipse and ant building and determined that build project

> doesn't work.
> Instead of using the normal Build Project option, I have to open the 
> project, find the build.xml, right click it, and select Run As ant 
> build.
> Of course to make that work I had to download 3 jars separately and 
> add them to the build path.
> ant.jar
> http://ant.apache.org/bindownload.cgi
> fop-hyph.jar
> http://cdnetworks-us-2.dl.sourceforge.net/project/offo/offo-hyphenatio
> n/ 1.2/offo-hyphenation-fop-stable_v1.2.zip
> jai-core-1.1.3-alpha.jar
> http://mirrors.ibiblio.org/pub/mirrors/maven/geoserver/maven/jai/jars/
> ja
> i-core-1.1.3-alpha.jar
> 
> Ant was the easiest to find.  The others took a bit of digging. I'm 
> not sure that's the official location for the jai but that jar works.
> I got a warning on a jre reference in the build path so I removed that

> and added the JRE System Library.
> Adding the 3 jars and using the ant option on the build.xml worked for

> the 0.95 source and the trunk.
> 
> Now the question is, where's the what's new?  What's the difference 
> between 0.95 and the trunk?
> 
> 
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> Sent: Thursday, May 27, 2010 10:52 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: FOP Trunk
> 
> On 27.05.2010 16:36:53 Eric Douglas wrote:
> > I'm not sure what "ran that through ant" means.  That is likely the
> problem.
> 
> Apache Ant is our build tool used to compile FOP. 
> http://ant.apache.org See also: 
> http://xmlgraphics.apache.org/fop/trunk/compiling.html
> 
> > I'll try the Eclipse setup.  Thanks Jeremias for this:
> > http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide should help
> here.
> > 
> > I tried that link and it says I need Subclipse.  I try the link to
> download on this site:
> > http://subclipse.tigris.org/subclipse/changes.html
> > It says I need a username and password to login to their server. 
> 
> Just use http://subclipse.tigris.org/update_1.6.x as Eclipse Update 
> Site to install the Subclipse plug-in. No login required.
> 
> But you can also skip Subclipse and set up your Eclipse project from 
> another FOP working copy made with some other SVN client. Using 
> Subclipse is just one way to do it.
> 
> > I did identify the jai jars I need.  I just don't know where to find
> them.  I tried downloading them

MathML for fop-trunk

2005-12-09 Thread Gennadiy Tsarenkov
Hello all,

some time ago my colleague announced that we are working on MathML
implementation for FOP. Our work is based on the JEuclid library.
Now we completed code review to comply with ASF code requirements.

Our results are available from CVS at
:pserver:[EMAIL PROTECTED]:/cvsroot/jeuclid
(http://sourceforge.net/projects/jeuclid/).

Among MathML feature we made several additional features for
fop-0.20.4. These features are also included into test/first-demo and
consists of
- to embed PDF's;
- to have bold, italic styles for TTF Unicode fonts (namely Arial
Unicode MS).

Now we are thinking of integrating these features into fop-trunk.

Please, have a look whether our results is satisfactory to become part
of fop or xmlgraphics at ASF. Any of the comments are welcome.

There  are also several issues, that we would like to ask here to make
resolve them in general way:

1.  How  to configure font to render MathML. Most of the font does not
contain  enough  mathematical  symbols  to render complex mathematical
formulas.  At  the  moment we have constant pointing to "Arial Unicode
MS"  (as mostly completed Unicode font). We were tried to make support
of another font but stop this activity after finding out that (in this
font  "Integral" symbol is missing but "Top Half Integral" and "Bottom
Half  Integral" are present). We need an idea how we could handle such
situations in a general way.

2.  When  rendering  MathML  we  used  awt.Font  class,  which  is not
accessible  on the Unix boxes without X-server installed. The awt.Font
class  is  used  to get font size for proper position of the upper and
lower  indexes  and  so on. Are there any chance, that we could re-use
Fop generated metrics? Where we could start look at that?

Taking  into  consideration  these to issues, I guess, that JEuclid is
still  to  young, however, it is already powerful enough to start look
at it.

-- 
Best regards,
 Gennadiy Tsarenkov




Barcode4J and Fop Trunk

2006-12-21 Thread Vincent Hennebert
(As you can see I'm currently checking the consistency of the
documentation before releasing)

On the Upgrading page [1] it is stated that "The new FOP extension for
Barcode4J will be available in January 2006". By quickly looking at the
Barcode4J I haven't found any relevant information about that extension.
What is its status? Should we simply replace 2006 with 2007 ;-) ?

Vincent

[1] http://xmlgraphics.apache.org/fop/0.92/upgrading.html


svnmerge-integrated on FOP Trunk [was: Re: svn commit: r682605 - /xmlgraphics/fop/trunk/]

2008-08-05 Thread Vincent Hennebert
Hi,

> Author: jeremias
> Date: Mon Aug  4 23:55:12 2008
> New Revision: 682605
> 
> URL: http://svn.apache.org/viewvc?rev=682605&view=rev
> Log:
> Removed merge tracking for "svnmerge" for 
> https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95
> 
> Modified:
> xmlgraphics/fop/trunk/   (props changed)
> 
> Propchange: xmlgraphics/fop/trunk/
> ('svnmerge-blocked' removed)
> 
> Propchange: xmlgraphics/fop/trunk/
> --
> --- svnmerge-integrated (original)
> +++ svnmerge-integrated Mon Aug  4 23:55:12 2008
> @@ -1 +1 @@
> -/xmlgraphics/fop/branches/fop-0_95:1-636405,636407-681285,681287-681290,681292-681370,681372-682601
>  /xmlgraphics/fop/trunk:1-65
> +/xmlgraphics/fop/trunk:1-65

Does anyone know why the value above remains? IIC the Trunk was tracking
only the changes made to the 0.95 branch. So normally that property
should have disappeared at all? Anyway ‘svnmerge avail’ now fails on FOP
Trunk (as expected since there is nothing left to track).

Thanks,
Vincent


Re: MathML for fop-trunk

2005-12-09 Thread Jeremias Maerki
Hi Gennadiy,

good to hear that things are going well in MathML land. More comments
inline...

On 09.12.2005 16:15:17 Gennadiy Tsarenkov wrote:
> Hello all,
> 
> some time ago my colleague announced that we are working on MathML
> implementation for FOP. Our work is based on the JEuclid library.
> Now we completed code review to comply with ASF code requirements.
> 
> Our results are available from CVS at
> :pserver:[EMAIL PROTECTED]:/cvsroot/jeuclid
> (http://sourceforge.net/projects/jeuclid/).
> 
> Among MathML feature we made several additional features for
> fop-0.20.4. These features are also included into test/first-demo and
> consists of
> - to embed PDF's;
> - to have bold, italic styles for TTF Unicode fonts (namely Arial
> Unicode MS).
> 
> Now we are thinking of integrating these features into fop-trunk.
> 
> Please, have a look whether our results is satisfactory to become part
> of fop or xmlgraphics at ASF. Any of the comments are welcome.

I'll try to find time to have a look in the next few days.

> There  are also several issues, that we would like to ask here to make
> resolve them in general way:
> 
> 1.  How  to configure font to render MathML. Most of the font does not
> contain  enough  mathematical  symbols  to render complex mathematical
> formulas.  At  the  moment we have constant pointing to "Arial Unicode
> MS"  (as mostly completed Unicode font). We were tried to make support
> of another font but stop this activity after finding out that (in this
> font  "Integral" symbol is missing but "Top Half Integral" and "Bottom
> Half  Integral" are present). We need an idea how we could handle such
> situations in a general way.

I guess you have to provide the ability to specify a list of prioritized
fonts (like in the XSL-FO font-family property) as an extension
attribute on the MathML root element. With this list you could check
each font in the list if it provides the character you're looking for.
The font subsystem of FOP supports querying a FOP is a specific glyph is
available in a font. See hasChar(char) in SinglyByteFont and
MultiByteFont in the fonts package of FOP Trunk. I don't know if AWT
provides something similar.

> 2.  When  rendering  MathML  we  used  awt.Font  class,  which  is not
> accessible  on the Unix boxes without X-server installed. The awt.Font
> class  is  used  to get font size for proper position of the upper and
> lower  indexes  and  so on. Are there any chance, that we could re-use
> Fop generated metrics? Where we could start look at that?

In FOP Trunk, the "fonts" package. Everything's there.

However, currently Vincent Hennebert works on integrating the font
subsystem from FOray which will be a little different. It may make sense
not to rush into anything too quickly here. Vincent implied that it
wouldn't take too long until he has something ready if I remember
correctly.

On the other side, relying on AWT's font subsystem for MathML isn't that
bad. People have to set up one of the three work-arounds for headless
systems anyway. Batik needs it, too.

> Taking  into  consideration  these to issues, I guess, that JEuclid is
> still  to  young, however, it is already powerful enough to start look
> at it.

Let's start where we can. You can certainly start with the FOP extension
for the new JEuclid. It doesn't have to be perfect at first. I'll try to
find time to see what is now there. I'm sure we'll figure out how best
to approach all this.

Jeremias Maerki



Re: MathML for fop-trunk

2005-12-09 Thread Vincent Hennebert

2.  When  rendering  MathML  we  used  awt.Font  class,  which  is not
accessible  on the Unix boxes without X-server installed. The awt.Font
class  is  used  to get font size for proper position of the upper and
lower  indexes  and  so on. Are there any chance, that we could re-use
Fop generated metrics? Where we could start look at that?



In FOP Trunk, the "fonts" package. Everything's there.

However, currently Vincent Hennebert works on integrating the font
subsystem from FOray which will be a little different. It may make sense
not to rush into anything too quickly here. Vincent implied that it
wouldn't take too long until he has something ready if I remember
correctly.


Right. My patch should be available in a few days now.

You may start to have a look at the aXSL web page [1], and especially
the axslFont module. This is the interface that will be available to
users of the font sub-system. I suggest you download aXSL through the
CVS repository and just build the javadoc to see what will be available
to you (the most important interfaces are Font and FontUse).

If you decide to look at aXSL and have any questions, please ask them on
the aXSL mailing-list [2], which will be more appropriate than this
list.

I'm glad to see that MathML support is coming along.
Thank you,
Vincent


[1] http://www.axsl.org
[2] http://sourceforge.net/mail/?group_id=123259


Re: Barcode4J and Fop Trunk

2006-12-21 Thread Chris Bowditch

Vincent Hennebert wrote:


(As you can see I'm currently checking the consistency of the
documentation before releasing)

On the Upgrading page [1] it is stated that "The new FOP extension for
Barcode4J will be available in January 2006". By quickly looking at the
Barcode4J I haven't found any relevant information about that extension.
What is its status? Should we simply replace 2006 with 2007 ;-) ?


Jeremias is the best person to answer this one, but the extension has 
been written. I believe the code for it lives in the Barcode4J 
respository. The JAR itself can be built from there, but I don't believe 
Jeremias ever got round to doing an official release of it. When I 
needed it he simply e-mailed it to me.


Chris





Re: Barcode4J and Fop Trunk

2006-12-21 Thread Jeremias Maerki
I've been working on a DataMatrix implementation for Barcode4J lately
which is partly responsible for my lack of presence here. This work is
almost finished and I plan to do an alpha release of Barcode4J 2.0 in
the first week of January 2007. When I get this off my table I have more
time left for FOP again.

On 21.12.2006 17:09:47 Vincent Hennebert wrote:
> (As you can see I'm currently checking the consistency of the
> documentation before releasing)
> 
> On the Upgrading page [1] it is stated that "The new FOP extension for
> Barcode4J will be available in January 2006". By quickly looking at the
> Barcode4J I haven't found any relevant information about that extension.
> What is its status? Should we simply replace 2006 with 2007 ;-) ?
> 
> Vincent
> 
> [1] http://xmlgraphics.apache.org/fop/0.92/upgrading.html



Jeremias Maerki



Re: Barcode4J and Fop Trunk

2006-12-22 Thread Simon Pepping
On Thu, Dec 21, 2006 at 09:03:51PM +0100, Jeremias Maerki wrote:
> I've been working on a DataMatrix implementation for Barcode4J lately
> which is partly responsible for my lack of presence here. This work is
> almost finished and I plan to do an alpha release of Barcode4J 2.0 in
> the first week of January 2007. When I get this off my table I have more
> time left for FOP again.

Does that include the mentioned new FOP extension? If so, I will
change the upgrade text to January 2007.

Simon
 
> On 21.12.2006 17:09:47 Vincent Hennebert wrote:
> > (As you can see I'm currently checking the consistency of the
> > documentation before releasing)
> > 
> > On the Upgrading page [1] it is stated that "The new FOP extension for
> > Barcode4J will be available in January 2006". By quickly looking at the
> > Barcode4J I haven't found any relevant information about that extension.
> > What is its status? Should we simply replace 2006 with 2007 ;-) ?
> > 
> > Vincent
> > 
> > [1] http://xmlgraphics.apache.org/fop/0.92/upgrading.html

-- 
Simon Pepping
home page: http://www.leverkruid.eu


Re: Barcode4J and Fop Trunk

2006-12-22 Thread Jeremias Maerki
Yes, of course.

On 22.12.2006 11:35:40 Simon Pepping wrote:
> On Thu, Dec 21, 2006 at 09:03:51PM +0100, Jeremias Maerki wrote:
> > I've been working on a DataMatrix implementation for Barcode4J lately
> > which is partly responsible for my lack of presence here. This work is
> > almost finished and I plan to do an alpha release of Barcode4J 2.0 in
> > the first week of January 2007. When I get this off my table I have more
> > time left for FOP again.
> 
> Does that include the mentioned new FOP extension? If so, I will
> change the upgrade text to January 2007.
> 
> Simon
>  
> > On 21.12.2006 17:09:47 Vincent Hennebert wrote:
> > > (As you can see I'm currently checking the consistency of the
> > > documentation before releasing)
> > > 
> > > On the Upgrading page [1] it is stated that "The new FOP extension for
> > > Barcode4J will be available in January 2006". By quickly looking at the
> > > Barcode4J I haven't found any relevant information about that extension.
> > > What is its status? Should we simply replace 2006 with 2007 ;-) ?
> > > 
> > > Vincent
> > > 
> > > [1] http://xmlgraphics.apache.org/fop/0.92/upgrading.html
> 
> -- 
> Simon Pepping
> home page: http://www.leverkruid.eu



Jeremias Maerki



Re: svnmerge-integrated on FOP Trunk [was: Re: svn commit: r682605 - /xmlgraphics/fop/trunk/]

2008-08-05 Thread Jeremias Maerki
I wondered about that, too. Adrian still works with svnmerge on the AFP
branch. Maybe it's indirectly used by svnmerge there. No idea if it's
safe to be removed. I'd leave it until none of us still uses svnmerge.

On 05.08.2008 11:09:29 Vincent Hennebert wrote:
> Hi,
> 
> > Author: jeremias
> > Date: Mon Aug  4 23:55:12 2008
> > New Revision: 682605
> > 
> > URL: http://svn.apache.org/viewvc?rev=682605&view=rev
> > Log:
> > Removed merge tracking for "svnmerge" for 
> > https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95
> > 
> > Modified:
> > xmlgraphics/fop/trunk/   (props changed)
> > 
> > Propchange: xmlgraphics/fop/trunk/
> > ('svnmerge-blocked' removed)
> > 
> > Propchange: xmlgraphics/fop/trunk/
> > --
> > --- svnmerge-integrated (original)
> > +++ svnmerge-integrated Mon Aug  4 23:55:12 2008
> > @@ -1 +1 @@
> > -/xmlgraphics/fop/branches/fop-0_95:1-636405,636407-681285,681287-681290,681292-681370,681372-682601
> >  /xmlgraphics/fop/trunk:1-65
> > +/xmlgraphics/fop/trunk:1-65
> 
> Does anyone know why the value above remains? IIC the Trunk was tracking
> only the changes made to the 0.95 branch. So normally that property
> should have disappeared at all? Anyway ‘svnmerge avail’ now fails on FOP
> Trunk (as expected since there is nothing left to track).
> 
> Thanks,
> Vincent




Jeremias Maerki



FOP Trunk documentation and release preparations

2005-10-25 Thread Jeremias Maerki
I've just committed the FOP Trunk documentation. I hope I got more or
less everything. I'm sure there are a few details and typos in there.
Reviewers please fix the things you find directly. I'm going to publish
the website tomorrow.

Sorry if I haven't been very responsive to everything the last few days.
I wanted to get this off my table. I originally hoped I could push the
release this week, but it'll have to wait. Next week, I'll be away but I
might have enough time during that week to do a few things off-line. The
biggest issue I currently see is the showstopper (ArrayIndexOutOfBounds)
in table layout. I keep stumbling over that one so it seems this has to
be fixed.

I'll update the release plan tomorrow so we see where we stand.

Good night :-)
Jeremias Maerki



URL of FOP trunk web pages

2005-11-15 Thread Simon Pepping
The wiki page ReleasePlanFirstPR says

Copy xdocs/trunk to xdocs/0.90alpha1 to create the release
documentation when it's good enough.

That is very unstable. Wouldn't xdocs/0.90 be good? I need to create a
reference to the hyphenation pages in OFFO.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl



Cannot Build the Apache fop trunk

2007-06-17 Thread Shlomi Fish
Hi all!

I cannot build the Apache fop trunk:

{
shlomi:~/Download/unpack/graphics/fop/trunk$ ant
Buildfile: build.xml

init-avail:
 [echo] --- Apache FOP svn-trunk 
[1999-2007] 
 [echo] See build.properties and build-local.properties for additional 
build settings
 [echo] Apache Ant version 1.7.0 compiled on May 23 2007
 [echo] VM: 1.5.0_09-b01, Sun Microsystems Inc.
 [echo] JAVA_HOME: /usr/java/jdk1.5.0_09
 [echo] Jimi Support NOT Present
 [echo] JAI Support NOT Present
 [echo] JCE Support PRESENT
 [echo] JUnit Support PRESENT
 [echo] XMLUnit Support NOT Present - you can get it from 
http://xmlunit.sourceforge.net

init-filters-jdk14:
 [echo] Use GraphicsConfiguration adapter for JDK 1.4.

init-filters-jdk13:

init:

codegen:
 [echo] Generating the java files from xml resources

compile-java:

uptodate-jar-main:

jar-main:

compile-hyphenation:

BUILD FAILED
/home/shlomi/Download/unpack/graphics/fop/trunk/build.xml:458: Could not 
create type serHyph due to java.lang.Error: Unresolved compilation problems:
The import org.apache.tools cannot be resolved
The import org.apache.tools cannot be resolved
The import org.apache.tools cannot be resolved
Task cannot be resolved to a type
org.apache.tools cannot be resolved to a type
FileSet cannot be resolved to a type
FileSet cannot be resolved to a type
DirectoryScanner cannot be resolved to a type
The method getProject() is undefined for the type SerializeHyphPattern
FileSet cannot be resolved to a type


Total time: 3 seconds

}

I'm on Mandriva Linux Cooker (which will be Mandriva 2008.0) and am using:

<<<<<<<<<<
shlomi:~/Download/unpack/graphics/fop/trunk$ java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
>>>>>>>>>>

You can contact me at:

http://www.shlomifish.org/me/contact-me/

Regards,

Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

If it's not in my E-mail it doesn't happen. And if my E-mail is saying
one thing, and everything else says something else - E-mail will conquer.
-- An Israeli Linuxer


buildbot failure in on fop-trunk

2016-03-19 Thread buildbot
The Buildbot has detected a new failure on builder fop-trunk while building . 
Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/201

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: orcus_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot failure in on fop-trunk

2018-11-15 Thread buildbot
The Buildbot has detected a new failure on builder fop-trunk while building . 
Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/905

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: orcus_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot exception in on fop-trunk

2019-06-28 Thread buildbot
The Buildbot has detected a build exception on builder fop-trunk while building 
. Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/970

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: orcus_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: exception svn

Sincerely,
 -The Buildbot





buildbot failure in on fop-trunk

2019-07-29 Thread buildbot
The Buildbot has detected a new failure on builder fop-trunk while building . 
Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/979

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: asf947_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot exception in on fop-trunk

2021-11-10 Thread buildbot
The Buildbot has detected a build exception on builder fop-trunk while building 
. Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/1801

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: asf947_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: exception compile MasterShellCommand_1

Sincerely,
 -The Buildbot





buildbot failure in on fop-trunk

2021-11-29 Thread buildbot
The Buildbot has detected a new failure on builder fop-trunk while building . 
Full details are available at:
https://ci.apache.org/builders/fop-trunk/builds/1820

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: asf947_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





Re: FOP Trunk documentation and release preparations

2005-10-25 Thread Andreas L Delmelle

On Oct 25, 2005, at 22:04, Jeremias Maerki wrote:

The biggest issue I currently see is the showstopper  
(ArrayIndexOutOfBounds)
in table layout. I keep stumbling over that one so it seems this  
has to

be fixed.


FWIW: I have added some observations/pointers to bug 36403 where this  
problem was first reported, but IIC, only Manuel has received the  
mail :-)


Cheers,

Andreas



[VOTE] Release FOP Trunk as FOP 0.90alpha1

2005-11-15 Thread Jeremias Maerki
This is it. Just to make it clear again: This is a a release vote and
therefore a PMC vote, but every FOP committer is invited to place his
vote or raise any objections. Noone gets ignored. Although fop-dev is in
the CC, please place your votes on [EMAIL PROTECTED]

Even though I haven't fully finished all of the documentation, yet, I'd
like to start the vote. I'll have everthing finished by tomorrow evening
(CET). I don't intend to do any more code changes, only the last
documentation updates.
http://wiki.apache.org/xmlgraphics-fop/ReleasePlanFirstPR shows the
release plan and the status of the proceedings.

I know of no legal problems needing attention. The external dependencies
are well documented and every JAR in the lib directory is accompanied by
its license. Hyphenation files have been removed. The unknown origin of
some long-existing example FO files is not a problem IMO.

0.90alpha1 will carry a big warning sign in the README file that the
software is a preview release and should not be used in production
unless thoroughly tested for the target environment. It is intended to
let everybody know that FOP is back in business and to produce feedback
on our new piece of software from users that don't (or can't) download
the code from SVN.

I'd like to propose to release FOP SVN Trunk as version 0.90alpha1.

+1 from me, obviously.

Jeremias Maerki



Re: URL of FOP trunk web pages

2005-11-15 Thread The Web Maestro

On Nov 15, 2005, at 1:20 PM, Simon Pepping wrote:

The wiki page ReleasePlanFirstPR says

Copy xdocs/trunk to xdocs/0.90alpha1 to create the release
documentation when it's good enough.

That is very unstable. Wouldn't xdocs/0.90 be good? I need to create a
reference to the hyphenation pages in OFFO.


xdocs/0.90/ makes the most sense to me. That way, we only have to 'mv' 
it all more than once for each release version. There shouldn't be too 
many changes between 0.90alpha1, 0.90alpha2, 0.90beta1, etc.


Regards,

Web Maestro Clay
--
<[EMAIL PROTECTED]> - 
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet



Re: URL of FOP trunk web pages

2005-11-15 Thread Jeremias Maerki
Good point. In addition to what you propose, what about an empty
directory /latest which simply contains a .htaccess file that redirects
you to the latest release? That would be a stable URL. I can set that up.

On 15.11.2005 22:20:58 Simon Pepping wrote:
> The wiki page ReleasePlanFirstPR says
> 
> Copy xdocs/trunk to xdocs/0.90alpha1 to create the release
> documentation when it's good enough.
> 
> That is very unstable. Wouldn't xdocs/0.90 be good? I need to create a
> reference to the hyphenation pages in OFFO.



Jeremias Maerki



[VOTE:RESULTS] Release FOP Trunk as FOP 0.90alpha1

2005-11-21 Thread Jeremias Maerki
Almost forgot to sum up the results for the archives:
9 +1, no other votes. 7 out of 8 PMC members voted. The vote passes.
Apache FOP 0.90alpha1 can be released.

On 15.11.2005 21:14:12 Jeremias Maerki wrote:
> This is it. Just to make it clear again: This is a a release vote and
> therefore a PMC vote, but every FOP committer is invited to place his
> vote or raise any objections. Noone gets ignored. Although fop-dev is in
> the CC, please place your votes on [EMAIL PROTECTED]
> 
> Even though I haven't fully finished all of the documentation, yet, I'd
> like to start the vote. I'll have everthing finished by tomorrow evening
> (CET). I don't intend to do any more code changes, only the last
> documentation updates.
> http://wiki.apache.org/xmlgraphics-fop/ReleasePlanFirstPR shows the
> release plan and the status of the proceedings.
> 
> I know of no legal problems needing attention. The external dependencies
> are well documented and every JAR in the lib directory is accompanied by
> its license. Hyphenation files have been removed. The unknown origin of
> some long-existing example FO files is not a problem IMO.
> 
> 0.90alpha1 will carry a big warning sign in the README file that the
> software is a preview release and should not be used in production
> unless thoroughly tested for the target environment. It is intended to
> let everybody know that FOP is back in business and to produce feedback
> on our new piece of software from users that don't (or can't) download
> the code from SVN.
> 
> I'd like to propose to release FOP SVN Trunk as version 0.90alpha1.



Jeremias Maerki



Re: Cannot Build the Apache fop trunk

2007-06-17 Thread J.Pietschmann

Shlomi Fish wrote:

I cannot build the Apache fop trunk:

...

BUILD FAILED
/home/shlomi/Download/unpack/graphics/fop/trunk/build.xml:458: Could not 
create type serHyph due to java.lang.Error: Unresolved compilation problems:

The import org.apache.tools cannot be resolved


This means the task can't find the ant libraries. That's a bit of an
oddity, but not unheard of. It might have something to do how ant
resolves the access to its own libraries on Mandriva, every Linux
distro seems to come up with its own way to deal with CLASSPATH hell.

Your can try various solutions
- add the ant jars to your CLASSPATH variable.
- move/copy the ant jars to your personal jar repository, create a
  build-local.properties in your fop/trunk directory, and point the
  property optional.lib.dir to the jar repository directory
- do some similar magic in your .antrc file

J.PIetschmann


Re: svn commit: r647745 - /xmlgraphics/fop/trunk/

2008-04-17 Thread Vincent Hennebert
Just curious: what didn’t work exactly?

> Author: jeremias
> Date: Mon Apr 14 05:01:06 2008
> New Revision: 647745
>
> URL: http://svn.apache.org/viewvc?rev=647745&view=rev
> Log:
> svnmerge didn't work for me in this case. Remove svn merge info.
>
> Modified:
> xmlgraphics/fop/trunk/   (props changed)
>
> Propchange: xmlgraphics/fop/trunk/
> --
> --- svnmerge-integrated (original)
> +++ svnmerge-integrated Mon Apr 14 05:01:06 2008
> @@ -1 +1 @@
> -/xmlgraphics/fop/branches/Temp_ProcessingFeedback:1-615152 
> /xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
> /xmlgraphics/fop/trunk:1-65
> +/xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
> /xmlgraphics/fop/trunk:1-65

-- 
Vincent HennebertAnyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting


Re: svn commit: r647745 - /xmlgraphics/fop/trunk/

2008-04-17 Thread Jeremias Maerki
I had tons of conflicts and conflict markers within conflict markers.
Some of the code simply came out wrong and I wasn't able to fix the
merge result in reasonable time. Since I've merged all changes in trunk
into the branch before the merge back I expected this to go more
smoothly. In the end I was much more comfortable with the results with a
simple non-svnmerge merge. And it took me much less time than the first
attempt with svnmerge. Maybe I've done something wrong but I just
followed the tutorial. Shrug. I hope SVN's own merge tracking to come
will work a little better.
http://subversion.tigris.org/merge-tracking/

On 17.04.2008 19:56:14 Vincent Hennebert wrote:
> Just curious: what didn’t work exactly?
> 
> > Author: jeremias
> > Date: Mon Apr 14 05:01:06 2008
> > New Revision: 647745
> >
> > URL: http://svn.apache.org/viewvc?rev=647745&view=rev
> > Log:
> > svnmerge didn't work for me in this case. Remove svn merge info.
> >
> > Modified:
> > xmlgraphics/fop/trunk/   (props changed)
> >
> > Propchange: xmlgraphics/fop/trunk/
> > --
> > --- svnmerge-integrated (original)
> > +++ svnmerge-integrated Mon Apr 14 05:01:06 2008
> > @@ -1 +1 @@
> > -/xmlgraphics/fop/branches/Temp_ProcessingFeedback:1-615152 
> > /xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
> > /xmlgraphics/fop/trunk:1-65
> > +/xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
> > /xmlgraphics/fop/trunk:1-65
> 
> -- 
> Vincent HennebertAnyware Technologies
> http://people.apache.org/~vhennebert http://www.anyware-tech.com
> Apache FOP Committer FOP Development/Consulting




Jeremias Maerki



Re: svn commit: r647745 - /xmlgraphics/fop/trunk/

2008-04-18 Thread Vincent Hennebert
Interesting. In fact, while svnmerge is (IMO) a wonderful tool for
keeping a temporary branch in sync with the Trunk, its behaviour seems
to be more erratic when it comes to merging back that branch into the
Trunk. Good to know for the future.

Thanks for the details,
Vincent

Jeremias Maerki wrote:
> I had tons of conflicts and conflict markers within conflict markers.
> Some of the code simply came out wrong and I wasn't able to fix the
> merge result in reasonable time. Since I've merged all changes in trunk
> into the branch before the merge back I expected this to go more
> smoothly. In the end I was much more comfortable with the results with a
> simple non-svnmerge merge. And it took me much less time than the first
> attempt with svnmerge. Maybe I've done something wrong but I just
> followed the tutorial. Shrug. I hope SVN's own merge tracking to come
> will work a little better.
> http://subversion.tigris.org/merge-tracking/
>
> On 17.04.2008 19:56:14 Vincent Hennebert wrote:
>> Just curious: what didn’t work exactly?
>>
>>> Author: jeremias
>>> Date: Mon Apr 14 05:01:06 2008
>>> New Revision: 647745
>>>
>>> URL: http://svn.apache.org/viewvc?rev=647745&view=rev
>>> Log:
>>> svnmerge didn't work for me in this case. Remove svn merge info.
>>>
>>> Modified:
>>> xmlgraphics/fop/trunk/   (props changed)
>>>
>>> Propchange: xmlgraphics/fop/trunk/
>>> --
>>> --- svnmerge-integrated (original)
>>> +++ svnmerge-integrated Mon Apr 14 05:01:06 2008
>>> @@ -1 +1 @@
>>> -/xmlgraphics/fop/branches/Temp_ProcessingFeedback:1-615152 
>>> /xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
>>> /xmlgraphics/fop/trunk:1-65
>>> +/xmlgraphics/fop/branches/fop-0_95:1-636405,636407-638388 
>>> /xmlgraphics/fop/trunk:1-65

-- 
Vincent HennebertAnyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting


Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread bonekrusher

Hi,

I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
is for Netbeans 4.1 which is very different from NetBeans 6.1 

http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225

I am having trouble checking out via subversion. The documentation is
nothing like the 6.1.  

I performed the following. 

1. Setup the project in NetBeans 6.1
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)

2. Connect the project to Subversion
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)

To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
Versioning>SubVersion>Import into respository and enter
"http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"

Nothing happens... 

I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
(r25188)) 

Can anyone provide some guidance? Once I get it running under 6.1 I would
gladly update the Wiki.

Thanks,
Bones
-- 
View this message in context: 
http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17338581.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread bonekrusher

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:?
-- 
View this message in context: 
http://www.nabble.com/Building-FOP-Trunk-with-Any---BUILD-FAILED-tp18359419p18359419.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Active node tree pruning in FOP trunk

2008-10-21 Thread Dario Laera

Hi all,

after noticing that the layout tree pruning in the prototype [1] was  
improving performance I decided to implement it in FOP trunk to see  
how it was behaving in the real world. The concept I've applied to the  
general breaking algorithm can be defined as a "last-n-lines fit"  
algorithm; if n=5, when the algorithm find the first node for the  
sixth line it choose the final active node for the first line that  
have the best active node as child (this is a correction from the  
prototype implementation). Other nodes for line 1 gets discarded with  
relative children. When the algorithm determine a line break for line  
7 the pruning is performed for line 2. This is equivalent to say that  
line 1 is chosen as the best in the context of lines 1-5, line 2 in  
the context of lines 2-6, and so on. While this algorithm won't give  
you the best possible layout (well, not always, depending on n value)  
as total fit do, it can improve performance and shrink memory usage by  
reducing the number of active node in some cases. Anyway it gets  
"nice" layouts, surely better than best fit, and by choosing the value  
of 'n' we can set the trade off between performance and quality.
In the tests I've done I saw a sensible improvement when two  
conditions were satisfied:
1) the layout constraints was leading to an high number of active  
nodes (short lines, hyphenation enabled, non justified alignment);
2) the paragraph was long enough to produce many lines (if n is  
greater than the total number lines the pruning doesn't even get  
activated).


As worst case I considered an A4 page with a single column with  
justified text split in many paragraphs: no performance improvements.  
Even if I process a single paragraph that is 8 page long the  
processing time is the same as if pruning was disabled, while the  
layout result is slightly different (but not bad).
As best case I considered an A4 page with two columns, hyphenation  
enabled, left aligning for a single paragraph 8 page long. Here the  
performance boost is embarrassing:


 | cpu t | mem
-+---+
No prune | 2'20" | 570 MB
-+---+
n = 30   | 0'12" | 35 MB
-+---+
n = 1| 0'07" | 35 MB

Well, this is a really extreme test that unlikely will represent a use  
case, let's look at more tests:


 Just | 1 col | 1 par || no pru | n=30 |  n=1
--+---+---+++--+--
  X   |   X   |   X   ||6"7 |  6"6 |  6"6
--+---+---+++--+--
  X   |   X   |   ||6"6 |  6"6 |  6"7
--+---+---+++--+--
  X   |   |   X   ||   14"4 |  7"1 |  6"9
--+---+---+++--+--
  X   |   |   ||7"9 |  7"3 |  6"9
--+---+---+++--+--
  |   X   |   X   ||   32"6 |  9"0 |  6"7
--+---+---+++--+--
  |   X   |   ||9"9 |  9"0 |  6"6
--+---+---+++--+--
  |   |   X   || 2'20"2 | 12"0 |  7"0
--+---+---+++--+--
  |   |   ||   21"0 | 13"0 |  7"0

The test was done with the same text modified as follows: justified or  
left aligned, 1 or 2 columns, within a single block or split in 9  
blocks of the same size.


I've attached the patch to be applied to trunk: to enable pruning you  
can set the system property from the command line with -DtreeDepth=1  
or any other number you choose for 'n'. If you don't define treeDepth  
the pruning doesn't get enabled. I've also attached the test fo files  
so you can check the resulting layout for the tests I reported above.



Dario


[1] 
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200810.mbox/[EMAIL 
PROTECTED]



pruneTrunk2.diff
Description: Binary data


fo-test.tar.bz2
Description: Binary data


Re: svn commit: r200587 - /xmlgraphics/fop/trunk/README

2005-06-23 Thread The Web Maestro

Jeremias,

On Jun 23, 2005, at 1:26 PM, [EMAIL PROTECTED] wrote:

Author: jeremias
Date: Thu Jun 23 13:26:38 2005
New Revision: 200587

URL: http://svn.apache.org/viewcvs?rev=200587&view=rev
Log:
First SVN commit.
Correct mailing list info.


I could've sworn that this had already been updated a couple of months  
ago...



Modified:
xmlgraphics/fop/trunk/README

Modified: xmlgraphics/fop/trunk/README
URL:  
http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/README? 
rev=200587&r1=200586&r2=200587&view=diff
=== 
===

--- xmlgraphics/fop/trunk/README (original)
+++ xmlgraphics/fop/trunk/README Thu Jun 23 13:26:38 2005
@@ -13,8 +13,9 @@

 Please report bugs to bugzilla at  
http://issues.apache.org/bugzilla/


-A mailing list for how to use FOP is at fop-user@xml.apache.org  
(subscribe

-at [EMAIL PROTECTED])
+A mailing list for how to use FOP is at  
fop-users@xmlgraphics.apache.org

+(subscribe by sending an empty mail to
+[EMAIL PROTECTED])

 Before you post any questions, please have a look at the FAQ at
 http://xml.apache.org/fop/fo.html.


Shouldn't that look like this (note the URL change):

 Before you post any questions, please have a look at the FAQ at
 <http://xml.apache.org/fop/faq.html>.

Regards,

Web Maestro Clay
--
<[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet



Re: svn commit: r200587 - /xmlgraphics/fop/trunk/README

2005-06-23 Thread Jeremias Maerki
Hm: http://cvs.apache.org/viewcvs.cgi/xml-fop/README?rev=1.19&view=markup

On 23.06.2005 22:42:34 The Web Maestro wrote:
> Jeremias,
> 
> On Jun 23, 2005, at 1:26 PM, [EMAIL PROTECTED] wrote:
> > Author: jeremias
> > Date: Thu Jun 23 13:26:38 2005
> > New Revision: 200587
> >
> > URL: http://svn.apache.org/viewcvs?rev=200587&view=rev
> > Log:
> > First SVN commit.
> > Correct mailing list info.
> 
> I could've sworn that this had already been updated a couple of months  
> ago...


Jeremias Maerki



Re: svn commit: r200587 - /xmlgraphics/fop/trunk/README

2005-06-23 Thread Jeremias Maerki
Hehe, and that link won't work anymore now. The anonymous access to the
read-only CVS module has been removed. Means we have to change the info
on the website real quick.

On 23.06.2005 22:44:34 Jeremias Maerki wrote:
> Hm: http://cvs.apache.org/viewcvs.cgi/xml-fop/README?rev=1.19&view=markup
> 
> On 23.06.2005 22:42:34 The Web Maestro wrote:
> > Jeremias,
> > 
> > On Jun 23, 2005, at 1:26 PM, [EMAIL PROTECTED] wrote:
> > > Author: jeremias
> > > Date: Thu Jun 23 13:26:38 2005
> > > New Revision: 200587
> > >
> > > URL: http://svn.apache.org/viewcvs?rev=200587&view=rev
> > > Log:
> > > First SVN commit.
> > > Correct mailing list info.
> > 
> > I could've sworn that this had already been updated a couple of months  
> > ago...
> 
> 
> Jeremias Maerki



Jeremias Maerki



Re: svn commit: r239375 - /xmlgraphics/fop/trunk/publish.xml

2005-08-23 Thread Jeremias Maerki
I finally managed to use ForrestBot for FOP's website. I've
test-deployed it to http://xmlgraphics.apache.org/fop/. When everything
looks fine there (need to wait for the rsync first), I'll try to write
the necessary .htaccess file(s) in xml.apache.org/fop to redirect the
old site to the new one. Once that works fine, too, I'll remove the old
site from /www/xml.apache.org/fop and delete it in CVS. I'll also update
the site deployment docs.

At first I tried plain SCP with password authentication (the one that
comes with ForrestBot), but that didn't work and I had to copy the
deploy task and adjust it to support private key authentication. I used
SCP because I don't think it really makes sense to put all this under
version control. The whole website is rsynced and we can now recreate
the whole website quickly should it get lost.

On 23.08.2005 09:51:20 jeremias wrote:
> Author: jeremias
> Date: Tue Aug 23 00:51:16 2005
> New Revision: 239375
> 
> URL: http://svn.apache.org/viewcvs?rev=239375&view=rev
> Log:
> ForrestBot driver file using SCP for deployment of the FOP site to 
> http://xmlgraphics.apache.org/fop/ after building the site with Forrest. 
> Tested with Apache Forrest 0.7.
> 
> Build and deploy the FOP website using:
> ant -f publish.xml
> 
> See publish.xml for more info.
> 
> Added:
> xmlgraphics/fop/trunk/publish.xml   (with props)



Jeremias Maerki



Re: svn commit: r291860 - /xmlgraphics/fop/trunk/build.xml

2005-09-27 Thread Luca Furini

Added docs building with forrest
(needs Ant 1.6 and you need to run forrest once manually
as there's a bug with the plugin download)


Modified:
   xmlgraphics/fop/trunk/build.xml


Shouldn't the documentation target be an optional one, so as to let the 
user decide whether or not to install forrest?


At the moment, users without forrest are not able to compile fop.

Regards
Luca


Re: svn commit: r291860 - /xmlgraphics/fop/trunk/build.xml

2005-09-27 Thread Christian Geisert
Luca Furini schrieb:
>> Added docs building with forrest
>> (needs Ant 1.6 and you need to run forrest once manually
>> as there's a bug with the plugin download)
>>
>>
>> Modified:
>>xmlgraphics/fop/trunk/build.xml
> 
> Shouldn't the documentation target be an optional one, so as to let the
> user decide whether or not to install forrest?

Uhm sorry, of course it should work without forrest.

> At the moment, users without forrest are not able to compile fop.

I'll have a look at it later today

-- 
Christian


Re: svn commit: r292942 - /xmlgraphics/fop/trunk/build.xml

2005-10-01 Thread Manuel Mall
Simon,

I thought the whole hyphenation build was suppose to be removed from the 
trunk?

Manuel
On Sat, 1 Oct 2005 05:07 pm, [EMAIL PROTECTED] wrote:
> Author: spepping
> Date: Sat Oct  1 02:07:10 2005
> New Revision: 292942
>
> URL: http://svn.apache.org/viewcvs?rev=292942&view=rev
> Log:
> Build the hyphenation patterns under the build/classes directory.
>
> Modified:
> xmlgraphics/fop/trunk/build.xml
>
> Modified: xmlgraphics/fop/trunk/build.xml
> URL:
> http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/build.xml?rev=292
>942&r1=292941&r2=292942&view=diff
> =========
>= --- xmlgraphics/fop/trunk/build.xml (original)
> +++ xmlgraphics/fop/trunk/build.xml Sat Oct  1 02:07:10 2005
> @@ -389,8 +389,8 @@
>
>  
>   classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"
> classpathref="hyph-classpath"/> -
> -
> +
> +
>
>  
>
> @@ -399,7 +399,7 @@
>
> depends="compile-hyphenation">  property="jar.hyphenation.uptodate"
> targetfile="${build.dir}/fop-hyph.jar"> -   dir="${build.dir}/hyph"/>
> +  
>  
>
>
> @@ -407,7 +407,7 @@
>  
>
>  
> - includes="hyph/*.hyp"> + basedir="${build.classes.dir}" includes="hyph/*.hyp"> 
>  
>   value="${version}"/>
>
>
>
> -
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]


Re: svn commit: r292942 - /xmlgraphics/fop/trunk/build.xml

2005-10-01 Thread Andreas L Delmelle

On Oct 1, 2005, at 11:09, Manuel Mall wrote:

Hi Manuel,

I thought the whole hyphenation build was suppose to be removed from 
the

trunk?


Not entirely. It was the intention that there'd be no more patterns 
distributed with FOP, but it should still be possible, for people who 
check out the trunk sources, to download patterns from OFFO, put them 
in the right directory, and have them automatically be picked up when 
building. Or simply build a hyphenation JAR by running 'ant 
jar-hyphenation' (or whatever).


Convenient for the end-user :-)


Cheers,

Andreas



Re: svn commit: r292942 - /xmlgraphics/fop/trunk/build.xml

2005-10-01 Thread Manuel Mall
On Sat, 1 Oct 2005 05:26 pm, Andreas L Delmelle wrote:
> On Oct 1, 2005, at 11:09, Manuel Mall wrote:
>
> Hi Manuel,
>
> > I thought the whole hyphenation build was suppose to be removed
> > from the
> > trunk?
>
> Not entirely. It was the intention that there'd be no more patterns
> distributed with FOP, but it should still be possible, for people who
> check out the trunk sources, to download patterns from OFFO, put them
> in the right directory, and have them automatically be picked up when
> building. Or simply build a hyphenation JAR by running 'ant
> jar-hyphenation' (or whatever).
>
> Convenient for the end-user :-)
>
Andreas,

Thanks for clarifying this. Certainly makes sense to me now.

>
> Cheers,
>
> Andreas
Manuel


Re: [VOTE] Release FOP Trunk as FOP 0.90alpha1

2005-11-16 Thread Simon Pepping
+1

Simon

On Tue, Nov 15, 2005 at 09:14:12PM +0100, Jeremias Maerki wrote:
> This is it. Just to make it clear again: This is a a release vote and
> therefore a PMC vote, but every FOP committer is invited to place his
> vote or raise any objections. Noone gets ignored. Although fop-dev is in
> the CC, please place your votes on [EMAIL PROTECTED]
> 
> Even though I haven't fully finished all of the documentation, yet, I'd
> like to start the vote. I'll have everthing finished by tomorrow evening
> (CET). I don't intend to do any more code changes, only the last
> documentation updates.
> http://wiki.apache.org/xmlgraphics-fop/ReleasePlanFirstPR shows the
> release plan and the status of the proceedings.
> 
> I know of no legal problems needing attention. The external dependencies
> are well documented and every JAR in the lib directory is accompanied by
> its license. Hyphenation files have been removed. The unknown origin of
> some long-existing example FO files is not a problem IMO.
> 
> 0.90alpha1 will carry a big warning sign in the README file that the
> software is a preview release and should not be used in production
> unless thoroughly tested for the target environment. It is intended to
> let everybody know that FOP is back in business and to produce feedback
> on our new piece of software from users that don't (or can't) download
> the code from SVN.
> 
> I'd like to propose to release FOP SVN Trunk as version 0.90alpha1.
> 
> +1 from me, obviously.
> 
> Jeremias Maerki
> 
> 
> -
> Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Simon Pepping
home page: http://www.leverkruid.nl



Re: [VOTE] Release FOP Trunk as FOP 0.90alpha1

2005-11-18 Thread thomas . deweese
+1

Congratulations!


Jeremias Maerki <[EMAIL PROTECTED]> wrote on 11/15/2005 03:14:12 PM:

> This is it. Just to make it clear again: This is a a release vote and
> therefore a PMC vote, but every FOP committer is invited to place his
> vote or raise any objections. Noone gets ignored. Although fop-dev is in
> the CC, please place your votes on [EMAIL PROTECTED]
> 
> Even though I haven't fully finished all of the documentation, yet, I'd
> like to start the vote. I'll have everthing finished by tomorrow evening
> (CET). I don't intend to do any more code changes, only the last
> documentation updates.
> http://wiki.apache.org/xmlgraphics-fop/ReleasePlanFirstPR shows the
> release plan and the status of the proceedings.
> 
> I know of no legal problems needing attention. The external dependencies
> are well documented and every JAR in the lib directory is accompanied by
> its license. Hyphenation files have been removed. The unknown origin of
> some long-existing example FO files is not a problem IMO.
> 
> 0.90alpha1 will carry a big warning sign in the README file that the
> software is a preview release and should not be used in production
> unless thoroughly tested for the target environment. It is intended to
> let everybody know that FOP is back in business and to produce feedback
> on our new piece of software from users that don't (or can't) download
> the code from SVN.
> 
> I'd like to propose to release FOP SVN Trunk as version 0.90alpha1.
> 
> +1 from me, obviously.
> 
> Jeremias Maerki
> 
> 
> -
> Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



Re: svn commit: r348747 - /xmlgraphics/fop/trunk/build.xml

2005-11-24 Thread Christian Geisert
[EMAIL PROTECTED] schrieb:

> Going back to SVN Trunk mode.

[..]

> -  
> +  

Shouldn't this become 0.91svn?

-- 
Christian


Re: svn commit: r348747 - /xmlgraphics/fop/trunk/build.xml

2005-11-24 Thread Jeremias Maerki
Not necessarily. We've called it 0.90alpha1. I'd assume we'd have a
0.90beta or directly a 0.90 (final) first. But I guess that's open for
discussion. I don't care too much about it.

On 24.11.2005 17:56:23 Christian Geisert wrote:
> [EMAIL PROTECTED] schrieb:
> 
> > Going back to SVN Trunk mode.
> 
> [..]
> 
> > -  
> > +  
> 
> Shouldn't this become 0.91svn?
> 
> -- 
> Christian



Jeremias Maerki



Re: svn commit: r498774 - /xmlgraphics/fop/trunk/publish.xml

2007-01-22 Thread Jeremias Maerki
Oh, sh Now it dawns on me why I have all those property problems. I
bought a new machine last month and forgot to set up the SVN config.
Sorry about that!!!

On 22.01.2007 21:09:56 spepping wrote:
> Author: spepping
> Date: Mon Jan 22 12:09:56 2007
> New Revision: 498774
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=498774
> Log:
> svn propset svn:eol-style native publish.xml
> 
> Modified:
> xmlgraphics/fop/trunk/publish.xml   (contents, props changed)
> 
> Modified: xmlgraphics/fop/trunk/publish.xml
> URL: 
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/publish.xml?view=diff&rev=498774&r1=498773&r2=498774
> ==


Jeremias Maerki



Font symbol problem with the latest fop trunk

2008-03-02 Thread HLeonardi

Hello FOP developers,

When I transform in pdf a xsl-fo file that contains an element like
 →  (see xsl-fo file at
http://leohome.free.fr/FOP/test/lisez-moi1.xml.fo), the latest fop trunk
returns an exception. It does not happened with fop 0.94 or with the older
fop trunk (~ 2008 January)

Here is the message returned by fop trunk:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.xmlgraphics.fonts.Glyphs.getCharNameAlternativesFor(Ljava/lang/String;)[Ljava/lang/String;
at
org.apache.fop.fonts.AbstractCodePointMapping.mapChar(AbstractCodePointMapping.java:163)
at org.apache.fop.fonts.base14.Symbol.hasChar(Symbol.java:314)
at org.apache.fop.fonts.Font.hasChar(Font.java:219)
at
org.apache.fop.fo.properties.CommonHyphenation.getHyphChar(CommonHyphenation.java:132)
at
org.apache.fop.fo.properties.CommonHyphenation.getHyphIPD(CommonHyphenation.java:181)
at
org.apache.fop.layoutmgr.inline.TextLayoutManager.initialize(TextLayoutManager.java:198)
at
org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118)
at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:299)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:660)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:596)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107)
at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145)
at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:345)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:174)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:211)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:123)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)

What is wrong ?

Best regards

-- 
Hugues Leonardi

-- 
View this message in context: 
http://www.nabble.com/Font-symbol-problem-with-the-latest-fop-trunk-tp15789040p15789040.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



FYI: NullPointerException when building FOP trunk on Mac?

2008-04-18 Thread Andreas Delmelle


Hi

I updated my sandbox to include the processing-feedback changes, and  
after running 'ant clean', I got the following when running target  
resourcegen:


resourcegen:
[mkdir] Created dir: /Developer/javatools/xml-fop/build/codegen-classes
[javac] Compiling 3 source files to /Developer/javatools/xml-fop/ 
build/codegen-classes
[copy] Copying 2 files to /Developer/javatools/xml-fop/build/codegen- 
classes


BUILD FAILED
/Developer/javatools/xml-fop/build.xml:424:  
java.lang.NullPointerException


The reason for the NPE, was the fact that event-model.xml with me  
yielded an empty file...
This also happened here with a fresh trunk checkout (eliminating any  
local changes as the cause).


I suspected this to be caused by the XML parser/XSLT processor that  
come with the Apple 1.5 JVM (Xerces/Xalan, same as the Sun JVM).
First I tried switching only the TransformerFactory implementation,  
as suggested by Raphael Parree on fop-users@, and then the event- 
model.xml didn't get generated.

Instead of an NPE due to an empty file, I get a FileNotFoundException...

Finally succeeded by forcing the JVM to use both the Xerces and Xalan  
versions that are shipped with FOP.


No idea of the exact cause, but just thought I'd share this if there  
are other people running into similar trouble when building FOP on Mac.



Cheers

Andreas


RE: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread Manuel Mall
Did you to as the wiki suggests under 'Download the project files' a manual
checkout using the svn command line client first followed by a command line
ant build before setting up the project in NetBeans?

Manuel

> -Original Message-
> From: bonekrusher [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 20 May 2008 7:54 PM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Setting up FOP Trunk in Netbeans 6.1
> 
> 
> Hi,
> 
> I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
> is for Netbeans 4.1 which is very different from NetBeans 6.1
> 
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> 8cf54ad17f7876ad9c0b23823e69382715fd1225
> 
> I am having trouble checking out via subversion. The documentation is
> nothing like the 6.1.
> 
> I performed the following.
> 
> 1. Setup the project in NetBeans 6.1
> (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> f636b7648eca35f44bf9f56654c6182f1a4124cf)
> 
> 2. Connect the project to Subversion
> (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> 8cf54ad17f7876ad9c0b23823e69382715fd1225)
> 
> To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
> Versioning>SubVersion>Import into respository and enter
> "http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"
> 
> Nothing happens...
> 
> I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
> (r25188))
> 
> Can anyone provide some guidance? Once I get it running under 6.1 I would
> gladly update the Wiki.
> 
> Thanks,
> Bones
> --
> View this message in context: http://www.nabble.com/Setting-up-FOP-Trunk-
> in-Netbeans-6.1-tp17338581p17338581.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.


RE: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread Manuel Mall
And I should have added as documented under
http://xmlgraphics.apache.org/fop/dev/index.html the SVN repository URL is
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/.

But nevertheless you must do a command line ant build first before the
project is useable under NetBeans because some Java files are generated
using fop custom tools which are not available through the NetBeans build
process.

Manuel

> -Original Message-
> From: Manuel Mall [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 20 May 2008 8:56 PM
> To: 'fop-dev@xmlgraphics.apache.org'
> Subject: RE: Setting up FOP Trunk in Netbeans 6.1
> 
> Did you to as the wiki suggests under 'Download the project files' a
> manual
> checkout using the svn command line client first followed by a command
> line
> ant build before setting up the project in NetBeans?
> 
> Manuel
> 
> > -Original Message-
> > From: bonekrusher [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 20 May 2008 7:54 PM
> > To: fop-dev@xmlgraphics.apache.org
> > Subject: Setting up FOP Trunk in Netbeans 6.1
> >
> >
> > Hi,
> >
> > I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on
> line
> > is for Netbeans 4.1 which is very different from NetBeans 6.1
> >
> > http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> > 8cf54ad17f7876ad9c0b23823e69382715fd1225
> >
> > I am having trouble checking out via subversion. The documentation is
> > nothing like the 6.1.
> >
> > I performed the following.
> >
> > 1. Setup the project in NetBeans 6.1
> > (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> > f636b7648eca35f44bf9f56654c6182f1a4124cf)
> >
> > 2. Connect the project to Subversion
> > (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
> > 8cf54ad17f7876ad9c0b23823e69382715fd1225)
> >
> > To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I
> click
> > Versioning>SubVersion>Import into respository and enter
> > "http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"
> >
> > Nothing happens...
> >
> > I have confirmed SVN is installed and in my Path e.g. (svn, version
> 1.4.5
> > (r25188))
> >
> > Can anyone provide some guidance? Once I get it running under 6.1 I
> would
> > gladly update the Wiki.
> >
> > Thanks,
> > Bones
> > --
> > View this message in context: http://www.nabble.com/Setting-up-FOP-
> Trunk-
> > in-Netbeans-6.1-tp17338581p17338581.html
> > Sent from the FOP - Dev mailing list archive at Nabble.com.


Re: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread Peter B. West

Hi,

The NB notes are outdated. For a new installation, start with subversion.

In NB6.1, go to Versioning>Subversion>Checkout
Enter http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk as the 
Repository URL.


>Next

In the Checkout window, specify the local folder for checkout.

(Note: you may want to check the 'Skip "trunk" and checkout only its 
content' box. There seems to be a bug in the subversion module that puts 
an .svn directory in the parent of the checkout directory. If you check 
the box, and specify my/local/fop, an extra .svn may appear in 'local'. 
In that case, you may want to delete that extra directory. I've seen the 
extra directory a couple of times, and I'm not sure what triggers it.)


>Finish

Fop is checked out.

Find copies of ant.jar, xmlunit-1.1.jar and a copy of qdox-*.jar. These 
are required for the build and testing. Link or copy them into the 
fop/lib directory. Ask here where and what you need. It may be documented.


You now need to create a project. Not nice. Easiest way is probably to 
start with my project.xml, attached. Create a directory 'nbproject' in 
the top-level directory; 'trunk', if you checked out including 'trunk'. 
Drop project.xml in there.


Before you open the project, try running a preliminary build from the 
command line, to get the code generation done. That will make life 
easier for NB when the project is opened, but it is not essential.


Open Project>

Navigate to fop, and open the project. See what happens.



bonekrusher wrote:

Hi,

I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
is for Netbeans 4.1 which is very different from NetBeans 6.1 


http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225

I am having trouble checking out via subversion. The documentation is
nothing like the 6.1.  

I performed the following. 


1. Setup the project in NetBeans 6.1
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)

2. Connect the project to Subversion
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)

To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
Versioning>SubVersion>Import into respository and enter
"http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"

Nothing happens... 


I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
(r25188)) 


Can anyone provide some guidance? Once I get it running under 6.1 I would
gladly update the Wiki.

Thanks,
Bones



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

http://www.netbeans.org/ns/project/1";>
org.netbeans.modules.ant.freeform

http://www.netbeans.org/ns/freeform-project/1";>
fop

http://www.netbeans.org/ns/freeform-project/2";>

fop



fop
.
UTF-8


src/java
java
src/java
UTF-8


build/gensrc
java
build/gensrc
UTF-8


src/codegen/java
java
src/codegen/java
UTF-8


test/java
java
test/java
UTF-8




jar-main


clean


javadocs


clean
jar-main



jar
build/fop.jar
jar-main


folder
build/classes
jar-main


folder
build/classes
jar-main


folder
build/codegen-classes
jar-main


folder
build/classes
jar-main




src/java
src/java


build/gensrc
build/gensrc


src/codegen/java
   

Re: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread bonekrusher

Thanks for the help. I really appreciate it. I failed to download the trunk
as it was pointed out :).

When trying to check out via subversion command lime, I recieve an error.

C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/

svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read status
line:
 An existing connection was forcibly closed by the remote host.  
(http://svn.ap
ache.org) 


What am I missing?

Thanks,


Peter B. West wrote:
> 
> Hi,
> 
> The NB notes are outdated. For a new installation, start with subversion.
> 
> In NB6.1, go to Versioning>Subversion>Checkout
> Enter http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk as the 
> Repository URL.
> 
>  >Next
> 
> In the Checkout window, specify the local folder for checkout.
> 
> (Note: you may want to check the 'Skip "trunk" and checkout only its 
> content' box. There seems to be a bug in the subversion module that puts 
> an .svn directory in the parent of the checkout directory. If you check 
> the box, and specify my/local/fop, an extra .svn may appear in 'local'. 
> In that case, you may want to delete that extra directory. I've seen the 
> extra directory a couple of times, and I'm not sure what triggers it.)
> 
>  >Finish
> 
> Fop is checked out.
> 
> Find copies of ant.jar, xmlunit-1.1.jar and a copy of qdox-*.jar. These 
> are required for the build and testing. Link or copy them into the 
> fop/lib directory. Ask here where and what you need. It may be documented.
> 
> You now need to create a project. Not nice. Easiest way is probably to 
> start with my project.xml, attached. Create a directory 'nbproject' in 
> the top-level directory; 'trunk', if you checked out including 'trunk'. 
> Drop project.xml in there.
> 
> Before you open the project, try running a preliminary build from the 
> command line, to get the code generation done. That will make life 
> easier for NB when the project is opened, but it is not essential.
> 
> Open Project>
> 
> Navigate to fop, and open the project. See what happens.
> 
> 
> 
> bonekrusher wrote:
>> Hi,
>> 
>> I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on
>> line
>> is for Netbeans 4.1 which is very different from NetBeans 6.1 
>> 
>> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225
>> 
>> I am having trouble checking out via subversion. The documentation is
>> nothing like the 6.1.  
>> 
>> I performed the following. 
>> 
>> 1. Setup the project in NetBeans 6.1
>> (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)
>> 
>> 2. Connect the project to Subversion
>> (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)
>> 
>> To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
>> Versioning>SubVersion>Import into respository and enter
>> "http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/"; and click "ok"
>> 
>> Nothing happens... 
>> 
>> I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
>> (r25188)) 
>> 
>> Can anyone provide some guidance? Once I get it running under 6.1 I would
>> gladly update the Wiki.
>> 
>> Thanks,
>> Bones
> 
> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 
> http://www.netbeans.org/ns/project/1";>
> org.netbeans.modules.ant.freeform
> 
>  xmlns="http://www.netbeans.org/ns/freeform-project/1";>
> fop
> 
>  xmlns="http://www.netbeans.org/ns/freeform-project/2";>
> 
> fop
> 
> 
> 
> fop
> .
> UTF-8
> 
> 
> src/java
> java
> src/java
> UTF-8
> 
> 
> build/gensrc
> java
> build/gensrc
> UTF-8
> 
> 
> src/codegen/java
> java
> src/codegen/java
>  

Re: Setting up FOP Trunk in Netbeans 6.1

2008-05-21 Thread Peter B. West
You're not necessarily missing anything. I had the same failure on one 
of my attempts, and all attempts were appallingly slow. I thought it may 
have been a problem with my ISP, but apparently not (unless you're with 
TPG.)


Try again. If it persists, try a manual checkout using your local svn 
client. Then proceed with adding the nbproject directory. etc.



bonekrusher wrote:

Thanks for the help. I really appreciate it. I failed to download the trunk
as it was pointed out :).

When trying to check out via subversion command lime, I recieve an error.

C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/

svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read status
line:
 An existing connection was forcibly closed by the remote host.  
(http://svn.ap
ache.org) 



What am I missing?

Thanks,



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


Re: Setting up FOP Trunk in Netbeans 6.1

2008-05-22 Thread bonekrusher

Ok, I am not crazy! thanks I will try your suggestion and if I have any
problems, I will post a new thread


Regards,
Bones


Peter B. West wrote:
> 
> You're not necessarily missing anything. I had the same failure on one 
> of my attempts, and all attempts were appallingly slow. I thought it may 
> have been a problem with my ISP, but apparently not (unless you're with 
> TPG.)
> 
> Try again. If it persists, try a manual checkout using your local svn 
> client. Then proceed with adding the nbproject directory. etc.
> 
> 
> bonekrusher wrote:
>> Thanks for the help. I really appreciate it. I failed to download the
>> trunk
>> as it was pointed out :).
>> 
>> When trying to check out via subversion command lime, I recieve an error.
>> 
>> C:\fop_Home>svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/
>> 
>> svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
>> svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read
>> status
>> line:
>>  An existing connection was forcibly closed by the remote host.  
>> (http://svn.ap
>> ache.org) 
>> 
>> 
>> What am I missing?
>> 
>> Thanks,
>> 
>> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17404475.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread Peter B. West

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/>


Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread bonekrusher

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/>
> 
> 

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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread Jeremias Maerki
Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
unexpected side-effects.

On 09.07.2008 16:15:54 bonekrusher wrote:
> 
> I downloaded the latest Trunk this morning, which should be the latest.
> Correct?
 



Jeremias Maerki



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread Adrian Cumiskey

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/>








Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread bonekrusher

Jeremias - thanks, that did the trick.

Now I am on to see if I can fix the table-continued implementation. Wish me
luck :)

Regards,


Jeremias Maerki-2 wrote:
> 
> Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
> wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
> unexpected side-effects.
> 
> On 09.07.2008 16:15:54 bonekrusher wrote:
>> 
>> I downloaded the latest Trunk this morning, which should be the latest.
>> Correct?
>  
> 
> 
> 
> Jeremias Maerki
> 
> 
> 

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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread bonekrusher

I spoke to soon. I am getting the same error after the clean.

I am using Java 1.6

Any ideas?

thx


Jeremias Maerki-2 wrote:
> 
> Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
> wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
> unexpected side-effects.
> 
> On 09.07.2008 16:15:54 bonekrusher wrote:
>> 
>> I downloaded the latest Trunk this morning, which should be the latest.
>> Correct?
>  
> 
> 
> 
> Jeremias Maerki
> 
> 
> 

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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread Jeremias Maerki
Not really. Please do "ant clean package >out.txt" and send me the
"out.txt" file (off-list).

On 09.07.2008 16:45:48 bonekrusher wrote:
> 
> I spoke to soon. I am getting the same error after the clean.
> 
> I am using Java 1.6
> 
> Any ideas?
> 
> thx
> 
> 
> Jeremias Maerki-2 wrote:
> > 
> > Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
> > wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
> > unexpected side-effects.
> > 
> > On 09.07.2008 16:15:54 bonekrusher wrote:
> >> 
> >> I downloaded the latest Trunk this morning, which should be the latest.
> >> Correct?
> >  
> > 
> > 
> > 
> > Jeremias Maerki
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18363253.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.




Jeremias Maerki



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-09 Thread bonekrusher

Hi  Jeremias - I set you an email. Let me know if you received it. thx


Jeremias Maerki-2 wrote:
> 
> Not really. Please do "ant clean package >out.txt" and send me the
> "out.txt" file (off-list).
> 
> On 09.07.2008 16:45:48 bonekrusher wrote:
>> 
>> I spoke to soon. I am getting the same error after the clean.
>> 
>> I am using Java 1.6
>> 
>> Any ideas?
>> 
>> thx
>> 
>> 
>> Jeremias Maerki-2 wrote:
>> > 
>> > Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
>> > wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
>> > unexpected side-effects.
>> > 
>> > On 09.07.2008 16:15:54 bonekrusher wrote:
>> >> 
>> >> I downloaded the latest Trunk this morning, which should be the
>> latest.
>> >> Correct?
>> >  
>> > 
>> > 
>> > 
>> > Jeremias Maerki
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18363253.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-tp18359419p18367327.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Re: Building FOP Trunk with Ant - BUILD FAILED

2008-07-11 Thread Leeloo5E-FOP

Hi,

got the same problem when trying to build FOP from Trunk with the
pre-installed version 1.6.5 of ant on a linux maschine. Using version 1.7.0
instead, the build runs fine. I do not try the newest version 1.7.1 of ant
yet (I comes out on june 28th). For building FOP from Trunk I used the
pre-installed jre 1.4.2 or 1.5.0 from SUN on my linux maschines.

Thats my suggestions.

Best Regards,
Lee


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:?
> 

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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-11 Thread Jeremias Maerki
Bonekrusher and I had an exchange off-list. He did a few tests for me
and my recent change didn't help either.

Basically, we established the following:
- He's also running WinXP
- He's running the same JDK as I do.
- The XSLT processor used in the context of the error is a normal Apache
Xalan, just like on my machine.

I think Adrian's comment (about the file URL) could be a good hint at
what's wrong but I have no idea where this is coming from. Short of
debugging the code on Bonekrusher's machine I have no idea how to fix
this problem.

On 09.07.2008 19:58:20 bonekrusher wrote:
> 
> Hi  Jeremias - I set you an email. Let me know if you received it. thx
> 
> 
> Jeremias Maerki-2 wrote:
> > 
> > Not really. Please do "ant clean package >out.txt" and send me the
> > "out.txt" file (off-list).
> > 
> > On 09.07.2008 16:45:48 bonekrusher wrote:
> >> 
> >> I spoke to soon. I am getting the same error after the clean.
> >> 
> >> I am using Java 1.6
> >> 
> >> Any ideas?
> >> 
> >> thx
> >> 
> >> 
> >> Jeremias Maerki-2 wrote:
> >> > 
> >> > Yes. Works fine for me, BTW. An "ant clean" prior to the build can work
> >> > wonders sometimes. Also, make sure you're using a Sun JVM to avoid any
> >> > unexpected side-effects.
> >> > 
> >> > On 09.07.2008 16:15:54 bonekrusher wrote:
> >> >> 
> >> >> I downloaded the latest Trunk this morning, which should be the
> >> latest.
> >> >> Correct?
> >> >  
> >> > 
> >> > 
> >> > 
> >> > Jeremias Maerki
> >> > 
> >> > 
> >> > 
> >> 
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/Building-FOP-Trunk-with-Ant---BUILD-FAILED-tp18359419p18363253.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-tp18359419p18367327.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.




Jeremias Maerki



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-12 Thread Andreas Delmelle

On Jul 11, 2008, at 13:22, Jeremias Maerki wrote:


Bonekrusher and I had an exchange off-list. He did a few tests for me
and my recent change didn't help either.

Basically, we established the following:
- He's also running WinXP
- He's running the same JDK as I do.


The /exact/ same one (identical build)?

Just asking, since I remember running across some issues/ 
inconsistencies in the way the java.net.URL and java.net.URI  
translate themselves to a String.
Maybe that's what's playing here... Is the warning about the  
deprecated File.toURL() maybe related and a hint?


As of Java 6, the recommended way is to use File.toURI().toURL().  
According to the API docs, File.toURL() "does not automatically  
escape characters that are illegal in URLs. It is recommended that  
new code convert an abstract pathname into a URL by first converting  
it into a URI, via the toURI method, and then converting the URI into  
a URL via the URI.toURL method."


Makes you wonder why the implementation of toURL() then does not  
simply do that already... I assume this is for reasons of backward- 
compatibility, so as to not break any existing code that relies on  
that behavior (?)




Cheers

Andreas


Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-12 Thread Jeremias Maerki
On 12.07.2008 11:56:23 Andreas Delmelle wrote:
> On Jul 11, 2008, at 13:22, Jeremias Maerki wrote:
> 
> > Bonekrusher and I had an exchange off-list. He did a few tests for me
> > and my recent change didn't help either.
> >
> > Basically, we established the following:
> > - He's also running WinXP
> > - He's running the same JDK as I do.
> 
> The /exact/ same one (identical build)?

Yes, Sun 1.6.0_04

> 
> Just asking, since I remember running across some issues/ 
> inconsistencies in the way the java.net.URL and java.net.URI  
> translate themselves to a String.
> Maybe that's what's playing here... Is the warning about the  
> deprecated File.toURL() maybe related and a hint?

If it is in fact the file URL that's the problem, I'm pretty sure the
problem happens within Xalan as I'm passing in a StreamResult(File).

> As of Java 6, the recommended way is to use File.toURI().toURL().  
> According to the API docs, File.toURL() "does not automatically  
> escape characters that are illegal in URLs. It is recommended that  
> new code convert an abstract pathname into a URL by first converting  
> it into a URI, via the toURI method, and then converting the URI into  
> a URL via the URI.toURL method."

I guess it makes sense to change all occurences now that we're on Java
1.4. I've changed the StreamSource(File) to
StreamSource(File.toURI().toURL().toExternalForm()) as a first
experiment. Bonekrusher can then retry on his machine.
http://svn.apache.org/viewvc?rev=676161&view=rev

On my machine the following:
System.out.println(outputFile.toURI().toASCIIString());
System.out.println(outputFile.toURI().toString());
System.out.println(outputFile.toURI().toURL().toExternalForm());
System.out.println(outputFile.toURL().toExternalForm());
yielded the following results:
[eventResourceGenerator] 
file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
[eventResourceGenerator] 
file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
[eventResourceGenerator] 
file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
[eventResourceGenerator] 
file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml

Just for reference, Bonekrusher got
file:\C:\fop_trunk\trunk\build\gensrc\org\apache\fop\events\event-model.xml
on his machine (see his first post).

> Makes you wonder why the implementation of toURL() then does not  
> simply do that already... I assume this is for reasons of backward- 
> compatibility, so as to not break any existing code that relies on  
> that behavior (?)

Probably.

> 
> 
> Cheers
> 
> Andreas




Jeremias Maerki



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 email Jeremias the out.txt file.

I also tried the the version
(src/java/org/apache/fop/events/model/EventModel.java) posted, but got a
bunch of errors. I will send that report to.

Bones



Jeremias Maerki-2 wrote:
> 
> On 12.07.2008 11:56:23 Andreas Delmelle wrote:
>> On Jul 11, 2008, at 13:22, Jeremias Maerki wrote:
>> 
>> > Bonekrusher and I had an exchange off-list. He did a few tests for me
>> > and my recent change didn't help either.
>> >
>> > Basically, we established the following:
>> > - He's also running WinXP
>> > - He's running the same JDK as I do.
>> 
>> The /exact/ same one (identical build)?
> 
> Yes, Sun 1.6.0_04
> 
>> 
>> Just asking, since I remember running across some issues/ 
>> inconsistencies in the way the java.net.URL and java.net.URI  
>> translate themselves to a String.
>> Maybe that's what's playing here... Is the warning about the  
>> deprecated File.toURL() maybe related and a hint?
> 
> If it is in fact the file URL that's the problem, I'm pretty sure the
> problem happens within Xalan as I'm passing in a StreamResult(File).
> 
>> As of Java 6, the recommended way is to use File.toURI().toURL().  
>> According to the API docs, File.toURL() "does not automatically  
>> escape characters that are illegal in URLs. It is recommended that  
>> new code convert an abstract pathname into a URL by first converting  
>> it into a URI, via the toURI method, and then converting the URI into  
>> a URL via the URI.toURL method."
> 
> I guess it makes sense to change all occurences now that we're on Java
> 1.4. I've changed the StreamSource(File) to
> StreamSource(File.toURI().toURL().toExternalForm()) as a first
> experiment. Bonekrusher can then retry on his machine.
> http://svn.apache.org/viewvc?rev=676161&view=rev
> 
> On my machine the following:
> System.out.println(outputFile.toURI().toASCIIString());
> System.out.println(outputFile.toURI().toString());
> System.out.println(outputFile.toURI().toURL().toExternalForm());
> System.out.println(outputFile.toURL().toExternalForm());
> yielded the following results:
> [eventResourceGenerator]
> file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
> [eventResourceGenerator]
> file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
> [eventResourceGenerator]
> file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
> [eventResourceGenerator]
> file:/C:/Dev/FOP/main/xml-fop-temp/build/gensrc/org/apache/fop/events/event-model.xml
> 
> Just for reference, Bonekrusher got
> file:\C:\fop_trunk\trunk\build\gensrc\org\apache\fop\events\event-model.xml
> on his machine (see his first post).
> 
>> Makes you wonder why the implementation of toURL() then does not  
>> simply do that already... I assume this is for reasons of backward- 
>> compatibility, so as to not break any existing code that relies on  
>> that behavior (?)
> 
> Probably.
> 
>> 
>> 
>> Cheers
>> 
>> Andreas
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> 

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



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/endorsed directory in the Java home dir (create if it does  
not exist).


Then try to run the clean build again.

It's a long shot, but maybe if the Xerces/Xalan implementations are  
forced to be the same ones that FOP ships with...



HTH!

Cheers

Andreas


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 errors.

I will email Jeremias the out.txt file.

I also tried the the version
(src/java/org/apache/fop/events/model/EventModel.java) posted, but got a
bunch of errors. I will send that report to.

Bones



What does
 ant -version
tell you?

How do you find out which command is being executed in Windows? In 
linux, you execute

 which ant
or
 type ant

Can you do the equivalent on your system.

Can you list the files and file sizes of lib and lib/build?

--
Peter B. West 
Folio 


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 unable to build with ant. I get another set of errors.
I will email Jeremias the out.txt file.
I also tried the the version
(src/java/org/apache/fop/events/model/EventModel.java) posted, but  
got a

bunch of errors. I will send that report to.
Bones


What does
 ant -version
tell you?

How do you find out which command is being executed in Windows? In  
linux, you execute

 which ant


Come to think of it, also check whether there is a JAVACMD  
environment variable that points to a java executable in a location  
other than JAVA_HOME/bin.
In that case, the Java home echoed by the build script may throw one  
off course in determining the version of Java that is actually used.



Cheers

Andreas



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 back in a few minutes.

Bones




Andreas Delmelle-2 wrote:
> 
> 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 unable to build with ant. I get another set of errors.
>>> I will email Jeremias the out.txt file.
>>> I also tried the the version
>>> (src/java/org/apache/fop/events/model/EventModel.java) posted, but  
>>> got a
>>> bunch of errors. I will send that report to.
>>> Bones
>>
>> What does
>>  ant -version
>> tell you?
>>
>> How do you find out which command is being executed in Windows? In  
>> linux, you execute
>>  which ant
> 
> Come to think of it, also check whether there is a JAVACMD  
> environment variable that points to a java executable in a location  
> other than JAVA_HOME/bin.
> In that case, the Java home echoed by the build script may throw one  
> off course in determining the version of Java that is actually used.
> 
> 
> Cheers
> 
> Andreas
> 
> 
> 

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



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
> [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 back in a few minutes.
> 
> Bones
> 
> 
> 
> 
> Andreas Delmelle-2 wrote:
>> 
>> 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 unable to build with ant. I get another set of errors.
>>>> I will email Jeremias the out.txt file.
>>>> I also tried the the version
>>>> (src/java/org/apache/fop/events/model/EventModel.java) posted, but  
>>>> got a
>>>> bunch of errors. I will send that report to.
>>>> Bones
>>>
>>> What does
>>>  ant -version
>>> tell you?
>>>
>>> How do you find out which command is being executed in Windows? In  
>>> linux, you execute
>>>  which ant
>> 
>> Come to think of it, also check whether there is a JAVACMD  
>> environment variable that points to a java executable in a location  
>> other than JAVA_HOME/bin.
>> In that case, the Java home echoed by the build script may throw one  
>> off course in determining the version of Java that is actually used.
>> 
>> 
>> Cheers
>> 
>> Andreas
>> 
>> 
>> 
> 
> 

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



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 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
[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 back in a few minutes.

Bones




Andreas Delmelle-2 wrote:

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 unable to build with ant. I get another set of errors.
I will email Jeremias the out.txt file.
I also tried the the version
(src/java/org/apache/fop/events/model/EventModel.java) posted, but  
got a

bunch of errors. I will send that report to.
Bones

What does
 ant -version
tell you?

How do you find out which command is being executed in Windows? In  
linux, you execute

 which ant
Come to think of it, also check whether there is a JAVACMD  
environment variable that points to a java executable in a location  
other than JAVA_HOME/bin.
In that case, the Java home echoed by the build script may throw one  
off course in determining the version of Java that is actually used.



Cheers

Andreas










--
Peter B. West 
Folio 


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 would leave me to believe that the problem lies in the trunk version.

Bones.


Peter B. West wrote:
> 
> 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 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
>>> [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 back in a few minutes.
>>>
>>> Bones
>>>
>>>
>>>
>>>
>>> Andreas Delmelle-2 wrote:
>>>> 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 unable to build with ant. I get another set of errors.
>>>>>> I will email Jeremias the out.txt file.
>>>>>> I also tried the the version
>>>>>> (src/java/org/apache/fop/events/model/EventModel.java) posted, but  
>>>>>> got a
>>>>>> bunch of errors. I will send that report to.
>>>>>> Bones
>>>>> What does
>>>>>  ant -version
>>>>> tell you?
>>>>>
>>>>> How do you find out which command is being executed in Windows? In  
>>>>> linux, you execute
>>>>>  which ant
>>>> Come to think of it, also check whether there is a JAVACMD  
>>>> environment variable that points to a java executable in a location  
>>>> other than JAVA_HOME/bin.
>>>> In that case, the Java home echoed by the build script may throw one  
>>>> off course in determining the version of Java that is actually used.
>>>>
>>>>
>>>> Cheers
>>>>
>>>> Andreas
>>>>
>>>>
>>>>
>>>
>> 
> 
> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

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



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 successfully build.
This would leave me to believe that the problem lies in the trunk version.

Bones.


You've found a real head-scratcher. I've just done an update on fop, and 
run a clean, followed by package. I don't generally run the tests. The 
build was OK.  H


Can you look at the lib differences between 0.94 and trunk?

--
Peter B. West 
Folio 


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 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 would leave me to believe that the problem lies in the trunk  
version.

Bones.


You've found a real head-scratcher. I've just done an update on fop,  
and run a clean, followed by package. I don't generally run the  
tests. The build was OK.  H


Can you look at the lib differences between 0.94 and trunk?

--
Peter B. West 
Folio 




PGP.sig
Description: This is a digitally signed message part


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 if that helps.
> 
> Max
> 
> 
> Am 13.07.2008 um 18:24 schrieb 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  
>>> successfully build.
>>> This would leave me to believe that the problem lies in the trunk  
>>> version.
>>> Bones.
>>
>> You've found a real head-scratcher. I've just done an update on fop,  
>> and run a clean, followed by package. I don't generally run the  
>> tests. The build was OK.  H
>>
>> Can you look at the lib differences between 0.94 and trunk?
>>
>> -- 
>> Peter B. West <http://cv.pbw.id.au/>
>> Folio <http://defoe.sourceforge.net/folio/>
> 
> 
>  
> 

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



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\jdk1.6.0_04\bin\java.exe

would be more correct.

Anyway, if none exists, there is also no way in which this could  
interfere with the build-process, so it's not necessary to create  
one. It's only so that Ant, if it finds a JAVACMD variable, uses that  
java.exe, rather than the one under %JAVA_HOME%/bin, while the build  
script will still display the version corresponding to the latter...



Andreas



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, run a clean build and report back  
on whether that changed anything?



Thanks

Andreas


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.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.



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 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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-14 Thread bonekrusher

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.



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-14 Thread Peter B. West

bonekrusher wrote:

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.


Well, it's incorrect URL syntax. Presumably
${build.gensrc.dir}/org/apache/fop/events/event-model.xml
(see line 353) is being passed in as a file path, not a URL.

Put
basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
immediately in front of line 352 to verify. It could be a mixed forward 
and backslashed path.


In any case, it seems to be getting converted into a badly formed file: 
URL within the ant task.

--
Peter B. West 
Folio 


Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-14 Thread bonekrusher

Peter,

Which file is this?

basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
immediately in front of line 352 to verify. It could be a mixed forward
and backslashed path. 


Phil


Peter B. West wrote:
> 
> bonekrusher wrote:
>> 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.
> 
> Well, it's incorrect URL syntax. Presumably
> ${build.gensrc.dir}/org/apache/fop/events/event-model.xml
> (see line 353) is being passed in as a file path, not a URL.
> 
> Put
> basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
> immediately in front of line 352 to verify. It could be a mixed forward 
> and backslashed path.
> 
> In any case, it seems to be getting converted into a badly formed file: 
> URL within the ant task.
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

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



Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-15 Thread Peter B. West

It looks suspiciously like this guy:
C:\foptrunk2\trunk\build\gensrc\org\apache\fop\events\event-model.xml
(Line 353 btw)

It would be nice to see what is actually being passed into the 
eventResourceGenerator task.


bonekrusher wrote:

Peter,

Which file is this?

basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
immediately in front of line 352 to verify. It could be a mixed forward
and backslashed path. 



Phil


Peter B. West wrote:

bonekrusher wrote:

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.

Well, it's incorrect URL syntax. Presumably
${build.gensrc.dir}/org/apache/fop/events/event-model.xml
(see line 353) is being passed in as a file path, not a URL.

Put
basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
immediately in front of line 352 to verify. It could be a mixed forward 
and backslashed path.


In any case, it seems to be getting converted into a badly formed file: 
URL within the ant task.

--
Peter B. West 
Folio 







--
Peter B. West 
Folio 


Re: Building FOP Trunk with Any - BUILD FAILED

2008-07-15 Thread bonekrusher

Thanks Peter. 

C:\foptrunk2\trunk\build\gensrc\org\apache\fop\events\event-model.xml 

This file is missing.


Peter B. West wrote:
> 
> It looks suspiciously like this guy:
> C:\foptrunk2\trunk\build\gensrc\org\apache\fop\events\event-model.xml
> (Line 353 btw)
> 
> It would be nice to see what is actually being passed into the 
> eventResourceGenerator task.
> 
> bonekrusher wrote:
>> Peter,
>> 
>> Which file is this?
>> 
>> basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
>> immediately in front of line 352 to verify. It could be a mixed forward
>> and backslashed path. 
>> 
>> 
>> Phil
>> 
>> 
>> Peter B. West wrote:
>>> bonekrusher wrote:
>>>> 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.
>>> Well, it's incorrect URL syntax. Presumably
>>> ${build.gensrc.dir}/org/apache/fop/events/event-model.xml
>>> (see line 353) is being passed in as a file path, not a URL.
>>>
>>> Put
>>> basedir ${basedir} build.gensrc.dir ${build.gensrc.dir}
>>> immediately in front of line 352 to verify. It could be a mixed forward 
>>> and backslashed path.
>>>
>>> In any case, it seems to be getting converted into a badly formed file: 
>>> URL within the ant task.
>>> -- 
>>> Peter B. West <http://cv.pbw.id.au/>
>>> Folio <http://defoe.sourceforge.net/folio/>
>>>
>>>
>> 
> 
> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

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



  1   2   3   4   5   6   7   8   9   10   >