11
0

124 Commits

Author SHA256 Message Date
b9c7e53945 Accepting request 1250478 from Java:packages
more reproducible changes

OBS-URL: https://build.opensuse.org/request/show/1250478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=53
2025-03-07 15:38:47 +00:00
df00d5d47d Accepting request 1207477 from Java:packages
2.10 fixing bsc#1231428, CVE-2024-28168

OBS-URL: https://build.opensuse.org/request/show/1207477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=52
2024-10-13 15:33:19 +00:00
800c44427e OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=118 2024-10-12 19:39:15 +00:00
3e7a0f287f OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=117 2024-10-12 16:49:16 +00:00
b1c1cbdc4a OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=116 2024-10-11 23:30:07 +00:00
fd02563083 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=115 2024-10-11 20:53:24 +00:00
4ab4b1491e OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=114 2024-10-11 18:26:22 +00:00
ff17f51619 Accepting request 1205393 from Java:packages
Adapt scripts to the new javapackages-tools version

OBS-URL: https://build.opensuse.org/request/show/1205393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=51
2024-10-04 15:08:32 +00:00
b78642e4df OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=112 2024-10-03 10:53:55 +00:00
cc4a69c12c Accepting request 1148006 from Java:packages
rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=50
2024-02-21 16:52:10 +00:00
628b9e6258 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=110 2024-02-20 13:22:19 +00:00
7c521b0a7b Accepting request 1114392 from Java:packages:test
simplify

OBS-URL: https://build.opensuse.org/request/show/1114392
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=109
2023-09-29 13:58:52 +00:00
dc83bad2b0 Accepting request 1061912 from Java:packages
- version 2.8
  * Changes:
    + FOP-2839: Links to pdf files with no scheme should open in pdf
      viewer
    + FOP-2860: Add light weight line breaking option
    + FOP-2861: Allow resource loading from jar
    + FOP-2865: Stroke-opacity is not honored on svg:text while
      conveting svg to pdf
    + FOP-2897: Skip OOM during font OS scanning
    + FOP-2910: Remove cidset for PDF/A-2
    + FOP-2969: Reorder glyphs with no width
    + FOP-2977: Array index out of bounds with glyph position
      adjustments and surrogate pairs
    + FOP-3015: Set text color for simulate-style
    + FOP-3023: Simulated bold error in Adobe Reader
    + FOP-3048: Resolve links across IF files
    + FOP-3049: Align AFP SVG text in the middle
    + FOP-3051: Upgrade to Commons IO 2.11
    + FOP-3053: Remove Xerces
    + FOP-3055: Use a event for a draw image error
    + FOP-3057: Allow fallback to non svg glyphs
    + FOP-3061: AFP invoke-medium-map missing when using
      page-group=false
    + FOP-3062: AssertionError with SFArabic.ttf
    + FOP-3067: README file still refers to bugzilla
    + FOP-3068: NPE when reading a invalid TTC file
    + FOP-3070: Batik is setting load-external-dtd to false so this
      example doesnt work
    + FOP-3071: Write mediummap before pagegroup
    + FOP-3072: Empty link url gives NPE

OBS-URL: https://build.opensuse.org/request/show/1061912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=49
2023-02-13 15:39:18 +00:00
e27e25fa06 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=107 2023-01-26 08:33:47 +00:00
2366f4347b Accepting request 979221 from Java:packages
Sync changes with sle

OBS-URL: https://build.opensuse.org/request/show/979221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=48
2022-05-25 18:35:01 +00:00
c9cc83b2e0 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=105 2022-05-25 14:04:39 +00:00
a9abb0fd08 Accepting request 956694 from Java:packages
- version 2.7
  * Allow to embed native PDF in AFP
- Added patch:
  * update-2.7.patch

OBS-URL: https://build.opensuse.org/request/show/956694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=47
2022-02-23 15:25:52 +00:00
61224cea9e OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=104 2022-02-22 12:12:30 +00:00
91994c2846 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=103 2022-02-01 08:22:59 +00:00
28520911a7 Accepting request 950218 from home:QuaTran:branches:Java:packages
- version 2.7
  * Allow to embed native PDF in AFP

OBS-URL: https://build.opensuse.org/request/show/950218
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=102
2022-02-01 08:17:17 +00:00
2268e46aff Accepting request 866483 from Java:packages
2.6

OBS-URL: https://build.opensuse.org/request/show/866483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=46
2021-02-01 12:24:41 +00:00
ec8af0a705 Accepting request 866261 from home:bmwiedemann:branches:Java:packages
Add reproducible.patch to override build date (boo#1047218)

other issues in daps determinism remain

OBS-URL: https://build.opensuse.org/request/show/866261
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=100
2021-01-24 18:05:54 +00:00
db5216aa70 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=99 2021-01-24 18:03:09 +00:00
81989ec9f5 Accepting request 811270 from Java:packages
2.5

OBS-URL: https://build.opensuse.org/request/show/811270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=45
2020-06-08 21:43:53 +00:00
cb5c769f63 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=97 2020-06-04 05:29:15 +00:00
0f6265c690 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=96 2020-06-03 17:22:42 +00:00
cf1d1f5333 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=95 2020-06-03 17:06:14 +00:00
f35fee5346 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=94 2020-06-03 15:44:10 +00:00
e691a74f59 Accepting request 806994 from Java:packages
boo#1145693

OBS-URL: https://build.opensuse.org/request/show/806994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=44
2020-05-20 16:36:49 +00:00
74552ea2c9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=92 2020-05-18 14:44:35 +00:00
14fc964b22 Accepting request 791181 from Java:packages
- Added patch:
  * fop-2.1-batik-xmlconstants.patch
    + apply when building with batik >= 1.11
    + batik 1.11 moved XMLConstants class from
      org.apache.batik.util to org.apache.batik.constants
- Add fontbox to classpath: (rh#1413340)
- Build against glassfish-servlet-api
- Fix build with new avalon-framework and batik
- Install maven pom file
- Added patch:
  * fop-2.1-QDox-2.0.patch
    + Build against QDox >= 2
- Bring back the java-devel/java requirements to >= 1.8; we will
  fix the ByteBuffer/CharBuffer compatibilities as they arise.
- Modified patch:
  * java8-compatibility.patch
    + Fix fix ByteBuffer/CharBuffer incompatibilities with java8
      Cast all the java.nio.ByteBuffer and java.nio.CharBuffer
      instances to java.nio.Buffer before calling the clear(),
      flip(), limit(int), mark(), reset() and rewind() methods.
- version 2.1
  Change requirement from java-devel-openjdk >= 1.8.0 to
  java-devel-openjdk >= 9 to avoid tracebacks because of compatibility
  issues with java.nio.Buffer, for example:
  java.lang.NoSuchMethodError:
  java.nio.CharBuffer.rewind()Ljava/nio/CharBuffer; 
- Do not depend on a particular xml-commons-apis provider.
- Add reproducible-build-manifest.patch: Remove custom "Build-Id"
  from manifests. It contains date and other information making the
  build unreproducible (boo#1110024).
- Fix building with ant >= 1.9.12
- Added patch:
  * java8-compatibility.patch
    + Fix compatibility with java8 and lower when built with java9
      or higher
- Don't condition the maven defines on release version, but on 
  _maven_repository being defined
- Fix build with jdk9: specify java source and target 1.6 and fix
  javadoc build
- Add BuildRequires: javapackages-local (for maven conversions)
- Make sure to apply new file list for Tumbleweed only
  (FATE#322405)
- Add patch to fix build with stricter javadoc in version 8:
  * fix-javadoc-java8.patch (boo#1027467)
- Fix file list on SLE
- Fix manpage for xmlgraphics-fop-fontmetrics
- Update to fop 2.1
    - https://xmlgraphics.apache.org/fop/changes.html#version_2.1
- Remove upstreamed fop-commons-2.0.patch
    and xmlgraphics-fop-xconf.patch
- Add hyphenation-more-stack.patch to fix build with offo 2.2
- Fix build with new javapackages-tools
- Spec-cleanify
- Do not ever run tests, we lack quite packages to do so anyway
- Drop fop-1.1-src.tar.gz.asc xmlgraphics-fop.keyring as upstream
  does not provide those anymore
- Apply patch to build with new xmlgraphics-commons:
  * fop-commons-2.0.patch
- Do not depend on ant-trax
- Drop javadoc package so we build this package
- Move from jpackage-utils to javapackage-tools
- use new add_maven_depmap
- add missing commons packages to BuildRequires
- add gpg verification
- fix a typo in a xmlgraphics-fop.script (bnc#817145)
- (build) require xml-commons-apis, the org.w3c.svg are used inside fop
  part of a fix for bnc#800694
- drop excalibur usage from all classpaths, use avalon-framework instead 
- drop excalibur-avalon from dependencies, fop now uses avalon-framework 
- patched fop.xconf
  * added <auto-detect/> to pdf renderer section, so now possible to use system fonts like font-family="DejaVuSansMono"
- fix the spec file to install a (default) fop.xconf file in /etc
- patched scripts to use /etc/fop.xconf
- add fo-formatter to provides upon a request of doc team 
- fixed "Class not found" errors in fop scripts
- add commons-logging and commons-io to Requires and fop script 
- removed uneeded xalan-j2, xmlcommons and xerces from dependencies
- update to 1.1
  * many bug fixes and a number of improvements
  * support for Complex Scripts (e.g., Arabic, Hebrew, Indic, and Southeast
  * Asian scripts)
  * http://xmlgraphics.apache.org/fop/1.1/releaseNotes_1.1.html
  * This release implements a substantial subset of the W3C
  * XSL-FO 1.1 Recommendation. For a detailed overview of FOP's compliance with
  * this recommendation, see Compliance.
  * http://xmlgraphics.apache.org/fop/compliance.html
- obsoleted xmlgraphics-fop-asf51789.patch
- obsoleted xmlgraphics-fop-build.patch
- restored gzipped archive to avoid HTTP 404
- disabled tests (they take ages to build and they fail anyway, so do we really need them)?
- added standard hyphenation from OFFO
- told ant to use UTF-8
- fix for asf#51789
- Recompressed gzip archive to bz2 to avoid warning
- Fixed non-conffile-in-etc warning for %{_mavendepmapfragdir}
- Added new xmlgraphics-fontmetrics and xmlgraphics-fontlist scripts
  to help for better FOP configuration
- Added manpage and HTML for all scripts (xmlgraphics-fop, 
  xmlgraphics-fop-fontmetrics, and xmlgraphics-fop-fontlist)
- Created links without prefix xmlgraphics-fop for 
  xmlgraphics-fop-fontmetrics and xmlgraphics-fop-fontlist
- Created links for all manpages without prefix xmlgraphics-fop
- Added two new scripts for creating font metrics and font lists
- Fixed xmlgraphic-fop script:
  * Added excalibur/avalon-framework-impl in BASE_JAR variable to
    avoid exception in thread "main" java.lang.NoClassDefFoundError: 
    org/apache/avalon/framework/configuration/DefaultConfigurationBuilder
    Caused by: java.lang.ClassNotFoundException: 
    org.apache.avalon.framework.configuration.DefaultConfigurationBuilder 
  * Replaced xmlgraphics-batik/util in BASE_JAR variable to
    avoid ClassNotFoundException: org.apache.batik.bridge.UserAgent 
- correct fop Provides: Obsolete: 
- fix bnc#650138 - fop update wanted
  * fix memory leak in property cache
  * change FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event
  * new event handling framework
  * support for font substitution
  * support for addressing all glyphs available in a Type 1 font,
    not just the ones in the font's primary encoding.
  * limited support for pages of different inline-progression-dimensions within a page-sequence.
  * minimal support for integer keep values on the various keep properties on block-level FOs.
  * new AFPGraphics2D implementation which provides the ability to use Batik to
    drive the production of AFP Graphics (GOCA) output from SVG.
  * new Resource group leveling, external streaming, and de-duplication of images and
   graphics using IncludeObject and ResourceGroup.
  * new Native image embedding support (e.g. JPEG, GIF, TIFF) using ObjectContainer
    and a MOD:CA Registry implementation.
- merge with xmlgraphics-fop-0.95-6.jpp5.src.rpm 
- fixed bnc#467866 - fop fails if JAVACMD_OPTS is set
- update to version 0.95, list of changes at:
  http://xmlgraphics.apache.org/fop/0.95/changes_0.95.html 
- fop requires java 1.4 now
- use unversioned Requires: jre
- avoid build cycle between fop and saxon
- update to version 0.94, major changes:
  * Add support for font auto-detection (JM) Thanks to Adrian Cumiskey
  * Add support for the border-collapsing model in tables (VH, JM)
  * Add support for named destinations in PDF (JB)
  * Add support for UAX#14 type line breaking (MM)
  full list of changes at:
  http://xmlgraphics.apache.org/fop/0.94/changes_0.94.html
- update to version 0.93
- build with gcj
- added unzip to buildrequires 
- converted neededforbuild to BuildRequires
- do no longer use setJava
- Provide wrapper scripts for fop.sh and xalan.sh to make it find the
  java environment; reported by Thomas Schraitle; fix provided by Petr
  Mladek [#39581].
- New package: version 0.20.5.

OBS-URL: https://build.opensuse.org/request/show/791181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=43
2020-04-05 18:52:44 +00:00
1c9391e1c3 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=90 2020-04-03 10:55:13 +00:00
c330953a56 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=89 2020-04-03 10:53:12 +00:00
46c7dd74b6 Accepting request 723907 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/723907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=42
2019-08-23 09:02:53 +00:00
Tomáš Chvátal
29fe96606e Accepting request 723399 from home:felle:branches:openSUSE:Factory
Add fontbox to classpath

OBS-URL: https://build.opensuse.org/request/show/723399
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=87
2019-08-16 06:26:42 +00:00
e95d6be697 Accepting request 694542 from Java:packages
Fix build against upcoming geronimo-specs

OBS-URL: https://build.opensuse.org/request/show/694542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=41
2019-04-18 11:54:34 +00:00
6fa6f13eb2 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=85 2019-04-15 13:59:47 +00:00
d82acb1570 Accepting request 667652 from Java:packages
Fix build with newer avalon-framework and simplify batik classpath

OBS-URL: https://build.opensuse.org/request/show/667652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=40
2019-01-29 13:39:53 +00:00
3c1979a87f OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=83 2019-01-21 16:39:59 +00:00
6b3663a3f9 Accepting request 662846 from Java:packages
fix build against QDox 2.0

OBS-URL: https://build.opensuse.org/request/show/662846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=39
2019-01-15 08:10:19 +00:00
654a9fd87b OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=81 2019-01-04 16:21:16 +00:00
508ed18a47 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=80 2019-01-01 18:27:34 +00:00
f83c9f73ba OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=79 2019-01-01 18:15:54 +00:00
97b4ba0ed3 Accepting request 655909 from Java:packages
Restore Java 8 compatibility

OBS-URL: https://build.opensuse.org/request/show/655909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=38
2018-12-07 13:32:54 +00:00
58609af0e1 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=77 2018-12-06 22:28:13 +00:00
c2675990f9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=76 2018-12-06 21:56:11 +00:00
3558bf578c Accepting request 650174 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/650174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=37
2018-11-20 21:30:51 +00:00
Tomáš Chvátal
349ed7962a Accepting request 650132 from home:thomas-schraitle:branches:Java:packages
- version 2.1
  Change requirement from java-devel-openjdk >= 1.8.0 to
  java-devel-openjdk >= 9 to avoid tracebacks because of compatibility
  issues with java.nio.Buffer, for example:
  java.lang.NoSuchMethodError:
  java.nio.CharBuffer.rewind()Ljava/nio/CharBuffer;

OBS-URL: https://build.opensuse.org/request/show/650132
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=74
2018-11-19 11:40:40 +00:00
a4e0c7d729 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=73 2018-11-07 20:53:18 +00:00
eb9781cd75 Accepting request 645613 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/645613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=36
2018-11-06 14:24:07 +00:00
d4ef73acac Accepting request 645175 from home:1Antoine1:branches:Java:packages
- Add reproducible-build-manifest.patch: Remove custom "Build-Id"
  from manifests. It contains date and other information making the
  build unreproducible (boo#1110024).

OBS-URL: https://build.opensuse.org/request/show/645175
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=71
2018-10-31 01:02:35 +00:00
039c022531 Accepting request 631993 from Java:packages
- Fix building with ant >= 1.9.12

OBS-URL: https://build.opensuse.org/request/show/631993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=35
2018-09-03 08:33:24 +00:00
Tomáš Chvátal
b4b029deb4 - Fix building with ant >= 1.9.12
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=69
2018-08-28 13:56:46 +00:00
1243297b90 Accepting request 593750 from Java:packages
Fix compatibility with java8 and lower

OBS-URL: https://build.opensuse.org/request/show/593750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=34
2018-04-05 13:36:06 +00:00
afb3e92390 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=67 2018-04-05 10:14:35 +00:00
a0a69714e4 Accepting request 533056 from Java:packages
Condition correctly the maven defines

OBS-URL: https://build.opensuse.org/request/show/533056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=33
2017-10-16 23:51:25 +00:00
8f76b82f56 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=65 2017-09-29 11:23:11 +00:00
2aed727ab1 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=64 2017-09-29 11:19:03 +00:00
b6a9527fc6 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=63 2017-09-29 11:18:25 +00:00
a8389bdfe9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=62 2017-09-29 11:06:06 +00:00
58e6981cb5 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=61 2017-09-29 06:58:15 +00:00
53ceecd88c Accepting request 527226 from Java:packages
Fix build with jdk9

OBS-URL: https://build.opensuse.org/request/show/527226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=32
2017-09-20 15:10:18 +00:00
c9135f0ed3 Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=59
2017-09-19 07:24:47 +00:00
22c3275d75 Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=58
2017-09-19 07:14:09 +00:00
8ae7a9e5a9 Accepting request 496814 from Java:packages
- Add BuildRequires: javapackages-local (for maven conversions)

OBS-URL: https://build.opensuse.org/request/show/496814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=31
2017-05-22 08:47:52 +00:00
Tomáš Chvátal
a3b0117589 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=56 2017-05-19 16:26:33 +00:00
Tomáš Chvátal
44e5b66114 Accepting request 496596 from home:vsistek:branches:Java:packages
- Add BuildRequires: javapackages-local (for maven conversions)

OBS-URL: https://build.opensuse.org/request/show/496596
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=55
2017-05-19 10:50:45 +00:00
f89c563852 Accepting request 477243 from Java:packages
1

OBS-URL: https://build.opensuse.org/request/show/477243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=30
2017-03-12 19:01:42 +00:00
Tomáš Chvátal
141221b86a Accepting request 477196 from home:stfnknorr:branches:Java:packages
Make sure to apply new file list for Tumbleweed only (FATE#322405)

OBS-URL: https://build.opensuse.org/request/show/477196
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=53
2017-03-06 12:39:05 +00:00
cd97634b30 Accepting request 461919 from Java:packages
1

OBS-URL: https://build.opensuse.org/request/show/461919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=29
2017-03-03 16:55:27 +00:00
Tomáš Chvátal
0d3fb5757a Accepting request 461915 from home:favogt:branches:Java:packages
- Add patch to fix build with stricter javadoc in version 8:
  * fix-javadoc-java8.patch (boo#1027467)
- Fix file list on SLE

OBS-URL: https://build.opensuse.org/request/show/461915
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=51
2017-03-02 12:52:52 +00:00
272488e095 Accepting request 368334 from Java:packages
1

OBS-URL: https://build.opensuse.org/request/show/368334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=28
2016-03-26 14:22:30 +00:00
Tomáš Chvátal
0e68d52147 Accepting request 368070 from home:favogt:branches:Java:packages
- Fix manpage for xmlgraphics-fop-fontmetrics

- Update to fop 2.1
    - https://xmlgraphics.apache.org/fop/changes.html#version_2.1
- Remove upstreamed fop-commons-2.0.patch
    and xmlgraphics-fop-xconf.patch
- Add hyphenation-more-stack.patch to fix build with offo 2.2

OBS-URL: https://build.opensuse.org/request/show/368070
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=49
2016-03-08 12:32:37 +00:00
7a6920355b Accepting request 292650 from Java:packages
javapackages-tools update

OBS-URL: https://build.opensuse.org/request/show/292650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=27
2015-04-02 13:59:47 +00:00
Tomáš Chvátal
1ad1840740 new jpackage-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=47
2015-03-18 10:08:41 +00:00
3afb53a9f8 Accepting request 264416 from Java:packages
- Spec-cleanify
- Do not ever run tests, we lack quite packages to do so anyway
- Drop fop-1.1-src.tar.gz.asc xmlgraphics-fop.keyring as upstream
  does not provide those anymore
- Apply patch to build with new xmlgraphics-commons:
  * fop-commons-2.0.patch

OBS-URL: https://build.opensuse.org/request/show/264416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=26
2014-12-09 08:14:17 +00:00
Tomáš Chvátal
59274a51d1 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=45 2014-12-08 14:26:01 +00:00
Tomáš Chvátal
67ce32235f - Spec-cleanify
- Do not ever run tests, we lack quite packages to do so anyway
- Drop fop-1.1-src.tar.gz.asc xmlgraphics-fop.keyring as upstream
  does not provide those anymore
- Apply patch to build with new xmlgraphics-commons:
  * fop-commons-2.0.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=44
2014-12-08 13:29:50 +00:00
Stephan Kulow
e4f0fefd3b Accepting request 240367 from Java:packages
javapackages updates submission

OBS-URL: https://build.opensuse.org/request/show/240367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=24
2014-07-16 14:49:12 +00:00
Tomáš Chvátal
de34208b16 - Do not depend on ant-trax
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=42
2014-07-08 10:31:22 +00:00
Tomáš Chvátal
cacce57338 Accepting request 198775 from Java:packages
- Drop javadoc package so we build this package

OBS-URL: https://build.opensuse.org/request/show/198775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=22
2013-09-13 12:44:20 +00:00
Tomáš Chvátal
e54856e3f5 - Drop javadoc package so we build this package
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=40
2013-09-12 21:17:04 +00:00
Tomáš Chvátal
979f11cdb7 Accepting request 198320 from Java:packages
Submit of succeeding java packages for factory

OBS-URL: https://build.opensuse.org/request/show/198320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=21
2013-09-11 15:11:56 +00:00
Tomáš Chvátal
f45f0446e4 Replace jpackage-utils by javapackages-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=38
2013-09-09 12:02:26 +00:00
9fc83f0989 - add gpg verification
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=37
2013-09-06 08:21:17 +00:00
e17aeb09dd - use new add_maven_depmap
- add missing commons packages to BuildRequires

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=36
2013-09-06 08:20:45 +00:00
Stephan Kulow
08502eaf97 Accepting request 173377 from Java:packages
- fix a typo in a xmlgraphics-fop.script (bnc#817145)

OBS-URL: https://build.opensuse.org/request/show/173377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=20
2013-04-26 05:47:49 +00:00
0bfece7535 - fix a typo in a xmlgraphics-fop.script (bnc#817145)
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=34
2013-04-25 12:11:09 +00:00
Stephan Kulow
3c82711676 Accepting request 150186 from Java:packages
- (build) require xml-commons-apis, the org.w3c.svg are used inside fop
  part of a fix for bnc#800694
@coolo: please copy to 12.3 as well

OBS-URL: https://build.opensuse.org/request/show/150186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=19
2013-01-30 08:40:37 +00:00
0be14af3e6 - (build) require xml-commons-apis, the org.w3c.svg are used inside fop
part of a fix for bnc#800694

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=32
2013-01-28 14:45:53 +00:00
Stephan Kulow
0595937f8f Accepting request 147892 from Java:packages
- drop excalibur usage from all classpaths, use avalon-framework instead

OBS-URL: https://build.opensuse.org/request/show/147892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=17
2013-01-10 14:59:02 +00:00
2f87ab99e0 - drop excalibur usage from all classpaths, use avalon-framework instead
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=30
2013-01-10 11:27:04 +00:00
Stephan Kulow
17ae8ec002 Accepting request 145626 from Java:packages
- drop excalibur-avalon from dependencies, fop now uses avalon-framework

OBS-URL: https://build.opensuse.org/request/show/145626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=16
2012-12-19 13:05:15 +00:00
a8470ee4b9 - drop excalibur-avalon from dependencies, fop now uses avalon-framework
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=28
2012-12-17 10:22:28 +00:00
Stephan Kulow
12392998a1 Accepting request 144910 from Java:packages
- patched fop.xconf
  * added <auto-detect/> to pdf renderer section, so now possible to use system fonts like font-family="DejaVuSansMono"
- fix the spec file to install a (default) fop.xconf file in /etc
- patched scripts to use /etc/fop.xconf (forwarded request 144816 from slavb18)

OBS-URL: https://build.opensuse.org/request/show/144910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=15
2012-12-14 10:26:44 +00:00
1170201241 Accepting request 144816 from home:slavb18:branches:Java:packages
- patched fop.xconf
  * added <auto-detect/> to pdf renderer section, so now possible to use system fonts like font-family="DejaVuSansMono"
- fix the spec file to install a (default) fop.xconf file in /etc
- patched scripts to use /etc/fop.xconf

OBS-URL: https://build.opensuse.org/request/show/144816
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=26
2012-12-10 07:18:55 +00:00
Stephan Kulow
380499465f Accepting request 142072 from Java:packages
- add fo-formatter to provides upon a request of doc team

OBS-URL: https://build.opensuse.org/request/show/142072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=14
2012-11-21 16:24:14 +00:00
d1f9fac5ac - add fo-formatter to provides upon a request of doc team
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=24
2012-11-20 12:53:37 +00:00
Stephan Kulow
36384265b2 Accepting request 141291 from Java:packages
fix class not found errors in fop scripts

OBS-URL: https://build.opensuse.org/request/show/141291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=13
2012-11-14 16:03:48 +00:00
273ccfa8ef OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=22 2012-11-14 13:25:41 +00:00
ce5a646679 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=20 2012-11-14 13:25:14 +00:00
1c7e5f8909 Accepting request 140834 from home:slavb18:branches:Java:packages
fixed "Class not found" errors

OBS-URL: https://build.opensuse.org/request/show/140834
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=19
2012-11-14 13:23:07 +00:00
Stephan Kulow
20dd152512 Accepting request 139401 from Java:packages
update to 1.1, requested by documentation team

OBS-URL: https://build.opensuse.org/request/show/139401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=12
2012-11-02 21:53:42 +00:00
3ee017f9c5 - add commons-logging and commons-io to Requires and fop script
- removed uneeded xalan-j2, xmlcommons and xerces from dependencies

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=17
2012-10-26 08:39:07 +00:00
73d4d97ed3 - update to 1.1
* many bug fixes and a number of improvements
  * support for Complex Scripts (e.g., Arabic, Hebrew, Indic, and Southeast
  * Asian scripts)
  * http://xmlgraphics.apache.org/fop/1.1/releaseNotes_1.1.html
  * This release implements a substantial subset of the W3C
  * XSL-FO 1.1 Recommendation. For a detailed overview of FOP's compliance with
  * this recommendation, see Compliance.
  * http://xmlgraphics.apache.org/fop/compliance.html

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=16
2012-10-24 14:09:34 +00:00
Stephan Kulow
1420a3b5bd replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=10
2011-12-06 18:16:35 +00:00
Sascha Peilicke
aefd43006c Accepting request 84394 from Java:packages
add OFFO hyphenation pattterns, other minor fixes (forwarded request 83010 from yecril71pl)

OBS-URL: https://build.opensuse.org/request/show/84394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=8
2011-09-26 08:23:13 +00:00
0efd9faa42 Accepting request 83010 from home:yecril71pl:branches:Java:packages
add OFFO hyphenation pattterns, other minor fixes

OBS-URL: https://build.opensuse.org/request/show/83010
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=14
2011-09-22 09:20:43 +00:00
9c5e681caa Accepting request 70182 from home:thomas-schraitle:branches:Java:packages
- Recompressed gzip archive to bz2 to avoid warning
- Fixed non-conffile-in-etc warning for %{_mavendepmapfragdir}
- Added new xmlgraphics-fontmetrics and xmlgraphics-fontlist scripts
  to help for better FOP configuration
- Added manpage and HTML for all scripts (xmlgraphics-fop, 
  xmlgraphics-fop-fontmetrics, and xmlgraphics-fop-fontlist)
- Created links without prefix xmlgraphics for 
  xmlgraphics-fop-fontmetrics and xmlgraphics-fop-fontlist
- Created links for all manpages without prefix xmlgraphics
- Added two new scripts for creating font metrics and font lists

OBS-URL: https://build.opensuse.org/request/show/70182
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=13
2011-05-17 11:45:07 +00:00
Sascha Peilicke
33010f6fc6 Autobuild autoformatter for 68994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=7
2011-05-02 11:16:44 +00:00
OBS User buildservice-autocommit
fb9739d819 Updating link to change in openSUSE:Factory/xmlgraphics-fop revision 7.0
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=651f4b8cd2924935345140a1359f487d
2011-05-02 11:16:44 +00:00
Sascha Peilicke
82743155b8 Accepting request 68994 from Java:packages
- Fixed xmlgraphic-fop script:
  * Added excalibur/avalon-framework-impl in BASE_JAR variable to
    avoid exception in thread "main" java.lang.NoClassDefFoundError: 
    org/apache/avalon/framework/configuration/DefaultConfigurationBuilder
    Caused by: java.lang.ClassNotFoundException: 
    org.apache.avalon.framework.configuration.DefaultConfigurationBuilder 
  * Replaced xmlgraphics-batik/util in BASE_JAR variable to
    avoid ClassNotFoundException: org.apache.batik.bridge.UserAgent (forwarded request 68986 from thomas-schraitle)

OBS-URL: https://build.opensuse.org/request/show/68994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=6
2011-05-02 11:16:35 +00:00
1ed4d655e0 Accepting request 68986 from home:thomas-schraitle:branches:Java:packages
- Fixed xmlgraphic-fop script:
  * Added excalibur/avalon-framework-impl in BASE_JAR variable to
    avoid exception in thread "main" java.lang.NoClassDefFoundError: 
    org/apache/avalon/framework/configuration/DefaultConfigurationBuilder
    Caused by: java.lang.ClassNotFoundException: 
    org.apache.avalon.framework.configuration.DefaultConfigurationBuilder 
  * Replaced xmlgraphics-batik/util in BASE_JAR variable to
    avoid ClassNotFoundException: org.apache.batik.bridge.UserAgent

OBS-URL: https://build.opensuse.org/request/show/68986
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=11
2011-05-02 08:04:38 +00:00
Stephan Kulow
5666282ad5 sync with O:F
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=10
2010-11-19 14:23:57 +00:00
Stephan Kulow
e46493c9b5 prepare_spec
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=9
2010-11-19 14:23:52 +00:00
OBS User autobuild
9435446dd4 Autobuild autoformatter for 53333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=4
2010-11-18 15:29:11 +00:00
Ruediger Oertel
f6d46d2b10 Accepting request 53333 from Java:packages
Accepted submit request 53333 from user mvyskocil

OBS-URL: https://build.opensuse.org/request/show/53333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=3
2010-11-18 15:29:06 +00:00
a7e25d1068 definitive fix of provides/obsoletes
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=6
2010-11-18 13:28:08 +00:00
0e0e885f1d - correct fop Provides: Obsolete:
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=5
2010-11-16 15:11:57 +00:00
OBS User autobuild
c3038484d0 Autobuild autoformatter for 52380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=2
2010-11-15 23:26:54 +00:00
Ruediger Oertel
0453a3b2d0 Accepting request 52380 from Java:packages
Accepted submit request 52380 from user mvyskocil

OBS-URL: https://build.opensuse.org/request/show/52380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlgraphics-fop?expand=0&rev=1
2010-11-15 23:26:49 +00:00
68839d001b /usr/bin/fop compati symlink
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=4
2010-11-05 12:15:34 +00:00
fafa0245dc add xmlgraphics-commons to xmlgraphics-fop.script CLASSPATH, remove patch2 as it is no longer required
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=3
2010-11-05 08:31:26 +00:00
b76d29a44f removed _link
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmlgraphics-fop?expand=0&rev=2
2010-11-05 07:40:17 +00:00
2 changed files with 0 additions and 141 deletions

View File

@@ -1,138 +0,0 @@
--- fop-2.5/fop-events/src/main/java/org/apache/fop/tools/EventProducerCollector.java 2020-05-05 11:42:05.000000000 +0200
+++ fop-2.5/fop-events/src/main/java/org/apache/fop/tools/EventProducerCollector.java 2020-06-03 10:49:58.195555295 +0200
@@ -21,6 +21,7 @@
import java.io.File;
import java.io.IOException;
+import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@@ -31,14 +32,11 @@
import org.apache.fop.events.model.EventProducerModel;
import org.apache.fop.events.model.EventSeverity;
-import com.thoughtworks.qdox.JavaDocBuilder;
-import com.thoughtworks.qdox.model.DefaultDocletTagFactory;
+import com.thoughtworks.qdox.JavaProjectBuilder;
import com.thoughtworks.qdox.model.DocletTag;
-import com.thoughtworks.qdox.model.DocletTagFactory;
import com.thoughtworks.qdox.model.JavaClass;
import com.thoughtworks.qdox.model.JavaMethod;
import com.thoughtworks.qdox.model.JavaParameter;
-import com.thoughtworks.qdox.model.Type;
/**
* Finds EventProducer interfaces and builds the event model for them.
@@ -61,22 +59,12 @@
PRIMITIVE_MAP = Collections.unmodifiableMap(m);
}
- private DocletTagFactory tagFactory;
private List<EventModel> models = new java.util.ArrayList<EventModel>();
/**
* Creates a new EventProducerCollector.
*/
EventProducerCollector() {
- this.tagFactory = createDocletTagFactory();
- }
-
- /**
- * Creates the {@link DocletTagFactory} to be used by the collector.
- * @return the doclet tag factory
- */
- protected DocletTagFactory createDocletTagFactory() {
- return new DefaultDocletTagFactory();
}
/**
@@ -89,9 +77,9 @@
*/
public boolean scanFile(File src)
throws IOException, EventConventionException, ClassNotFoundException {
- JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory);
+ JavaProjectBuilder builder = new JavaProjectBuilder();
builder.addSource(src);
- JavaClass[] classes = builder.getClasses();
+ Collection<JavaClass> classes = builder.getClasses();
boolean eventProducerFound = false;
for (JavaClass clazz : classes) {
if (clazz.isInterface() && implementsInterface(clazz, CLASSNAME_EVENT_PRODUCER)) {
@@ -103,7 +91,7 @@
}
private boolean implementsInterface(JavaClass clazz, String intf) {
- JavaClass[] classes = clazz.getImplementedInterfaces();
+ List<JavaClass> classes = clazz.getInterfaces();
for (JavaClass cl : classes) {
if (cl.getFullyQualifiedName().equals(intf)) {
return true;
@@ -121,7 +109,7 @@
protected void processEventProducerInterface(JavaClass clazz)
throws EventConventionException, ClassNotFoundException {
EventProducerModel prodMeta = new EventProducerModel(clazz.getFullyQualifiedName());
- JavaMethod[] methods = clazz.getMethods(true);
+ List<JavaMethod> methods = clazz.getMethods(true);
for (JavaMethod method : methods) {
EventMethodModel methodMeta = createMethodModel(method);
prodMeta.addMethod(methodMeta);
@@ -133,20 +121,20 @@
private EventMethodModel createMethodModel(JavaMethod method)
throws EventConventionException, ClassNotFoundException {
- JavaClass clazz = method.getParentClass();
+ JavaClass clazz = method.getDeclaringClass();
//Check EventProducer conventions
- if (!method.getReturnType().isVoid()) {
+ if (!method.getReturns().isVoid()) {
throw new EventConventionException("All methods of interface "
+ clazz.getFullyQualifiedName() + " must have return type 'void'!");
}
String methodSig = clazz.getFullyQualifiedName() + "." + method.getCallSignature();
- JavaParameter[] params = method.getParameters();
- if (params.length < 1) {
+ List<JavaParameter> params = method.getParameters();
+ if (params.size() < 1) {
throw new EventConventionException("The method " + methodSig
+ " must have at least one parameter: 'Object source'!");
}
- Type firstType = params[0].getType();
- if (firstType.isPrimitive() || !"source".equals(params[0].getName())) {
+ JavaClass firstType = params.get(0).getJavaClass();
+ if (firstType.isPrimitive() || !"source".equals(params.get(0).getName())) {
throw new EventConventionException("The first parameter of the method " + methodSig
+ " must be: 'Object source'!");
}
@@ -161,12 +149,12 @@
}
EventMethodModel methodMeta = new EventMethodModel(
method.getName(), severity);
- if (params.length > 1) {
- for (int j = 1, cj = params.length; j < cj; j++) {
- JavaParameter p = params[j];
+ if (params.size() > 1) {
+ for (int j = 1, cj = params.size(); j < cj; j++) {
+ JavaParameter p = params.get(j);
Class<?> type;
- JavaClass pClass = p.getType().getJavaClass();
- if (p.getType().isPrimitive()) {
+ JavaClass pClass = p.getJavaClass();
+ if (pClass.isPrimitive()) {
type = PRIMITIVE_MAP.get(pClass.getName());
if (type == null) {
throw new UnsupportedOperationException(
@@ -179,10 +167,10 @@
methodMeta.addParameter(type, p.getName());
}
}
- Type[] exceptions = method.getExceptions();
- if (exceptions != null && exceptions.length > 0) {
+ List<JavaClass> exceptions = method.getExceptions();
+ if (exceptions != null && exceptions.size() > 0) {
//We only use the first declared exception because that is always thrown
- JavaClass cl = exceptions[0].getJavaClass();
+ JavaClass cl = exceptions.get(0);
methodMeta.setExceptionClass(cl.getFullyQualifiedName());
methodMeta.setSeverity(EventSeverity.FATAL); //In case it's not set in the comments
}

BIN
fop-2.8-src.tar.gz (Stored with Git LFS)

Binary file not shown.