This is a simple Java project that demonstrates a basic task management system. It includes classes for tasks and a task manager to manage and display tasks.
Task.java
: Defines theTask
class representing a task with a title and description.TaskManager.java
: Implements theTaskManager
class to manage a list of tasks.Main.java
: The entry point of the program that creates tasks, adds them to the task manager, and displays them.
-
Compile the Code:
make compile
This will compile the Java source files and create the
out/
directory. -
Run the Program:
make run
This will execute the compiled Java program.
-
Create JAR File:
make jar
This will create a JAR file named
taskmanager.jar
in your project directory. -
Run the Program from JAR:
make jar-run
This will create the JAR file (if not already created) and run the program from the JAR file.
-
Clean Up:
To remove the compiled files and the JAR file, run:
make clean
- The project assumes that the Java Development Kit (JDK) is installed on your system.
Feel free to modify the code and adapt it to your needs!