Automatic Indy Enrolment System
Clone the repository by typing git clone https://github.com/stnwtr/indymatic.git
in the terminal.
Create a file which contains all the priorities for hour and day.
#
only at line beginning are for commentst
takes an entry by teacherr
takes an entry by room
The priority file contains lines of priority ordered entries.
Each line has a few fields which are separated by colons (:
).
The case of the entries does not matter.
A line is structured as follow:
day : hour : priority : type : id : subject : activity
day
is the day of the event (Mo
,Mi
,Fr
)hour
is the hour the indy lesson is in (3
,4
)priority
determines the entry priority.1
means highest priority,2
is a lower priority and3
is even lower (range from1
ton
)type
Can either beT
for teacher orT
for room.id
The id of the teacher or the room (Ham
,Er
,L01
,NTL2
)subject
is the subject to do in this indy lessonactivity
is the activity a student is planning to do
Here are a few example lines for the priority file.
Mo : 3 : 1 : r : l01 : am : differentialgleichungen
Mo : 3 : 2 : t : ham : insy : mysql ddl dml dql
This is a sample file you could use as it is.
To launch the automatic indy entry tool you first have to compile it.
You can do this using the command line.
With ./gradlew fatJar
or ./gradlew.bat fatJar
you can build the jar file including dependencies.
Once you got the jar file you can run the tool using the command line again.
Type java -jar indymatic.jar <username> <password> <number> <config>
to run the program.
username
is the indy usernamepassword
is the indy passwordnumber
is the number of upcoming events you want to enrol intoconfig
is the according to priority file construction above created config file