in src/main/java/org/apache/sling/launchpad/testservices/repository/SecondRepositoryInitializer.java [45:59]
public void processRepository(SlingRepository repo) throws Exception {
final Session s = repo.loginAdministrative(null);
try {
final String path = FirstRepositoryInitializer.SIGNAL_NODE_PATH;
if(!s.itemExists(path)) {
log.warn("{} not found, should have been created by another initializer", path);
} else {
s.getNode(path).setProperty(SIGNAL_PROPERTY_NAME, System.currentTimeMillis());
log.info("Property {} added to {}", SIGNAL_PROPERTY_NAME, path);
s.save();
}
} finally {
s.logout();
}
}