You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: Unable to access jarfile ~/.conscript/sbt-launch.jar #47
It seems like Java cannot understand Cygwin paths.
I am struggling with the same task and managed to bypass this problem using
set CONSCRIPT_HOME=C:/cygwin/home/YourUserName/.conscript
java -jar %CONSCRIPT_HOME%/sbt-launch.jar @file:/%CONSCRIPT_HOME%/n8han/conscript/cs/launchconfig n8han/giter8
from the Windows CLI. Also note the file:/ after @: I got "Error during sbt execution: Could not find configuration file" without it.
Mind that I am not done with this yet, as I am still figuring out what I must put into launchconfig for everything to work smoothly.
Manage your conscript files (those in ~/bin and ~/.conscript) by hand using cygpath command to convert windows paths to posix ones (doesn't make much sense)
Clone the repo and fix the bug (this is the best choice :) )
Hello,
I had the same problem on Mac OS. I added my own sbt-launch.jar to the ~/.conscript directory and it worked fine. I don't know what is the problem with the sbt-launch-0.12.2.jar in this directory.
Slowly, considering @alun's advise...lol and I do mean slowly.
I should have mentioned that, because I was using cygwin 64bit, applying the change above installed conscript into my windows user location (C:\Users). In my windows user directory I see:
Created Directories
.conscript
bin
.sbt
It's a weird result, but I understand that cygwin conflicts with %HOMEPATH% when installing this tool.
Shouldn't cs be looking for sbt-launch.jar from the $PATH, instead in ~/.conscript/ dir? I had added path to sbt's bin folder so, command sbt-launch.jar was available.
Activity
stepan-sadovnykov commentedon May 6, 2013
It seems like Java cannot understand Cygwin paths.
I am struggling with the same task and managed to bypass this problem using
from the Windows CLI. Also note the
file:/after@: I got "Error during sbt execution: Could not find configuration file" without it.Mind that I am not done with this yet, as I am still figuring out what I must put into launchconfig for everything to work smoothly.
quantoid commentedon May 30, 2013
+1 even without cygwin
cs.batthrows this error because the installed jar filename includes the version number:sbt-launch-0.11.3.jarHowever, copying this to
sbt-launch.jardoesn't help because the file is empty:Amrutas commentedon Jul 4, 2013
Did anyone find solution ? we are facing the same issue
alun commentedon Jul 4, 2013
@Amrutas I think you have several options:
benoitguigal commentedon Sep 3, 2013
Hello,
I had the same problem on Mac OS. I added my own sbt-launch.jar to the ~/.conscript directory and it worked fine. I don't know what is the problem with the sbt-launch-0.12.2.jar in this directory.
hseeberger commentedon Nov 15, 2013
Same issue here. I had to replace
.conscript/sbt-launch-0.13.jar.dghant1024 commentedon Apr 24, 2015
Using Cygwin 64bit. I had to replace the 'cs' file.
DEFAULT INSTALL:
java -jar /home/<username>/.conscript/sbt-launch-0.13.7.jar @$HOME/.conscript/n8han/conscript/cs/launchconfig "$@"COMMANDLINE:
java -jar sbt-launch-0.13.7.jar @file:C:\\cygwin64/home/<username>/.conscript/n8han/conscript/cs/launchconfig "$@"Slowly, considering @alun's advise...lol and I do mean slowly.
I should have mentioned that, because I was using cygwin 64bit, applying the change above installed conscript into my windows user location (C:\Users). In my windows user directory I see:
It's a weird result, but I understand that cygwin conflicts with %HOMEPATH% when installing this tool.
ysusuk commentedon Jul 23, 2015
in case you'll want to install gitter8, you'll probably need as well to change .conscript/n8han/conscript/cs/launchconfig
cjmatta commentedon Aug 5, 2015
@hseeberger What do you mean "replace" the jar? What did you replace it with?
edit: I figured it out, I have
sbtinstalled with homebrew:lyricpoem commentedon Feb 9, 2016
I also have the same problem while installing giter8 and sbt
mnn commentedon Feb 14, 2016
Hit same error. Downloaded https://dl.bintray.com/sbt/native-packages/sbt/0.13.9/sbt-0.13.9.zip and extracted the jar to
~\.conscript.cs.batwasn't in path, adding~\binto %PATH% solved it.dpkshrma commentedon Feb 29, 2016
I can confirm to that @mnn 's solution works. Although I am running Ubuntu 14.04, I had the same issue while installlng giter8.
dpkshrma commentedon Feb 29, 2016
Shouldn't
csbe looking forsbt-launch.jarfrom the$PATH, instead in ~/.conscript/ dir? I had added path to sbt's bin folder so, commandsbt-launch.jarwas available.eed3si9n commentedon May 15, 2016
Is this still happening with the latest version of conscript?
gilbird commentedon Aug 29, 2016
cs is working on 0.5.0 in cygwin environment
I've changed cs file like this:
$ more cs
#!/bin/sh
java$JAVA_OPTS -jar /home/gilbird/.conscript/sbt-launch.jar @file:\D:\cygwin64\home\gilbird.conscript\foundweekends\conscript\cs\launchconfig "$ @"