cancel
Showing results for 
Search instead for 
Did you mean: 

Running SimpleExample.java and MixedExample.java

elangenbach
Champ in-the-making
Champ in-the-making
I am using the 11-11-2005 nightly build and have found that in order to run SimpleExample and MixedExample, I had to make the following changes:

1. Change the user used for login:
Session session = repository.login(new SimpleCredentials("superuser", "".toCharArray()));
becomes
Session session = repository.login(new SimpleCredentials("admin", "admin".toCharArray()));

2. Change the name of the "Company Home" node:
Node companyHome = root.getNode("app:Company_Home");
becomes
Node companyHome = root.getNode("app:company_home");


Are these bugs in the examples or am I missing something?

Thanks,

Erik
1 REPLY 1

davidc
Star Contributor
Star Contributor
Yes, they're bugs.  Thanks.  They'll be fixed for next build. 

FYI - We're working on level 2 support right now.