diff --git a/adaptx-0.9.13-build-xml.patch b/adaptx-0.9.13-build-xml.patch
new file mode 100644
index 0000000..58b316d
--- /dev/null
+++ b/adaptx-0.9.13-build-xml.patch
@@ -0,0 +1,11 @@
+--- src/build.xml.orig 2007-04-18 17:10:00.000000000 -0400
++++ src/build.xml 2007-04-18 17:37:22.000000000 -0400
+@@ -121,7 +121,7 @@
+
+
++ packagenames="org.exolab.adaptx.*" source="1.4"/>
+
+
+
diff --git a/adaptx.spec b/adaptx.spec
index b95c6a4..c82e658 100644
--- a/adaptx.spec
+++ b/adaptx.spec
@@ -34,7 +34,7 @@
Name: adaptx
Version: 0.9.13
-Release: 4jpp.1%{?dist}
+Release: 4jpp.2%{?dist}
Summary: AdaptX XSLT processor and XPath engine
License: BSD
Group: Applications/Text
@@ -44,6 +44,7 @@ Source0: %{name}-%{version}-src.tar.bz2
Patch0: %{name}-%{version}-xsl.patch
Patch1: %{name}-%{version}-missingstubs.patch
+Patch2: %{name}-%{version}-build-xml.patch
Url: http://castor.codehaus.org/
BuildRequires: ant >= 0:1.6
BuildRequires: jpackage-utils >= 0:1.6
@@ -96,6 +97,7 @@ done
%patch0
%patch1
+%patch2
%build
perl -p -i -e 's|classic|modern|' src/build.xml
@@ -166,6 +168,9 @@ fi
%doc build/doc/*
%changelog
+* Wed Apr 18 2007 Permaine Cheung 0.9.13-4jpp.2
+- Fixed the building of javadoc
+
* Wed Jan 31 2007 Deepak Bhole 0.9.13-4jpp.1
- Fixed issues raised by rpmlint