The simpliest way to deploy a SIP application from a custom directory is to use context deployer.