Giter Site home page Giter Site logo

sbt / sbt-launcher-package Goto Github PK

View Code? Open in Web Editor NEW
89.0 12.0 92.0 726 KB

Packaging for sbt so you can run it.

Home Page: http://scala-sbt.org/download.html

License: Apache License 2.0

Scala 49.76% Shell 26.00% Batchfile 22.00% Roff 2.10% Python 0.14%

sbt-launcher-package's People

Contributors

2m avatar analytically avatar anilkumarmyla avatar atry avatar avdv avatar cdow avatar dwijnand avatar eatkins avatar eed3si9n avatar er1c avatar ericdotdata avatar fommil avatar gladiac avatar henricook avatar javabrett avatar jiminhsieh avatar jsoref avatar jsuereth avatar liff avatar marcospereira avatar michaelh0911 avatar mkurz avatar muuki88 avatar paulp avatar retronym avatar rtyley avatar sarutak avatar szeiger avatar tksk avatar xenonabe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sbt-launcher-package's Issues

sbt shellscript doesn't follow all symlinks when searching for launcher jar

Right now the launcher jar sits next to the shell script in the bin directory. That makes it easy to locate, but against policy.

I tried moving them both to a libexec directory on the mac for homebrew, and then symlinking only sbt itself to bin. That symlink in turn is then linked to /usr/local/bin by brew itself. So far so good.

sbt, unfortunately, only follows one symlink to /usr/local/bin/../Cellar/sbt-lancher/0.11.3/bin but that's not where the jar lives.

I tried whether calling readlink a second time would work, but it didn't. I think the trick is to canonicalize the path after every readlink call, to get rid of relative paths.

Cygwin: After exiting sbt, characters typed to shell are not shown

This happens on sbt 0.13.0-RC4, MSI install, under Cygwin and mintty terminal.

Reproducing:

  1. Run sbt and exit it. (Even sbt --version causes this problem.)
  2. Try to type something to the shell.
    • Expected: you see what you type
    • Actual: the typed characters are not visible

Workaround:

Enter (blindly) the command stty echo to the shell to turn echo back on.

Ubuntu 12.04: Adding typesafe repo breaks scala dependencies

After adding the typesafe repo as per http://www.scala-sbt.org/download.html#deb and installing sbt I get the following behaviour:

$ sudo apt-get update &>/dev/null && sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  scala
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24 not fully installed or removed.
Need to get 0 B/21.5 MB of archives.
After this operation, 13.1 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 448748 files and directories currently installed.)
Preparing to replace scala 2.9.1.dfsg-3 (using .../scala_2.9.2-400_all.deb) ...
Unpacking replacement scala ...
dpkg: error processing /var/cache/apt/archives/scala_2.9.2-400_all.deb (--unpack):
 trying to overwrite '/usr/share/java/scala-partest.jar', which is also in package scala-library 2.9.1.dfsg-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/scala_2.9.2-400_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Adding ClassUnloadingEnabled option

Hi,

A college had an issue with the automatic class reloading in sbt. On
a macbook I saw sbt adding the CMSClassUnloadingEnabled jvm flag.
I found two stackoverflow questions on this

and this may or may not be a good idea to add to the sbtopts

-J-XX:+CMSClassUnloadingEnabled
-J-XX:+UseConcMarkSweepGC

sbt.msi installation problem on windows 7 64bit

Hi,

my java environment has no problem:

C:>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_32

C:>java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)

running sbt.msi, immediately returns me:

"This application requires a JVM available. Please install Java, then run this installer again."

any help?

Thanks.

MSI Installer lacks basic configuration

The MSI installer lacks basic configuration, so even the little it does it can get wrong. For instance, in my system it did two things wrong:

  • Installed on Program Files (x86) instead of Program Files (lack of install path configuration)
  • Added path to global setting instead of user setting (lack of profile selection for changes)

running sbt in ubuntu 12.04 64 bit

Hello all,
just new in the forum and to the sbt.I have install and when I run sbt -h shows the neccessary condition.But when I run in terminal
sbt

got the following error:

Getting net.java.dev.jna jna 3.2.3 ...

:: problems summary ::
:::: WARNINGS
Your proxy requires authentication.

    module not found: net.java.dev.jna#jna;3.2.3

==== local: tried

  /home/lubna/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

==== typesafe-ivy-releases: tried

  http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

==== Maven Central: tried

  http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

==== sonatype-snapshots: tried

  https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

    ::::::::::::::::::::::::::::::::::::::::::::::

    ::          UNRESOLVED DEPENDENCIES         ::

    ::::::::::::::::::::::::::::::::::::::::::::::

    :: net.java.dev.jna#jna;3.2.3: not found

    ::::::::::::::::::::::::::::::::::::::::::::::

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
Error during sbt execution: Error retrieving required libraries
(see /home/lubna/.sbt/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3

I HAVE OPENED SBT.DAT FILE and added the following line.

if "%_JAVA_OPTS%"=="" set _JAVA_OPTS=-Xmx512M -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=128m -Dsbt.log.format=true
-Dhttp.proxyHost=http://a.b.c.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=mysuerid -Dhttp.proxyPassword=mypassword.
Still didnt work.
How can I set proxy ?
thank you in advance
huu

RPM Package for version 0.13.5 and 0.13.2 fails to install on CentOS 6.5 64-bit

Hi there.

I have downloaded the rpm package for version 0.13.5 from the following link: http://dl.bintray.com/sbt/rpm/sbt-0.13.5.rpm

Upon trying to install said package on my machine (CentOS 6.5 64-bit) there were some issues:

  • First, I got error file name is too long when I tried to download it using wget. I had to rename it using the -o option so that I could download it with no errors.

  • Once I downloaded it, it would install. These are some of the things I've tried and the errors I had:

    • using rpm -i
    [falmeida@sisc001-web backend]$ rpm -i sbt-0.13.5.rpm 
    error: sbt-0.13.5.rpm: not an rpm package (or package manifest): 
    [falmeida@sisc001-web backend]$ sudo rpm -i sbt-0.13.5.rpm 
    error: sbt-0.13.5.rpm: not an rpm package (or package manifest):
    
    • trying to download version 0.13.2 and using other methods of installing as well:
    [falmeida@sisc001-web backend]$ ls
    sbt-0.13.2.rpm  sbt-0.13.5.rpm
    [falmeida@sisc001-web backend]$ sudo rpm -i sbt-0.13.2.rpm 
    error: sbt-0.13.2.rpm: not an rpm package (or package manifest): 
    [falmeida@sisc001-web backend]$ sudo yum localinstall sbt-0.13.2.rpm 
    Loaded plugins: fastestmirror, security
    Setting up Local Package Process
    Cannot open: sbt-0.13.2.rpm. Skipping.
    Nothing to do
    [falmeida@sisc001-web backend]$ sudo chmod 777 sbt-0.13.2.rpm 
    [falmeida@sisc001-web backend]$ sudo rpm -i sbt-0.13.2.rpm 
    error: sbt-0.13.2.rpm: not an rpm package (or package manifest): 
    [falmeida@sisc001-web backend]$ sudo yum localinstall sbt-0.13.2.rpm 
    Loaded plugins: fastestmirror, security
    Setting up Local Package Process
    Cannot open: sbt-0.13.2.rpm. Skipping.
    Nothing to do
    [falmeida@sisc001-web backend]$
    

I hope this helps. Thank you.

Cannot install 0.11.3 SBT on Ubuntu 10.04 LTS from Typesafe Debian Repository

Hi,

This process used to work fine in 0.11.2 but the recent change w.r.t to sbt group ID changed to org.scala-sbt (from org.scala-tools.sbt) seems to have broken a dependency.

I've got a 10.04 LTS machine to which I added the Typesafe deb repository using the deb package file, described in: https://github.com/harrah/xsbt/wiki/Getting-Started-Setup.

When I try to install from the repo I get:

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-tools.sbt#scripted-plugin_2.9.1;0.11.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

[warn] module not found: org.scala-tools.sbt#scripted-plugin_2.9.1;0.11.3
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/scripted-plugin_2.9.1/0.11.3/ivys/ivy.xml
[warn] ==== local: tried
[warn] /home/jasonmaclulich/.ivy2/local/org.scala-tools.sbt/scripted-plugin_2.9.1/0.11.3/ivys/ivy.xml
[warn] ==== Typesafe Repo: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/scripted-plugin_2.9.1/0.11.3/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scala-tools/sbt/scripted-plugin_2.9.1/0.11.3/scripted-plugin_2.9.1-0.11.3.pom

How do I instruct sbt to look for scripted-plugin at the right group id?

Thanks, Jason.

Publish SBT to Debian/Ubuntu

There is no package available to download, even though a .deb is available from the website.

This is very important when building servers, specially if you are using virtual images like vagrant and docker.

Windows MSI - Overwrites System Path Variable

Installer appears to have overwritten System path variable. We customize our path variable for our internal applications, so noticed it immediately. Our apps create system variables which we then append/prepend to the path variable.

Variable: APPLICATION_CONFIG
Value: C:\Apps\cfg

Then, edit/update PATH variable:

%APPLICATION_CONFIG%;{original PATH value}

network still used when -offline flag present

Reopening this here as it was suggested as a more relevant place than the sbt repo...

If I remove a dependency of my project and run sbt with the -offline flag, I would expect it to fail. Instead it downloads the dependency from the network:

[developer@sandbox testsbtproject]$ rm -rf vendor/cache/junit/
[developer@sandbox testsbtproject]$ sbt -Dsbt.ivy.home=vendor -offline run
[info] Loading project definition from /mnt/hgfs/workspace/testsbtproject/project
[info] Set current project to my-project (in build file:/mnt/hgfs/workspace/testsbtproject/)
[info] Reapplying settings...
[info] Set current project to my-project (in build file:/mnt/hgfs/workspace/testsbtproject/)
[info] Updating {file:/mnt/hgfs/workspace/testsbtproject/}default-93651c...
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[info] Resolving junit#junit;4.8 ...
[info] downloading http://repo1.maven.org/maven2/junit/junit/4.8/junit-4.8.jar ...
[info]  [SUCCESSFUL ] junit#junit;4.8!junit.jar (79ms)
[info] Done updating.
[info] Running Hi
Hi!
[success] Total time: 12 s, completed 05-Aug-2013 12:48:14

This might be by design, but would be much more useful to me if there was an option where I could be sure that the build is repeatable without having to go to the network.

Thanks

Tom

sbt won't start from directory with spaces in path

I installed http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.0-RC2/sbt.msi to "c:\Program Files (x86)\sbt"
Using cygwin bash i executed

C:\Users\OlegYch>bash "/cygdrive/c/Program Files (x86)/sbt/bin/sbt"                                                  
/cygdrive/c/Program Files (x86)/sbt/bin/sbt: line 12: cd: /cygdrive/c/Program: No such file or directory             
/cygdrive/c/Program Files (x86)/sbt/bin/sbt: line 55: /cygdrive/c/Users/OlegYch/sbt-launch-lib.bash: No such file or 
directory                                                                                                            ```

Problems with Customized Installation Path on Windows

The installation path on Windows does not seem to work at all. It always installs on my 32 bit application path even though I try to override it with the 64 bit application path.

One other thing I noticed is that the path installation option disappears if I de-select the PATH update "component". I haven't tried other components, and this is not related to the first problem (I tried these things on different installs).

Cannot pass commands with (space separated) arguments to sbt

For example:

tsf-444-wpa-5-089:assignments luc$ sbt "show sources"
[error] Not a valid command: show (similar: shell)
[error] Expected whitespace character
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: show (similar: show-timing)
[error] show
[error]     ^

Works fine with sbt-extras.

SBT can't be uninstalled/upgraded on Windows

I've installed SBT 0.12 with MSI installer. When trying to install SBT 0.12.1 I get the message

Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.

However, SBT doesn't appear in the Programs part of the Control Panel so I can't remove it.

"Ham fisted" memory settings keep sbt from launching on machines with less than 1GB of memory unnecessarily

https://github.com/sbt/sbt-launcher-package/blob/full-packaging/src/universal/bin/sbt-launch-lib.bash#L80h

# a ham-fisted attempt to move some memory settings in concert
# so they need not be dorked around with individually.
get_mem_opts () {
  local mem=${1:-1024}
  local perm=$(( $mem / 4 ))
  (( $perm > 256 )) || perm=256
  (( $perm < 1024 )) || perm=1024
  local codecache=$(( $perm / 2 ))

  echo "-Xms${mem}m -Xmx${mem}m -XX:MaxPermSize=${perm}m -XX:ReservedCodeCacheSize=${codecache}m"
}

Sbt wont launch on my digital ocean (512 M) Ubuntu droplet without me commenting the echo in this function out because it overrides my env settings.

sbt is not signed, so it's not installed on Fedora 16 with default command

yum install sbt
.....

Package sbt-0.11.3-1.noarch.rpm is not signed
[root@aa22 fixture-state-management]#

Workaround is disable gnupg check by using

  yum install --nogpgcheck  sbt

or alter /etc/yum.repos.d/typesafe.repo by adding line 'gnupgcheck=0' at the end on file, but better sign package ;)

Ubuntu 12.10 - The package is of bad quality

Opening deb package w/ Ubuntu Software Center gives:

The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.

Lintian check results for /home/jamie/Downloads/sbt.deb:
E: sbt: control-file-has-bad-permissions conffiles 0664 != 0644
E: sbt: control-file-has-bad-permissions md5sums 0664 != 0644

FHS compliance

According to the Filesystem Hierarchy Standard, system-independent files such as jars should go in /usr/share, not /usr/lib.

RPM spec file not available on Github

It would be nice to be able to rebuild the SBT RPM from RPM sources.
I didn't find any spec or srpm file on Github. Is it available somewhere? Or can it be pushed on this github repository? We would be able to do some Pull Requests to improve it.

Thanks

unable to install sbt from typesafe debian repo on Ubuntu 11.04

added typesafe debian repo, then

apt-get update //successful

************$ sudo apt-get install sbt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
jsvc nspluginwrapper scala-library libcommons-daemon-java
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
curl
The following NEW packages will be installed:
curl sbt
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 931 kB/1 112 kB of archives.
After this operation, 377 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://apt.typesafe.com/ unicorn/main sbt all 0.11.3-build-0100
400 Bad Request ( The data is invalid. )
Failed to fetch http://apt.typesafe.com/pool/main/s/sbt/sbt_ 0.11.3-build-0100_all.deb 400 Bad Request ( The data is invalid. )
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Infinite failure loop. "die" command not found

Replicate:

Issue found when instead of executing "sbt sbt-version" I was trying to execute the following command:
sbt -sbt-version

Has same result when done inside a directory with sbt project, or other directory.

Result:

/opt/sbt/bin/sbt-launch-lib.bash: line 93: die: command not found
...this gets printed on the screen infinitely

Environment:

$uname -a
Linux xps-main 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:18:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$sbt sbt-version
[info] Set current project to default-3d053a (in build file:/home/chamakits/creates/dev/sources/scala/coursera/sbt-starting/)
[info] 0.12.2
$bash -version
GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu)
$java -version
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

"die: command not found" on invalid arguments

I've installed the deb package (0.12.3-0.1-build-001) on Ubuntu 12.10. I gave an incorrect argument:

sbt -mem -Xmx1024

And got a never-ending series of error messages:

/usr/share/sbt/sbt-launch-lib.bash: line 93: die: command not found
/usr/share/sbt/sbt-launch-lib.bash: line 93: die: command not found
/usr/share/sbt/sbt-launch-lib.bash: line 93: die: command not found
/usr/share/sbt/sbt-launch-lib.bash: line 93: die: command not found
/usr/share/sbt/sbt-launch-lib.bash: line 93: die: command not found
...

Chrome indicates Windows installer as malware

Chrome marks the latest SBT installer download as malware. This may be due to a simple name match, since there is a trojan called sbt.

Seen on Chrome 35.0.1916.114m on Windows 7. Also seen on Windows 8.1, but I don't have that system in front of me to check the Chrome version.

I have an earlier version of an sbt msi that isn't version tagged, SHA1 of f3871740ad9118d98391573af674d40220082738. This wasn't indicated as malicious when I downloaded it in April. This is not signed, so this probably isn't #31, as one was OK and one isn't.
sbt

VirusTotal shows sbt-0.13.5.msi as clean as of the filing of this issue.

Ubuntu 12.04 - dependencies warning

If you try to install the .deb package without first installing a JRE, it fails with a nonsensical error.

Selecting previously unselected package sbt.
(Reading database ... 181345 files and directories currently installed.)
Unpacking sbt (from sbt.deb) ...
dpkg: dependency problems prevent configuration of sbt:
 sbt depends on java2-runtime; however:
  Package java2-runtime is not installed.
dpkg: error processing sbt (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 sbt

It does say java2-runtime is not installed; however, the final line is unhelpful.

.sbtopts is read from current directory, not "sbt root"

sbt -help says

  .sbtopts      if this file exists in the sbt root, it is prepended to the runner args

but it actually looks in the current directory, not the "sbt root" (I don't know what that means, but what that means is irrelevant, since it's wrong anyway).

sbt.bat not working on windows

Hi all,
running sbt.bat from typesafe-stack-universal-2.0.zip , on windows 2003 i get this:

call sbt.bat
Exception in thread "main" java.lang.NoClassDefFoundError: SbtJansiLaunch
Caused by: java.lang.ClassNotFoundException: SbtJansiLaunch
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: SbtJansiLaunch. Program will exit.

Tell me if you need more info and/or tests ...

Thank you for now and best regards,
Sandro

cannot install sbt on Ubuntu 10.04 LTS

To install sbt using apt-get, I followed the instructions here.
The apt-get install fails with the following error, which looks like the paths in the repo are broken:

$ sudo apt-get install sbt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  git
The following NEW packages will be installed:
  sbt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 931kB of archives.
After this operation, 0B of additional disk space will be used.
Err http://apt.typesafe.com/ unicorn/main sbt 0.11.3-build-0100
  403  Invalid path specification
Failed to fetch http://apt.typesafe.com/pool/main/s/sbt/sbt_     0.11.3-build-0100_all.deb  403  Invalid path specification
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

sbt install does not work on ubuntu 12.04

See console logs below

$ sudo dpkg --install repo-deb-build-0002.deb
[sudo] password for dhananjay:
Selecting previously unselected package typesafe-repo.
(Reading database ... 244796 files and directories currently installed.)
Unpacking typesafe-repo (from repo-deb-build-0002.deb) ...
Setting up typesafe-repo (2.0-build-0003) ...
OK

$ sudo apt-get install sbt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sbt

$ sudo apt-cache search sbt
coop-computing-tools - cooperative computing tools
libnet-z3950-simpleserver-perl - simple perl API for building Z39.50 servers
libusbtc08-1 - Hardware interface library for PicoTech USB TC08 Thermocouple sensor
libusbtc08-dev - Development files for PicoTech USB TC08
python-usbtc08 - Python wrapper for libusbtc08
s51dude - In-System Programmer for 8051 MCUs using usbtiny

Issues in RPM structure

The RPM provided on scala-sbt.org has a few issues

Running 'rpm -qpl sbt-0.13.5.rpm', we have the following results

$ rpm -qpl sbt-0.13.5.rpm
/etc/sbt-launcher-packaging
/usr
/usr/bin/sbt
/usr/share
/usr/share/doc
/usr/share/doc/sbt
/usr/share/doc/sbt/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/sbt.1.gz
/usr/share/sbt-launcher-packaging/bin
/usr/share/sbt-launcher-packaging/bin/sbt
/usr/share/sbt-launcher-packaging/bin/sbt-launch-lib.bash
/usr/share/sbt-launcher-packaging/bin/sbt-launch.jar
/usr/share/sbt-launcher-packaging/conf
/usr/share/sbt-launcher-packaging/conf/sbtconfig.txt
/usr/share/sbt-launcher-packaging/conf/sbtopts

The RPM should not own the following directories (and erase their user rights) :

/usr
/usr/share
/usr/share/doc
/usr/share/man
/usr/share/man/man

This folders are provided by the filesystem system on Red Hat distributions, it can be dangerous to override this.

I didn't find the RPM spec file on github. I've opened another issue about its availability so we would be able to offer some patches : #74

Thanks

sbt-launcher SshResolver

Desperately trying to get sbt installed, so I can take the coursera Scala Reactive Programming course, but have been spending days trying to get it to work. Shoud be easy, right?

So running sbt the first time, it wants to down load jars from the typesefe.com repo. The error seems to be that sbt-launcher.jar doesn't include this class:

setting 'ivy.default.settings.dir' to 'jar:file:/D:/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
setting 'ivy.basedir' to 'C:\Windows\System32.'
setting 'ivy.default.conf.dir' to 'jar:file:/D:/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader

There are a number of other "impossible to define" statements.

I'm running on Windows 7 x64 with Java 7_045. I have Avast antivirus running.

For now, I'm happy to hack any kind of solution manually. What jars should I download and where should I put them to make sbt-launcher happy?

Thanks!

Tom Lasseter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.