![](https://seccdn.libravatar.org/avatar/8767c3ade838f0f1c0c955d9c6a2aa83.jpg?s=120&d=mm&r=g)
Am Montag, 26. April 2010 schrieb Sascha 'saigkill' Manns:
Hello oc2pus,
Am Montag, 26. April 2010 12:56:33 wrote oc2pus@arcor.de:
Has anyone a idea, how to fix this?
if you grab my spec-fle and disable the patch, you should not delete the "inlined" jar files ...
so recreate the patch and/or remove this sequence in the spec-file: pushd lib for i in commons-codec commons-lang commons-net jakarta-oro \ forms l2fprod looks skinlf; do %__rm $i* done %__rm bsh*.jar ln -s %{_javadir}/bsh2/*.jar . popd
That was it. Now it builds perfectly :-) If you use the "inlined" jars of tvbrowser instead of the system installed ones, you'll need als to change the start-script: # startscript %__cat > %{name}.sh << EOF #!/bin/bash echo "TV-Browser starting ..."
# source the jpackage helpers VERBOSE=1 . %{_javadir}-utils/java-functions # set JAVA environment set_javacmd check_java_env set_jvm_dirs # set CLASSPATH CLASSPATH1=\`build-classpath bsh2 jakarta-commons-codec jakarta-commons-lang jakarta-commons-net oro\` CLASSPATH2=\`build-classpath forms l2fprod-common liquidlnf looks2 skinlf\` CLASSPATH3=\`build-classpath %{name}\` CLASSPATH=\$CLASSPATH1:\$CLASSPATH2:\$CLASSPATH3 # main-class MAIN_CLASS="tvbrowser.TVBrowser" # options set_options "-Dpropertiesfile=%{_javadir}/%{name}/linux.properties" set_flags "-Xms16m -Xmx128m" # start application cd %{_javadir}/%{name} run \$@ echo "TV-Browser TERMINATED." EOF The three CLASSPATHx statements can be shortened to: CLASSPATH=\`build-classpath %{name}\` as the tvbrowser build.xml packs all classes and helper jarfiles to one big tvbrowser.jar. And of course a lot of Requires/BuildRequires are not needed.
and as a side-note: it is not very polite to remove my copyright statement:
Sure. Excuse me. I have readded your Statement....
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org