From 92fe4bae0e28596c11f58abd194e01747a6a7113 Mon Sep 17 00:00:00 2001 From: romanman Date: Sat, 6 Sep 2014 12:04:53 +0300 Subject: [PATCH] Adapting for Ethereum as a library style: + .ignore adjusting + track/untrack script adjusting --- .gitignore | 10 ++++++---- ethereumj-core/track-untrack-local.bat | 16 ++++++++-------- ethereumj-studio/track-untrack-local.bat | 16 ++++++++-------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 33faa4f1..bed4775f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,10 +26,12 @@ target/ *.ear # Output # -/logs -/dmp -/database -/null +*/logs +*/dmp +*/database +*/null +*/gen +*/src/main/java/sample # Mac .DS_Store \ No newline at end of file diff --git a/ethereumj-core/track-untrack-local.bat b/ethereumj-core/track-untrack-local.bat index fb9f66ba..3f147963 100644 --- a/ethereumj-core/track-untrack-local.bat +++ b/ethereumj-core/track-untrack-local.bat @@ -15,21 +15,21 @@ goto :end rem # I use this to stop push every local propertie change :untrackProps @echo on -git update-index --assume-unchanged src/main/resources/log4j.properties -git update-index --assume-unchanged src/main/resources/system.properties +git update-index --assume-unchanged ./src/main/resources/log4j.properties +git update-index --assume-unchanged ./src/main/resources/system.properties -git update-index --assume-unchanged src/test/resources/log4j.properties -git update-index --assume-unchanged src/test/resources/system.properties +git update-index --assume-unchanged ./src/test/resources/log4j.properties +git update-index --assume-unchanged ./src/test/resources/system.properties goto end rem # If I want to get back to push this changes e.g. for some new propertie I run this :trackProps @echo on -git update-index --no-assume-unchanged src/main/resources/log4j.properties -git update-index --no-assume-unchanged src/main/resources/system.properties +git update-index --no-assume-unchanged ./src/main/resources/log4j.properties +git update-index --no-assume-unchanged ./src/main/resources/system.properties -git update-index --no-assume-unchanged src/test/resources/log4j.properties -git update-index --no-assume-unchanged src/test/resources/system.properties +git update-index --no-assume-unchanged ./src/test/resources/log4j.properties +git update-index --no-assume-unchanged ./src/test/resources/system.properties goto end :end \ No newline at end of file diff --git a/ethereumj-studio/track-untrack-local.bat b/ethereumj-studio/track-untrack-local.bat index fb9f66ba..3f147963 100644 --- a/ethereumj-studio/track-untrack-local.bat +++ b/ethereumj-studio/track-untrack-local.bat @@ -15,21 +15,21 @@ goto :end rem # I use this to stop push every local propertie change :untrackProps @echo on -git update-index --assume-unchanged src/main/resources/log4j.properties -git update-index --assume-unchanged src/main/resources/system.properties +git update-index --assume-unchanged ./src/main/resources/log4j.properties +git update-index --assume-unchanged ./src/main/resources/system.properties -git update-index --assume-unchanged src/test/resources/log4j.properties -git update-index --assume-unchanged src/test/resources/system.properties +git update-index --assume-unchanged ./src/test/resources/log4j.properties +git update-index --assume-unchanged ./src/test/resources/system.properties goto end rem # If I want to get back to push this changes e.g. for some new propertie I run this :trackProps @echo on -git update-index --no-assume-unchanged src/main/resources/log4j.properties -git update-index --no-assume-unchanged src/main/resources/system.properties +git update-index --no-assume-unchanged ./src/main/resources/log4j.properties +git update-index --no-assume-unchanged ./src/main/resources/system.properties -git update-index --no-assume-unchanged src/test/resources/log4j.properties -git update-index --no-assume-unchanged src/test/resources/system.properties +git update-index --no-assume-unchanged ./src/test/resources/log4j.properties +git update-index --no-assume-unchanged ./src/test/resources/system.properties goto end :end \ No newline at end of file