| | |
| | | <project name="gitblit" default="compile" basedir=".">
|
| | |
|
| | | <!-- Google Code upload task -->
|
| | | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
|
| | | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" |
| | | classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
|
| | |
|
| | | <!-- Project Properties -->
|
| | | <property name="project.jar" value="gitblit.jar" />
|
| | |
| | | String anim = "==========";
|
| | | int width = Math.round(anim.length() * progress);
|
| | | System.out.print("\r[");
|
| | | System.out.print(anim.substring(0, width));
|
| | | System.out.print(anim.substring(0, Math.min(width, anim.length())));
|
| | | for (int i = 0; i < anim.length() - width; i++) {
|
| | | System.out.print(' ');
|
| | | }
|