limelight
limelight copied to clipboard
create production fails due to windows path separator
Looks like it's trying to use a unix separator
limelight create production my_first_production
I'm running jruby 1.7.4 on windows xp
C:\repos>limelight create production first
FileSystem.java:408:in <init>': limelight.LimelightException: Failed to create URIPath from: file:/C:/repos/first\production.rb from FileSystem.java:446:in
append'
from FileSystem.java:163:in join' from Templater.java:81:in
file'
from CreateCommand.java:102:in createProduction' from CreateCommand.java:93:in
createProduction'
from CreateCommand.java:58:in doExecute' from Command.java:40:in
execute'
from CmdLineMain.java:49:in run' from CmdLineMain.java:30:in
main'
from NativeMethodAccessorImpl.java:-2:in invoke0' from NativeMethodAccessorImpl.java:57:in
invoke'
from DelegatingMethodAccessorImpl.java:43:in invoke' from Method.java:601:in
invoke'
from JavaMethod.java:455:in invokeDirectWithExceptionHandling' from JavaMethod.java:367:in
invokeStaticDirect'
from StaticMethodInvoker.java:60:in call' from CachingCallSite.java:326:in
cacheAndCall'
from CachingCallSite.java:170:in call' from CallOneArgNode.java:57:in
interpret'
from NewlineNode.java:105:in interpret' from BlockNode.java:71:in
interpret'
from RootNode.java:129:in interpret' from ASTInterpreter.java:121:in
INTERPRET_ROOT'
from Ruby.java:834:in runInterpreter' from Ruby.java:2674:in
loadFile'
from ExternalScript.java:66:in load' from LoadService.java:359:in
load'
from RubyKernel.java:1081:in loadCommon' from RubyKernel.java:1073:in
load19'
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in call' from DynamicMethod.java:209:in
call'
from DynamicMethod.java:205:in call' from CachingCallSite.java:326:in
cacheAndCall'
from CachingCallSite.java:170:in call' from c:\jruby-1.7.4\bin\limelight:23:in
file'
from c:\jruby-1.7.4\bin\limelight:-1:in load' from Ruby.java:807:in
runScript'
from Ruby.java:800:in runScript' from Ruby.java:669:in
runNormally'
from Ruby.java:518:in runFromMain' from Main.java:390:in
doRunFromMain'
from Main.java:279:in internalRun' from Main.java:221:in
run'
from Main.java:201:in main' Caused by: URI.java:2829:in
fail': java.net.URISyntaxException: Illegal character in path at index 20: file:/C:/repos/first\production.rb
from URI.java:3002:in checkChars' from URI.java:3086:in
parseHierarchical'
from URI.java:3034:in parse' from URI.java:595:in
<init>' from FileSystem.java:446:in
append'
from FileSystem.java:163:in join' from Templater.java:81:in
file'
from CreateCommand.java:102:in createProduction' from CreateCommand.java:93:in
createProduction'
from CreateCommand.java:58:in doExecute' from Command.java:40:in
execute'
from CmdLineMain.java:49:in run' from CmdLineMain.java:30:in
main'
from NativeMethodAccessorImpl.java:-2:in invoke0' from NativeMethodAccessorImpl.java:57:in
invoke'
from DelegatingMethodAccessorImpl.java:43:in invoke' from Method.java:601:in
invoke'
from JavaMethod.java:455:in invokeDirectWithExceptionHandling' from JavaMethod.java:367:in
invokeStaticDirect'
from StaticMethodInvoker.java:60:in call' from CachingCallSite.java:326:in
cacheAndCall'
from CachingCallSite.java:170:in call' from CallOneArgNode.java:57:in
interpret'
from NewlineNode.java:105:in interpret' from BlockNode.java:71:in
interpret'
from RootNode.java:129:in interpret' from ASTInterpreter.java:121:in
INTERPRET_ROOT'
from Ruby.java:834:in runInterpreter' from Ruby.java:2674:in
loadFile'
from ExternalScript.java:66:in load' from LoadService.java:359:in
load'
from RubyKernel.java:1081:in loadCommon' from RubyKernel.java:1073:in
load19'
from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in call' from DynamicMethod.java:209:in
call'
from DynamicMethod.java:205:in call' from CachingCallSite.java:326:in
cacheAndCall'
from CachingCallSite.java:170:in call' from c:\jruby-1.7.4\bin\limelight:23:in
file'
from c:\jruby-1.7.4\bin\limelight:-1:in load' from Ruby.java:807:in
runScript'
from Ruby.java:800:in runScript' from Ruby.java:669:in
runNormally'
from Ruby.java:518:in runFromMain' from Main.java:390:in
doRunFromMain'
from Main.java:279:in internalRun' from Main.java:221:in
run'
from Main.java:201:in `main'