Hello List,
1. rpmlint give warning about "class-path-in-manifest"? how to define the class path for my jars files, in the launches scripts? 2. aot-compile-rpm tool create only one .so file for 3 jar files, is that ok? 3. How configue a ant javadoc task, that find the sources for the other packages. 4. During extracting debug information, there is several cpio error: /path/to/class.java: No such file or directory. How to solve this problem?
SPEC URL: http://fedoraxgl.tuxfamily.org/repository/5/SPECS/3ddesktop-configurator.spe... SRPM URL: http://fedoraxgl.tuxfamily.org/repository/5/SRPMS/3ddesktop-0.1-1.src.rpm
FE bugid: #192438
ps: sorry for this dirty english.
Regards, Al
Don't know about the others, but...
alcapcom wrote:
- aot-compile-rpm tool create only one .so file for 3 jar files, is
that ok?
That's ok. If you look you'll see subset warnings for the other two:
aot-compile-rpm: warning: subsetted /path/to/3ddesktop-info-0.1.jar aot-compile-rpm: warning: subsetted /path/to/3ddesktop-switch-0.1.jar
A subset warning basically means that all the classes in one jarfile are contained in another. You only need one compiled copy of a class on your system, so it doesn't bother to compile the duplicates.
Cheers, Gary
That's ok. If you look you'll see subset warnings for the other two:
aot-compile-rpm: warning: subsetted /path/to/3ddesktop-info-0.1.jar aot-compile-rpm: warning: subsetted /path/to/3ddesktop-switch-0.1.jar
A subset warning basically means that all the classes in one jarfile are contained in another. You only need one compiled copy of a class on your system, so it doesn't bother to compile the duplicates.
Thank's Gary,
aot-compile-rpm is a really impressive tool!, it do all for you...nice work!!!
Regards, Al
alcapcom wrote:
That's ok. If you look you'll see subset warnings for the other two:
aot-compile-rpm: warning: subsetted /path/to/3ddesktop-info-0.1.jar aot-compile-rpm: warning: subsetted /path/to/3ddesktop-switch-0.1.jar
A subset warning basically means that all the classes in one jarfile are contained in another. You only need one compiled copy of a class on your system, so it doesn't bother to compile the duplicates.
Thank's Gary,
aot-compile-rpm is a really impressive tool!, it do all for you...nice work!!!
Thank you :D
Gary
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
alcapcom wrote:
- rpmlint give warning about "class-path-in-manifest"? how to define
the class path for my jars files, in the launches scripts?
Yes. At least according to JPackage policy, you remove the Class-Path from the manifest, and specify the list of jars in the launch script.
In Fedora, they don't always follow this. But here is an example on how you might do it.
#!/bin/sh
# Source functions library . /usr/share/java-utils/java-functions
# Source system prefs if [ -f /etc/azureus.conf ] ; then . /etc/azureus.conf fi
# Source user prefs if [ -f $HOME/.azureusrc ] ; then . $HOME/.azureusrc fi
# Configuration MAIN_CLASS="org.gudy.azureus2.ui.swt.Main" BASE_FLAGS="-Djava.library.path=/usr/lib64 - -Dgnu.gcj.runtime.VMClassLoader.library_control=never - -Dazureus.install.path=..." BASE_JARS="Azureus2 bcprov-jdk14 jakarta-commons-cli log4j swt-gtk gtk2.8 glib0.2"
# Set parameters set_jvm set_classpath $BASE_JARS set_flags $BASE_FLAGS
# Let's start run "$@"
- How configue a ant javadoc task, that find the sources for the
other packages.
As far as I know, you have to patch build.xml to use the <link /> tag inside the <javadoc> tag.
I don't know why it can't resolve the classes automatically, or at least use a JAVADOCPATH which is similar to CLASSPATH. I wish this could be implemented in gjdoc at least.
- -- Sincerely,
David Walluck david@zarb.org
java-devel@lists.fedoraproject.org