Skip to content

Commit

Permalink
[BAEL-14251] - Make sure the tutorials build doesn't generate any un-…
Browse files Browse the repository at this point in the history
…committed or un-ignored artifacts
  • Loading branch information
amit2103 committed May 5, 2019
1 parent 0f4dafe commit b22ded7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ persistence-modules/hibernate5/transaction.log
apache-avro/src/main/java/com/baeldung/avro/model/
jta/transaction-logs/
software-security/sql-injection-samples/derby.log
spring-soap/src/main/java/com/baeldung/springsoap/gen/
spring-soap/src/main/java/com/baeldung/springsoap/gen/
/report-*.json
1 change: 1 addition & 0 deletions core-groovy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/src/main/resources/ioSerializedObject.txt
Binary file removed core-groovy/src/main/resources/ioSerializedObject.txt
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class DataAndObjectsUnitTest {
@Test
void whenUsingWithObjectOutputStream_thenObjectIsSerializedToFile() {
Task task = new Task(description:'Take out the trash', startDate:new Date(), status:0)
new File('src/main/resources/ioSerializedObject.txt').withObjectOutputStream { out ->
def serializedDataFile = new File('src/main/resources/ioSerializedObject.txt')
serializedDataFile.createNewFile()
serializedDataFile.withObjectOutputStream { out ->
out.writeObject(task)
}

Expand Down
5 changes: 4 additions & 1 deletion jackson-2/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
# Packaged files #
*.jar
*.war
*.ear
*.ear

# Files
/src/main/resources/orderOutput.yaml
1 change: 1 addition & 0 deletions testing-modules/groovy-spock/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/report-*.json

0 comments on commit b22ded7

Please sign in to comment.