It's very difficult and routine to gather statistics about how many lines of code were added, removed or changed by SVN commits for selected period of time in past.
I will explain how you may do it and also will share my shell script to you.
This blog is about my Java experience and about my own project stockreleaser.com. StockReleaser is an online service to create and fill out property releases for stock sites.
Showing posts with label code. Show all posts
Showing posts with label code. Show all posts
Saturday, October 22, 2011
Saturday, October 8, 2011
[ RUS | Manual | Project ] Project's directory/package structure
Структура пакетов и папок в проекте.
В первый раз, когда сталкиваешься с задачей создания структуры папок/пакетов внутри своего проекта - долго не можешь понять - зачем создавать такие сложные бессмысленные вложенности, как например 'src/main/java', а потом делать еще не менее непонятные вложенности вроде 'com.makeappinc.calculator.context'. Неужели не проще сразу располагать все свои пакеты и классы/файлы/ресурсы в корневой папке 'src'? Зачем делать параллельную ветку каталогов 'src/main/resources'?
Отвечаю:
Не проще, подобные мелочи сразу избавляют тебя от огромных проблем в будущем. Делай так и будешь счастлив!
А сейчас я объясню почему :)
Labels:
code,
directory layot,
java,
main,
maven,
package,
project structure,
resources,
sources,
src,
target,
джава,
мавен,
структура проекта
Friday, October 7, 2011
[ Manual | Project ] Project's directory/package structure
Project's directory/package structure.
In first time, it is very unclear for developers, why they should create such directories as 'src/main/java' or 'src/main/resources'. Also, if you are new in developing, you will be probably confused in first time when you find such package names as 'com.makeappinc.calculator.context'.
In such moments you want to cry and ask - "Is it really more useful instead of using only 'src' directory as root path of project?".
I say, "Yes, it is very useful! Do such and you will be happy!".
Now I will explain why.
In first time, it is very unclear for developers, why they should create such directories as 'src/main/java' or 'src/main/resources'. Also, if you are new in developing, you will be probably confused in first time when you find such package names as 'com.makeappinc.calculator.context'.
In such moments you want to cry and ask - "Is it really more useful instead of using only 'src' directory as root path of project?".
I say, "Yes, it is very useful! Do such and you will be happy!".
Now I will explain why.
Labels:
code,
directory layot,
java,
main,
maven,
package,
project structure,
resources,
sources,
src,
target
Subscribe to:
Posts (Atom)