[ 
https://issues.apache.org/jira/browse/KARAF-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré deleted KARAF-2384:
----------------------------------------


> karaf.bat fails to cd to %KARAF_BASE% under some circumstances
> --------------------------------------------------------------
>
>                 Key: KARAF-2384
>                 URL: https://issues.apache.org/jira/browse/KARAF-2384
>             Project: Karaf
>          Issue Type: Bug
>         Environment: Windows 7 + JDK1.6
>            Reporter: Opher Shachar
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Under Windows when Apache Karaf is installed on one drive (eg. D\:) and 
> _*karaf.bat*_ is started from a command line with current directory on 
> another drive (eg. user home directory on drive C\:) then the current 
> directory for the Java process doesn't change to %KARAF_BASE%. The _*cd*_ 
> command would need to be:{code}cd /d %KARAF_BASE%{code}
> On the flip side, this will not suffice for when Karaf is installed on a 
> network share (eg. \\Server\Share\apache-karaf). For this the _*cd*_ command 
> would need to be changed to:{code}pushd %KARAF_BASE%{code}
> If _*pushd*_ is used then _*popd*_ should be executed after the _java_ 
> command so that any temporary drive letter allocated by _pushd_ (if 
> _karaf.bat_ was executed from a UNC path) is released.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to