- Notifications
You must be signed in to change notification settings - Fork0
Object-oriented design and implementation of a Design Pattern Code Generator.
This project is the implementation of a program that generates the implementation code of the 23 Gang of Four(GoF) design patterns, as presented in the book “Design Patterns: Elements of Reusable Object-Oriented Software”.
###Instructions to Execute
First clone the repository from Bitbucket.
Execution can be in two modes, using default config file or using interactive environment/menu to get custom inputs from user.
Thedefault.conf configuration file is present atsrc/main/resources.
For command line execution, locatehw1-assembly-0.1.jar attarget\scala-2.13.
On Windows, the command to run the jar file:java -jar hw1-assembly-0.1.jar mode
Executing using default config file, then
mode = 0:- run
java -jar hw1-assembly-0.1.jar 0
- run
Executing using custom inputs from user, then
mode = 1:- run
java -jar hw1-assembly-0.1.jar 1
- run
For execution in IntelliJ, userun 0 orrun 1 for the preferred way of execution (argument passed has similar purpose like in the command line method)
The output java files are saved under the package name provided in the config file (or as custom input) in a folder namedoutputs. Theoutputs folder is created in the current working directory during execution.
Assets3
Uh oh!
There was an error while loading.Please reload this page.