[aur-general] Request: Package Revision
Hi all, I don't know much about Java.. but I wanted to package this one because of SuperCollider and it seems a good sound editor anyway. Please people with experience with Java and Java packages revise this one: http://aur.archlinux.org/packages.php?ID=46459 thanks! Bernardo
Excerpts from Bernardo Barros's message of 2011-02-13 16:56:09 +0100:
Hi all,
I don't know much about Java.. but I wanted to package this one because of SuperCollider and it seems a good sound editor anyway. Please people with experience with Java and Java packages revise this one:
http://aur.archlinux.org/packages.php?ID=46459
thanks! Bernardo
I don't have java-specific packaging experience, but I seriously wonder what this is supposed to achieve: cat << EOF >> "$pkgdir/usr/bin/${pkgname}" #!/bin/bash cd /usr/share/$pkgname && java -jar Eisenkraut.jar EOF
Hi Phillip, I could just put the jar file (Eisenkraut.jar) to /usr/share/java, but the application also need a few data folders too, not I though would be incorrect to put everythin under /usr/share/java/eisenkraut. What I came up was to put the entire application in /usr/share/eisenkraut and make a simple script to call it from /usr/bin. Bad scheme?
Hum, Maybe just create a symlink in /usr/share/java/Eisenkraut/jar poiting to /usr/share/eisenkraut/Eisenkraut.jar ? Sorry if that too obvious, but I don't do java.
Sorry for the noise, I got it from ArchWiki :-) Thanks guys. cat << EOF >> "$pkgdir/usr/bin/Eisenkraut" #!/bin/sh "$JAVA_HOME/bin/java" -jar '/usr/share/java/Eisenkraut/Eisenkraut.jar' EOF
On 14 February 2011 01:19, Bernardo Barros <bernardobarros2@gmail.com> wrote:
Hum,
Maybe just create a symlink in /usr/share/java/Eisenkraut/jar poiting to /usr/share/eisenkraut/Eisenkraut.jar ?
Sorry if that too obvious, but I don't do java.
Take a look at jsampler [1]. For many java redistributions, they don't have their sources or don't need to be built. You can often skip the ant step and just put the jars in proper places, followed by a script to call the jar (like what you have already done). [1] http://projects.archlinux.org/svntogit/community.git/tree/jsampler/trunk/PKG...
On 14 February 2011 01:09, Philipp Überbacher <hollunder@lavabit.com> wrote:
Excerpts from Bernardo Barros's message of 2011-02-13 16:56:09 +0100:
Hi all,
I don't know much about Java.. but I wanted to package this one because of SuperCollider and it seems a good sound editor anyway. Please people with experience with Java and Java packages revise this one:
http://aur.archlinux.org/packages.php?ID=46459
thanks! Bernardo
I don't have java-specific packaging experience, but I seriously wonder what this is supposed to achieve: cat << EOF >> "$pkgdir/usr/bin/${pkgname}" #!/bin/bash cd /usr/share/$pkgname && java -jar Eisenkraut.jar EOF
This is a shortcut to create an executable for the java binary. Not illegal :)
participants (3)
-
Bernardo Barros
-
Philipp Überbacher
-
Ray Rashif