[Bug 474999] Review Request: gdata-java - Client libraries to write Google Data API client applications in Java
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 16 17:04:25 UTC 2008
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=474999
--- Comment #5 from Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 2008-12-16 12:04:24 EDT ---
To use classpath, an example can be:
------------------------------------------------------------------
%prep
%setup -q -n gdata
pushd java
rm -rf lib/* classes doc
pro=build-src/build.properties
for jars in \
"servlet servletapi5" \
"mail javamail" \
"activation activation"
do
f=$(echo $jars | gawk '{print $1;}')
g=$(echo $jars | gawk '{print $2;}')
%{__sed} -i -e "/^${f}/s|=.*$|=$(build-classpath ${g})|" $pro
done
......
%build
......
......
javadoc -classpath $(build-classpath
javamail):/etc/alternatives/java_sdk_openjdk/lib/tools.jar -d doc `find src
-name '*.java'`
-----------------------------------------------------------------
(I have not yet found how to find tools.jar using build-classpath, maybe
it is impossible for current Fedora java structure?)
--
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