Fixed a bug where I got a NoClassDefFoundError when I'm using a build-local.properties where I set optional.lib.dir to an absolute Windows path. These absolute paths weren't removed somehow resulting in NoClassDefFound errors due to a illegal Class-Path entry in fop.jar's manifest.
Abandon codegenerated property makers and use bean-like makers instead.
- ShorthandParsers are made stateless.
- Makers for compound properties inherts from new CompoundPropertyMaker
class and overrides makeNewProperty.
- FOPropertyMapping is no longer generated but is handcoded.
- get() and findProperty() methods are moved from PropertyList to the
property makers.
PR: 25873
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197241 13f79535-47bb-0310-9956-ffa450edef68
Moved the interfaces into the Constants class on a trial basis (we may still
choose to remove them in favor of strictly using Constants.) Two interfaces
(span and position) were removed because of conflicts with other class names.
The interface generation was moved into Constants.xsl, which is run manually
via the XsltToJava ant task and its output is then checked in. As a result,
no more autogeneration of these interfaces at build time will be done.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197213 13f79535-47bb-0310-9956-ffa450edef68
Obtained from:
Submitted by:
Reviewed by:
1.) renamed enumgen.xsl to longer but hopefully clearer
prop-val-enum-interfaces.xsl
2.) Moved Constants.java from fo.properties to fo package, to reduce the
need for layout and renderers to import directly from the properties package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197048 13f79535-47bb-0310-9956-ffa450edef68
Property Makers now being activated via int constants. (Maker classes themselves, as well as code referencing the properties, still need conversion to int's. Also, HashMaps for String and Integer in FOPropertyMapping and FObj temporarily being retained for troubleshooting purposes.) Contribution mainly from Finn Bock (Bug #25480).
1. Removed the properties.Constants class from automatic generation, and
added Finn Bock's work on Property and Element Constants (currently unused
within application.) The CVS version is now the official one. (The
new constants are not currently being used within the application;
more work is needed.)
2. Build.xml has a new helper XSLTtoJAVA task separate from any of the build
processes to generate the Constants class above (although its output is
expected to fall behind what will be maintained in the CVS version.)
3. Some xml and xsl file renaming to make clearer the purposes of those files.
4. Removed a debug statement from PropertyList.java (forgot to remove from
yesterday's work).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197038 13f79535-47bb-0310-9956-ffa450edef68
1.) Moved AWT Viewer classes from org.fop.viewer to org.fop.render.awt.viewer
2.) Updated AWT and PDF renderers to draw region borders more accurately.
3.) Rounding errors for determining region sizes in AWT Renderer fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196934 13f79535-47bb-0310-9956-ffa450edef68
Made source more friendly for Eclipse (and IDEs in general)
by using conditionally different files instead of source copy
with filtering. Add either src/java-1.3 or src/java1.4 to
your build path, depending on your JDK.
Ant build should automatically choose the correct
file - if the right files are comitted in the current mess, that is.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196539 13f79535-47bb-0310-9956-ffa450edef68
Conditional compilation of jimi, jai, and jce was not working properly. Each had separate compile jobs, but was also included in the main source
compilation, which resulted in compile errors. This change removes the
separate compile jobs, and excludes them from the main compilation bases
on the previously existing conditional tests. Also added a message showing
the results of these tests as they are performed (eg. "Jimi Support NOT
Present").
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196123 13f79535-47bb-0310-9956-ffa450edef68
Improve build process for more flexibility when external jars change.
Changed to use -projecthelp option from Ant 1.5 instead of "usage" target.
</action>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195067 13f79535-47bb-0310-9956-ffa450edef68