Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Debian package] Move launcher to /usr/bin #502

Closed
wants to merge 5 commits into from

Conversation

Glandos
Copy link

@Glandos Glandos commented Jul 14, 2017

Starts to work on #497.
The launcher is moved from /usr/share/jitsi-videobridge/jvb.sh into /usr/bin/jvb.
This is far from perfect, since it only works for linux-64, but I want to gather comments before going on.
If the way to do it seems wrong, please raise your hand.

(Sorry for other commits, I've rebased too late)

The renaming maybe missed in deb-src target.
Also, use glob classpath, it is supported since Java 6.
The renaming maybe missed in deb-src target.
Also, use glob classpath, it is supported since Java 6.
@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

<chmod perm="755">
<fileset dir="${debian.dir}/usr/bin"></fileset>
</chmod>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you need to touch some system folder permissions which are not jvb related.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I just did this for no reason.

libs="$SCRIPT_DIR/lib/native/linux-64"
logging_config="$SCRIPT_DIR/lib/logging.properties"
videobridge_rc="$SCRIPT_DIR/lib/videobridge.rc"
cp="$BASE_LIB_DIR/*:$BASE_LIB_DIR/lib/*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think cp was containing a list of jars and not star paths, not sure whether the later works.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See http://docs.oracle.com/javase/8/docs/technotes/tools/unix/classpath.html#A1100762
and specifically:

Class path entries can contain the base name wildcard character (*), which is considered equivalent to specifying a list of all of the files in the directory with the extension .jar or .JAR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I've been experiencing this problem and I think there is a reason that current -cp behave like this. Have you tested this?

@Glandos
Copy link
Author

Glandos commented Mar 29, 2018

Errr, I'm sorry to say that I don't have the time and the incentive to work on this anymore. I hope that you preferred to be notified on this rather than nothing.

I can close it if you like.

@bgrozev
Copy link
Member

bgrozev commented Nov 21, 2023

This is now obsolete, please re-open if it's still needed.

@bgrozev bgrozev closed this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants