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@xxxxxxxxxxxxxxxxxxx> 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. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review