I'm using OpenKm 5.1.10.
I'm having trouble on calling these following functions..
But when I use TRASH in place of ROOT it works fine.
These are the header files I'm using
Thanks
SankarM
I'm having trouble on calling these following functions..
Code: Select all
for example:com.openkm.util.FileUtils.getName(eventNode.getPath()); and
Node rootNode = session.getRootNode().getNode(Repository.ROOT);Code: Select all
The codes placed below Repository.ROOT are not getting called.Node rootNode = session.getRootNode().getNode(Repository.ROOT);
String shellCmd = "sh /home/hcserver/debug.sh" + " = Special Directory " + parentDir;
java.lang.Process p = java.lang.Runtime.getRuntime().exec(shellCmd);
Node myNode = session.getNode(parentDir + "/" + docName);But when I use TRASH in place of ROOT it works fine.
These are the header files I'm using
Code: Select all
I would appreciate any help..import javax.jcr.*;
import com.openkm.core.*;
import com.openkm.bean.*;
import com.openkm.api.OKMDocument;
import com.openkm.module.base.*;
import com.openkm.bean.Document;
import com.openkm.util.*;Thanks
SankarM
