RE: FOP Trunk
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
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 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
Re: FOP Trunk
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: 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
RE: FOP Trunk
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 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
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 !DOCTYPE tag and never closes it).
RE: FOP Trunk
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 !DOCTYPE tag and never closes it).
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 !DOCTYPE tag and never closes it).
Re: FOP Trunk
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 attachment: yannick_majoros.vcf
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 !DOCTYPE tag and never closes it).
Re: FOP Trunk
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 !DOCTYPE tag and never closes it). Jeremias Maerki
RE: FOP Trunk
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 !DOCTYPE tag and never closes it).
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. -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