From 1c12af6c31dba3406265b0ec30b404c265e63691 Mon Sep 17 00:00:00 2001 From: William Victor Mote Date: Tue, 25 Mar 2003 00:30:18 +0000 Subject: [PATCH] Add a "tools" page for FOP-related comments about development tools. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196133 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/dev/book.xml | 1 + src/documentation/content/xdocs/dev/tools.xml | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/documentation/content/xdocs/dev/tools.xml diff --git a/src/documentation/content/xdocs/dev/book.xml b/src/documentation/content/xdocs/dev/book.xml index 8bd79d1ca..dfdcd8fbb 100644 --- a/src/documentation/content/xdocs/dev/book.xml +++ b/src/documentation/content/xdocs/dev/book.xml @@ -26,5 +26,6 @@ + diff --git a/src/documentation/content/xdocs/dev/tools.xml b/src/documentation/content/xdocs/dev/tools.xml new file mode 100644 index 000000000..85311d8d7 --- /dev/null +++ b/src/documentation/content/xdocs/dev/tools.xml @@ -0,0 +1,29 @@ + + + + +
+ Developer Tools +
+ +

This page documents items that may be helpful to other developers, especially to those who are new to FOP. Exhaustive treatment of these topics is better suited to other fora, but the information presented here is intended to deal with FOP-specific issues related to these tools, especially "gotchas", and to help developers get jump-started.

+
+ CVS +

You will need a CVS client to be able to gain access to the FOP repository.

+

To create a patch to be submitted for consideration to be committed, do the following:

+
    +
  • cd to the directory above the "xml-fop" directory that was created when you checked out the code. You can actually cd farther down the directory tree if your changes do not comprehend the entire FOP directory structure. However, don't go any deeper than will allow all of your changes to be included in one "diff". Also, adjust
  • +
  • Run: cvs -q diff -wu xml-fop
  • +
  • If you are running WinCVS, select "Admin/Command Line" for a console in which to key the above command.
  • +
  • On a Linux/Unix machine, you will want to redirect the output from the above command into a file. If you are using GNU WinCVS, you can cut the output from the console window and paste it into a file. The "-w" ignores whitespace differences. The "-u" puts the diff in "universal" format. You may wish to use the "-N" option as well, which is supposed to treat new files as if there were an old 0 byte file -- in other words, it is supposed to include the new file in the patch. However, it only operates on files that have been "add"ed to the CVS repository, which cannot be done without commit access.
  • +
+
+
+ Integrated Development Environments (IDEs) +

An IDE is not required, but will generally be found to be helpful, especially for serious debugging and refactoring.

+

Borland's JBuilder 7/8 does not support Ant builds unless you have the Enterprise Edition (which is quite expensive). This causes problems with any code that is generated by the Ant build. First, you must run the Ant build before you can use the IDE. Second, when you are editing in the IDE, you must be editing the generated files, which means that you must make any changes to the source files in another editor. This is less serious for development on the trunk, but in the maintenance branch, all source files were "generated".

+

Sun ONE Studio Four does support Ant, but seems to use a built-in version, and as of this writing chokes on the FOP build file, saying that it is not valid. There is awkward because there is no official DTD for Ant, and it may be merely an Ant version issue.

+
+ +
-- 2.39.5