Skip to content

Commit

Permalink
Added IDE setup steps. Fixed System.exit to exit with status 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-guntur committed Jan 15, 2021
1 parent 4e41551 commit 9c4afdd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ image:assets/images/recipe.png[Recipe, 400]

==== Here are simple steps to use this kata

. Checkout the code from a terminal/command prompt.
. Setup the project in your IDE.
** *IntelliJ*: Launch your IDE and point to the pom.xml to be opened as a project.
** *Eclipse*: Import Existing Maven Projects.
** *Netbeans*: Open Project, then run `mvn verify`.
** *Any other IDE*: Ensure that the `src/main/java`, `src/kata/java` and `src/solution/java` are on the source path.
. Run the main class link:src/kata/java/none/cgutils/recipe/paneer/tikka/PaneerTikkaMasala.java[PaneerTikkaMasala].
. None of the cooking recipe parts will print out on your console.
. Fix the broken/empty sections of code using the TODO and HINT comments.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void main(String[] args) throws Exception {

executor.awaitTermination(200, TimeUnit.MILLISECONDS);

System.exit(1);
System.exit(0);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static void main(String[] args) throws Exception {

executor.awaitTermination(200, TimeUnit.MILLISECONDS);

System.exit(1);
System.exit(0);
}
}

Expand Down

0 comments on commit 9c4afdd

Please sign in to comment.