-
It is good programming practice that commit messages that follow a standard. For our project, kindly use the standard given here
-
the
srcfolder contains your source code in a hierarchical package structure. -
It is also good practice to never write code to the
masterbranch directly. -
Code should be written in a per-feature basis. Every new feature should branch off of
devand when ready, make a Pull/Merge request todev. Thedevbranch should then be merged withmasterwhen the code is stable enough -
Comments should be JavaDoc documentation comments
/**
* This method is used to add two integers. This is
* a the simplest form of a class method, just to
* show the usage of various javadoc Tags.
* @param numA This is the first paramter to addNum method
* @param numB This is the second parameter to addNum method
* @return int This returns sum of numA and numB.
*/
public int addNum(int numA, int numB) {
return numA + numB;
}JARs should be placed in ${PROJECT_ROOT}/ext/ added to CLASSPATH while executing.
- Java version 11
- Java MySQL Driver
- Mysql and related binaries in
PATHenv variable
- JUnit4 (Maven: junit:junit:4.12)
- JUnit5
The client sdd.team1.david.client.Client queries the servers sdd.team1.david.server.Server once per day at a pre-determined time of the day.
The server contains a script file dbdump.sh . It must be configured with the name of the database to be synced.
The server then replies back with the requested data.