Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Object-oriented design and implementation of a Design Pattern Code Generator

Latest

Choose a tag to compare

@samujjwaalsamujjwaal released this 07 Mar 11:08
· 6 commits to master since this release
e2c23c5
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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, thenmode = 0:

    • runjava -jar hw1-assembly-0.1.jar 0

  • Executing using custom inputs from user, thenmode = 1:

    • runjava -jar hw1-assembly-0.1.jar 1

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
Loading

[8]ページ先頭

©2009-2025 Movatter.jp