Hi,

Currently ciphertool cannot be executed if you are not inside the
$CARBON_HOME/bin folder.

Further examination into code explains this behaviour [1]. Please fix this
correctly.

[1]

 String osName = System.getProperty("os.name");
        File file;
        if(osName.toLowerCase().indexOf("win") == -1){
            file = new File("." + File.separator + ".." + File.separator);
        } else {
            file = new File("." + File.separator);
        }

        try {
            System.setProperty("carbon.home",
file.getCanonicalFile().toString());
        } catch (IOException e) {
            handleException("IOError while calculating CARBON_HOME
directory location ", e);
        }

-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to