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

create production fails due to windows path separator #11

Open
gregors opened this issue Jun 27, 2013 · 0 comments
Open

create production fails due to windows path separator #11

gregors opened this issue Jun 27, 2013 · 0 comments

Comments

@gregors
Copy link

gregors commented Jun 27, 2013

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'

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

No branches or pull requests

1 participant