Creating a wrapper for a application in /usr/share/%{name}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to create a wrapper for a java application (kmttg). I need to have the application jar file and helper files/scripts in /usr/share/kmttg.

I've tried:

%jpackage_script com.tivo.kmttg.main.kmttg '-Djava.net.preferIPv4Stack=true' '-Xmx256m' Chart2D:jmdns:swingx:%{_datadir}/%{name}/%{name}.jar %{name} true

But that doesn't work because build-classpath can't handle full paths to jars. Is their a better way to achieve this? The application appears to look for its helper files in the directory relative to its jar file. I suppose I could install into /usr/share/java/kmttg, but that doesn't feel quite right.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux