[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1027) Space in path seems to break runGUIDemo.sh

Trustin Lee (JIRA) jira-events at lists.jboss.org
Fri Apr 22 01:12:18 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597495#comment-12597495 ] 

Trustin Lee commented on ISPN-1027:
-----------------------------------

I succeeded to fix the problem.  importConfig.sh, runGuiDemo.sh, and startServer.sh runs OK with the home path with spaces (e.g. {{/home/trustin/Sandbox/i s p n/}})  However, other 'run*Demo.sh' scripts are somewhat more complex than the others, so I think it's better to '{{cd}}' into the home directory in the beginning of the script.  Because they are all demo scripts, I think it should be fine.  WDYT?

> Space in path seems to break runGUIDemo.sh
> ------------------------------------------
>
>                 Key: ISPN-1027
>                 URL: https://issues.jboss.org/browse/ISPN-1027
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 4.2.1.FINAL
>         Environment: MAC OS X infinispan-4.2.1.FINAL
>            Reporter: Jim Tyrrell
>            Assignee: Trustin Lee
>             Fix For: 4.2.2.BETA1, 5.0.0.CR1, 5.0.0.FINAL
>
>
> Assuming that the space in the path is breaking the running of this:
> Jim-Tyrrells-MacBook-Pro-2:infinispan-4.2.1.FINAL jimtyrrell$ pwd
> /Users/jimtyrrell 1/Servers/infinispan-4.2.1.FINAL
> Jim-Tyrrells-MacBook-Pro-2:infinispan-4.2.1.FINAL jimtyrrell$ ./bin/runGuiDemo.sh 
> Jim-Tyrrells-MacBook-Pro-2:infinispan-4.2.1.FINAL jimtyrrell$ Exception in thread "main" java.lang.NoClassDefFoundError: 1/Servers/infinispan-4/2/1/FINAL/etc:/Users/jimtyrrell/*/jar:/Users/jimtyrrell/*/jar:/Users/jimtyrrell/*/jar:/Users/jimtyrrell/*/jar
> Caused by: java.lang.ClassNotFoundException: 1.Servers.infinispan-4.2.1.FINAL.etc:.Users.jimtyrrell.*.jar:.Users.jimtyrrell.*.jar:.Users.jimtyrrell.*.jar:.Users.jimtyrrell.*.jar

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list