[Bug 806677] Review Request: jboss-web - JBoss Web Server

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 27 08:37:49 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=806677

--- Comment #5 from Juan Hernández <juan.hernandez at redhat.com> 2012-03-27 04:37:48 EDT ---
Thanks Tony!

In order to use the method I suggested to build the javadoc you need to use the
original build.xml *and* the new build-javadoc.xml. It wasn't very well
explained in my previous comment, sorry. In the %build section you will need to
invoke ant twice:

# Once for the binaries:
ant

# And another time for the javadoc:
ant -f build-javadoc.xml

Patching the original build.xml is also ok, but it will require more work when
you update to a new upstream version. I let it up to you to decide which is
better. Right now it is not working because of the slash in front of the
directory, it should be a relative path:

- cp -rp /apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+ cp -rp apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the package-review mailing list