Dear Wiki user, You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.
The following page has been changed by Bonekrusher: http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide ------------------------------------------------------------------------------ Under Tools/Options/Building/Checkstyle Settings set the Checkstyle Properties file location to the checkstyle.xml that comes with the SVN checkout of FOP. + ---- + + == Setup for NetBeans (6.5) == + + Netbeans 6.5 or later has built in support for SVN (Subversion). SVN allows you to work on the latest trunk version of Apache's FOP. See [http://subversion.tigris.org/] for more information on SVN. + + This tutorial assumes you are familiar with Netbeans, Apache's Ant and SVN. In order to set up the FOP in Netbeans 6.5, you will need the following installed: + + * Apache Ant [http://ant.apache.org/bindownload.cgi] + + * Netbeans 6.5 [http://www.netbeans.org/downloads/] + + * Java Advanced Imaging Binary Builds [https://jai.dev.java.net/binary-builds.html]. For windows, download jai-1_1_2_01-lib-windows-i586.exe (this needs to be installed). + + * Saxon (saxon9-dom.jar) [http://saxon.sourceforge.net/] + + ==== Check out the trunk ==== + + * Start Netbeans 6.5 + + * Click 'Versioning', 'Checkout' + + http://www.aviationcontentmanagement.com/images/netbeans/checkout.png + + * The check out dialog box will open. In the Repository URL put:[https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk] + + http://www.aviationcontentmanagement.com/images/netbeans/checkout2.png + + * Click 'Next' + + * In the local Folder textbox, choose a location where you want the trunk version to be downloaded to. You will need to remember this location for when you create your Netbeans project. + + http://www.aviationcontentmanagement.com/images/netbeans/checkout3.png + + * The check out process may take several minutes. After checking out the trunk, you will need to do an Ant build. + + ==== Run an Ant build ==== + + * Do an Ant build of the trunk that you downloaded. + + http://www.aviationcontentmanagement.com/images/netbeans/ant1.png + + http://www.aviationcontentmanagement.com/images/netbeans/ant2.png + + + ==== Creating the Project ==== + + * In Netbeans, click 'New Project' + + * The New Project dialog box opens. + + * In the Catagories, choose 'Java" and then choose "Java Project with Existing Sources' from the projects window. + + * Click 'Next' + + http://www.aviationcontentmanagement.com/images/netbeans/step1.png + + * The 'Java Project with Existing Sources' dialog will open. + + * In the Project Name textbox, give your project a name (e.g. Fop). + + * Choose your Project Folder. + + * Click 'Next' + + http://www.aviationcontentmanagement.com/images/netbeans/step2.png + + * Now you will need to add your Existing Sources. + * Click the 'Add Folder' + + http://www.aviationcontentmanagement.com/images/netbeans/step3.png + + * Navigate to where you downloaded the trunk to. (e.g. c:\foptrunk2) + + * Add the Folders: ( this assumes your downloaded version of Fop Trunk is c:\foptrunk2 + + - c:\foptrunk2\src\java + + - c:\foptrunk2\build\gensrc + + http://www.aviationcontentmanagement.com/images/netbeans/step4.png + + * Click 'Next' + + * The next step is the Includes and Excludes dialog. + + * Give Netbeans a few minutes to load all the included files. + + * Click 'Finished' + + http://www.aviationcontentmanagement.com/images/netbeans/step5.png + + * Now, netbeans will create the project. When Netbeans finishes, you will notice a number of resources missing: + + http://www.aviationcontentmanagement.com/images/netbeans/step6.png + + http://www.aviationcontentmanagement.com/images/netbeans/step7.png + + * You will need to a number of dependencies for your project. + + http://www.aviationcontentmanagement.com/images/netbeans/step8.png + + * Jai (by default (windows) located in 'C:\jai-1_1_2_01\lib') + + - jai_codec.jar + + - jai_core.jar + + - mlibwrapper_jai.jar + + * Saxon + + - saxon9-dom.jar (Download from [http://saxon.sourceforge.net/] and place in the your \lib folder of the fop trunk e.g. c:\foptrunk2\lib) + + http://www.aviationcontentmanagement.com/images/netbeans/saxon.png + + * FOP + + - avalon-framework-4.2.0.jar + + - batik-all-1.7.jar + + - commons-io-1.3.1.jar + + - commons-logging-1.0.4.jar + + - saxon9-dom.jar + + - serializer-2.7.0.jar + + - servlet-2.2.jar + + - xalan-2.7.0.jar + + - xercesImpl-2.7.1.jar + + - xml-apis-1.3.04.jar + + - xml-apis-ext-1.3.04.jar + + - xmlgraphics-commons-1.4svn.jar + + * Ant + + - ant.jar (located in the ant director e.g. c:\ant\lib) + + http://www.aviationcontentmanagement.com/images/netbeans/step8a.png + + http://www.aviationcontentmanagement.com/images/netbeans/step8b.png + + http://www.aviationcontentmanagement.com/images/netbeans/step9.png + + * Netbeans will take a few minutes to import the resources. + + * If all goes well, you will see: + + http://www.aviationcontentmanagement.com/images/netbeans/finished.png + + * That's it! Good Luck. + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
