limelight icon indicating copy to clipboard operation
limelight copied to clipboard

create production fails due to windows path separator

Open gregors opened this issue 11 years ago • 0 comments

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:inappend' from FileSystem.java:163:in join' from Templater.java:81:infile' from CreateCommand.java:102:in createProduction' from CreateCommand.java:93:increateProduction' from CreateCommand.java:58:in doExecute' from Command.java:40:inexecute' from CmdLineMain.java:49:in run' from CmdLineMain.java:30:inmain' from NativeMethodAccessorImpl.java:-2:in invoke0' from NativeMethodAccessorImpl.java:57:ininvoke' from DelegatingMethodAccessorImpl.java:43:in invoke' from Method.java:601:ininvoke' from JavaMethod.java:455:in invokeDirectWithExceptionHandling' from JavaMethod.java:367:ininvokeStaticDirect' from StaticMethodInvoker.java:60:in call' from CachingCallSite.java:326:incacheAndCall' from CachingCallSite.java:170:in call' from CallOneArgNode.java:57:ininterpret' from NewlineNode.java:105:in interpret' from BlockNode.java:71:ininterpret' from RootNode.java:129:in interpret' from ASTInterpreter.java:121:inINTERPRET_ROOT' from Ruby.java:834:in runInterpreter' from Ruby.java:2674:inloadFile' from ExternalScript.java:66:in load' from LoadService.java:359:inload' from RubyKernel.java:1081:in loadCommon' from RubyKernel.java:1073:inload19' from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in call' from DynamicMethod.java:209:incall' from DynamicMethod.java:205:in call' from CachingCallSite.java:326:incacheAndCall' from CachingCallSite.java:170:in call' from c:\jruby-1.7.4\bin\limelight:23:infile' from c:\jruby-1.7.4\bin\limelight:-1:in load' from Ruby.java:807:inrunScript' from Ruby.java:800:in runScript' from Ruby.java:669:inrunNormally' from Ruby.java:518:in runFromMain' from Main.java:390:indoRunFromMain' from Main.java:279:in internalRun' from Main.java:221:inrun' from Main.java:201:in main' Caused by: URI.java:2829:infail': 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:inparseHierarchical' from URI.java:3034:in parse' from URI.java:595:in' from FileSystem.java:404:in <init>' from FileSystem.java:446:inappend' from FileSystem.java:163:in join' from Templater.java:81:infile' from CreateCommand.java:102:in createProduction' from CreateCommand.java:93:increateProduction' from CreateCommand.java:58:in doExecute' from Command.java:40:inexecute' from CmdLineMain.java:49:in run' from CmdLineMain.java:30:inmain' from NativeMethodAccessorImpl.java:-2:in invoke0' from NativeMethodAccessorImpl.java:57:ininvoke' from DelegatingMethodAccessorImpl.java:43:in invoke' from Method.java:601:ininvoke' from JavaMethod.java:455:in invokeDirectWithExceptionHandling' from JavaMethod.java:367:ininvokeStaticDirect' from StaticMethodInvoker.java:60:in call' from CachingCallSite.java:326:incacheAndCall' from CachingCallSite.java:170:in call' from CallOneArgNode.java:57:ininterpret' from NewlineNode.java:105:in interpret' from BlockNode.java:71:ininterpret' from RootNode.java:129:in interpret' from ASTInterpreter.java:121:inINTERPRET_ROOT' from Ruby.java:834:in runInterpreter' from Ruby.java:2674:inloadFile' from ExternalScript.java:66:in load' from LoadService.java:359:inload' from RubyKernel.java:1081:in loadCommon' from RubyKernel.java:1073:inload19' from RubyKernel$INVOKER$s$0$1$load19.gen:-1:in call' from DynamicMethod.java:209:incall' from DynamicMethod.java:205:in call' from CachingCallSite.java:326:incacheAndCall' from CachingCallSite.java:170:in call' from c:\jruby-1.7.4\bin\limelight:23:infile' from c:\jruby-1.7.4\bin\limelight:-1:in load' from Ruby.java:807:inrunScript' from Ruby.java:800:in runScript' from Ruby.java:669:inrunNormally' from Ruby.java:518:in runFromMain' from Main.java:390:indoRunFromMain' from Main.java:279:in internalRun' from Main.java:221:inrun' from Main.java:201:in `main'

gregors avatar Jun 27 '13 18:06 gregors