Bug 36677 - [PATCH] ant dist does not include serializer.jar
Summary: [PATCH] ant dist does not include serializer.jar
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 21:57 UTC by Matthew Daniel
Modified: 2012-04-01 07:02 UTC (History)
1 user (show)



Attachments
Patch against svn HEAD that bundles lib/serializer.jar (466 bytes, patch)
2005-09-15 21:58 UTC, Matthew Daniel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Daniel 2005-09-15 21:57:49 UTC
{This is against svn HEAD, which used to be called 1.0dev but now seems to be
0.90svn}

Issuing an 'ant dist' yields an Fop artifact that does not run, citing:
java.lang.NoClassDefFoundError: org/apache/xml/serializer/SerializerTrace

because the dist target does not package up lib/serializer*.jar.

This patch addresses that.
Comment 1 Matthew Daniel 2005-09-15 21:58:46 UTC
Created attachment 16416 [details]
Patch against svn HEAD that bundles lib/serializer.jar
Comment 2 Christian Geisert 2005-09-16 09:25:00 UTC
I'm already looking at build dist to include the docs ...
Comment 3 Matthew Daniel 2005-09-19 23:31:45 UTC
(In reply to comment #2)
> I'm already looking at build dist to include the docs ...

I don't follow this comment. "Docs?"

Perhaps most important to the bug report, does the command 'ant dist; mkdir foo;
tar xzf *-bin.tar.gz -C foo; sh foo/*/fop.sh -fo examples/fo/basic/simple.fo -awt' 
work for you? If so, do you have serializer*.jar in ${java.endosred.dirs}?
Comment 4 Christian Geisert 2005-09-20 12:12:54 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I'm already looking at build dist to include the docs ...
> 
> I don't follow this comment. "Docs?"

I just meant that I'm working at build.xml so I'm taking this patch.

> Perhaps most important to the bug report, does the command 'ant dist; mkdir foo;
> tar xzf *-bin.tar.gz -C foo; sh foo/*/fop.sh -fo examples/fo/basic/simple.fo
-awt' 
> work for you? If so, do you have serializer*.jar in ${java.endosred.dirs}?

It works for me (under jdk1.4, without any jar in endorsed) but fails under jdk1.3
Patch committed, thanks for your contribution.
Comment 5 Glenn Adams 2012-04-01 07:02:44 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed