Hi I need to build a Java project on OpenSUSE 10 that uses checkstyle for style checking. chechstyle is not available from the "SL-10.0-OSS/inst-source-java/" repository. I tried to load the checkstyle rpm from the JPackage repository, but apparently the two Java distributions are not compatible. Should I switch to JPackage entirely to install all Java components or is there a way to install checkstyle into a SUSE Java environment? thanks --martin
Martin, On Wednesday 04 January 2006 19:21, Martin Steinmann wrote:
Hi
I need to build a Java project on OpenSUSE 10 that uses checkstyle for style checking. chechstyle is not available from the "SL-10.0-OSS/inst-source-java/" repository.
I tried to load the checkstyle rpm from the JPackage repository, but apparently the two Java distributions are not compatible.
Should I switch to JPackage entirely to install all Java components or is there a way to install checkstyle into a SUSE Java environment?
I recommend staying away from JPackage. It may be a fine repository, but it will not mix well with other packages, as you've discovered. Anyway, I retrieved the binary distribution in .tar.gz format and had no trouble running the CLI version. The distribution is self-contained, other than, of course, the JVM itself.
thanks --martin
Randall Schulz
On Thursday 05 January 2006 04:21, Martin Steinmann wrote:
Hi
I need to build a Java project on OpenSUSE 10 that uses checkstyle for style checking. chechstyle is not available from the "SL-10.0-OSS/inst-source-java/" repository.
I tried to load the checkstyle rpm from the JPackage repository, but apparently the two Java distributions are not compatible.
Should I switch to JPackage entirely to install all Java components or is there a way to install checkstyle into a SUSE Java environment?
thanks --martin
Hi Martin. What error do you get when trying to install the jpackage package? It's probably a missing package. First of all, be sure you have the following packages installed: ant antlr regexp jakarta-commons-logging jakarta-commons-beanutils jakarta-commons-collections jpackage-utils jakarta-commons-lang antlr install them with with YAST. After that download jakarta-commons-cli from jpackage as SUSE does not have this package [yet] and install these two packages with rpm. It should then work. The SUSE packages are based on jpackage, i.e. it should hopefully not be to problematic to use their packages if we do not include a certain package. -- Daniel Bornkessel Tel: +49 911 740 53 161 Novell :: SUSE R&D :: Internal Tools / Java Packaging ______________________________________________________________________ [====================================== ] SL 10.1 in: t=-1399717s
participants (3)
-
Daniel Bornkessel
-
Martin Steinmann
-
Randall R Schulz