InternalProjectFactory factory = (InternalProjectFactory)
ProjectFactory.getDefaultInstance();
if (remote) {
RemotePolicySource source = factory.createRemotePolicySource(
null, "file:/a/b/");
builder.setPolicySource(source);
}
// Addditional set-up of the project may go here