Timetabling Development using MyEclipse
From UniTimeWiki
- Load UniTime project from CVS
- See CVS Access for more details
- Setup JAAS
- Add the following lines to ~/.java.login.config
Timetabling {
org.unitime.timetable.authenticate.jaas.DbAuthenticateModule sufficient debug=true;
};
Alternatively, you can set environment variable JVM_OPTS to point to JavaSource/jaas.config:
export JVM_OPTS="${JVM_OPTS} -Djava.security.auth.login.config=~/Sources/UniTime/JavaSource/jaas.config"
- Add yourself to USERS table (if you are not already in there)
- external_uid is your user id (PUID)
- username is your login name
- password is your password, encoded using
org.unitime.timetable.authenticate.jaas.DbAuthenticateModuleclass
-- add user john with user id 12345678 and password ChangeMe
insert into users (external_uid, username, password) values ('12345678','john','gH/3GzMBJi4iKtBeW3xDJQ==');
- Database connection
- If you need to connect Oracle Database, create file JavaSource/custom.properties with the following content
connection.url=jdbc:oracle:thin:@localhost:1521:xe connection.driver_class=oracle.jdbc.driver.OracleDriver connection.username=timetable connection.password=***** dialect=org.hibernate.dialect.OracleDialect tmtbl.uniqueid.generator=org.hibernate.id.SequenceGenerator
where connection.url is the proper connection string and connection.password the appropriate password.
- Deploy UniTime project and start Tomcat
Back to Timetabling Project Page.

