Thread: [Japi-cvs] SF.net SVN: japi:[706] tools/dircount/trunk
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2008-11-30 15:55:56
|
Revision: 706
http://japi.svn.sourceforge.net/japi/?rev=706&view=rev
Author: christianhujer
Date: 2008-11-30 15:55:51 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
Minor improvements to dircount.
Modified Paths:
--------------
tools/dircount/trunk/build.xml
tools/dircount/trunk/dircount.iml
tools/dircount/trunk/lib/japi-lib-argparser-trunk.jar
tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java
Added Paths:
-----------
tools/dircount/trunk/src/doc/
Modified: tools/dircount/trunk/build.xml
===================================================================
--- tools/dircount/trunk/build.xml 2008-11-30 15:54:49 UTC (rev 705)
+++ tools/dircount/trunk/build.xml 2008-11-30 15:55:51 UTC (rev 706)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- ~ DirCount is a program for converting Strings into byte arrays.
+ ~ DirCount is a program for counting directories.
~ Copyright (C) 2007 Christian Hujer
~
~ This program is free software; you can redistribute it and/or modify
@@ -206,6 +206,7 @@
<target
name = "buildapp"
+ description = "Creates executable jar"
>
<property name="appName" value="${module.name}-${module.version}-app" />
<jar destfile="${appName}.jar">
Modified: tools/dircount/trunk/dircount.iml
===================================================================
--- tools/dircount/trunk/dircount.iml 2008-11-30 15:54:49 UTC (rev 705)
+++ tools/dircount/trunk/dircount.iml 2008-11-30 15:55:51 UTC (rev 706)
@@ -3,6 +3,7 @@
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/doc" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/prj" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/tst" isTestSource="true" />
</content>
Modified: tools/dircount/trunk/lib/japi-lib-argparser-trunk.jar
===================================================================
(Binary files differ)
Modified: tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java
===================================================================
--- tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java 2008-11-30 15:54:49 UTC (rev 705)
+++ tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java 2008-11-30 15:55:51 UTC (rev 706)
@@ -8,8 +8,7 @@
import net.sf.japi.io.args.Option;
import org.jetbrains.annotations.NotNull;
-/**
- * A command that counts subdirectories and files.
+/** A command that counts subdirectories and files.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
public class DirCount extends LogCommand {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-14 23:01:23
|
Revision: 839
http://japi.svn.sourceforge.net/japi/?rev=839&view=rev
Author: christianhujer
Date: 2009-02-14 21:37:37 +0000 (Sat, 14 Feb 2009)
Log Message:
-----------
Updated copyright statements in source code.
Modified Paths:
--------------
tools/dircount/trunk/build.xml
tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java
tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.properties
tools/dircount/trunk/src/tst/test/net/sf/japi/dircount/DirCountTest.java
Modified: tools/dircount/trunk/build.xml
===================================================================
--- tools/dircount/trunk/build.xml 2009-02-14 21:37:13 UTC (rev 838)
+++ tools/dircount/trunk/build.xml 2009-02-14 21:37:37 UTC (rev 839)
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- ~ DirCount is a program for counting directories.
- ~ Copyright (C) 2007 Christian Hujer
+ ~ Copyright (C) 2009 Christian Hujer
~
- ~ This program is free software; you can redistribute it and/or modify
+ ~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
- ~ the Free Software Foundation; either version 2 of the License, or
+ ~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
@@ -13,9 +12,8 @@
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
- ~ You should have received a copy of the GNU General Public License along
- ~ with this program; if not, write to the Free Software Foundation, Inc.,
- ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ ~ You should have received a copy of the GNU General Public License
+ ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<project name="dircount" default="compile">
Modified: tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java
===================================================================
--- tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java 2009-02-14 21:37:13 UTC (rev 838)
+++ tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.java 2009-02-14 21:37:37 UTC (rev 839)
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package net.sf.japi.dircount;
import java.io.File;
Modified: tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.properties
===================================================================
--- tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.properties 2009-02-14 21:37:13 UTC (rev 838)
+++ tools/dircount/trunk/src/prj/net/sf/japi/dircount/DirCount.properties 2009-02-14 21:37:37 UTC (rev 839)
@@ -1,6 +1,19 @@
#
-# Copyright (c) 2007, Your Corporation. All Rights Reserved.
+# Copyright (C) 2009 Christian Hujer
#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
helpHeader=Count the number of files and directories in a tree.
setMaxDepth=Sets the maximum depth for which the sum should be printed.
Modified: tools/dircount/trunk/src/tst/test/net/sf/japi/dircount/DirCountTest.java
===================================================================
--- tools/dircount/trunk/src/tst/test/net/sf/japi/dircount/DirCountTest.java 2009-02-14 21:37:13 UTC (rev 838)
+++ tools/dircount/trunk/src/tst/test/net/sf/japi/dircount/DirCountTest.java 2009-02-14 21:37:37 UTC (rev 839)
@@ -1,5 +1,18 @@
/*
- * Copyright (c) 2007, Your Corporation. All Rights Reserved.
+ * Copyright (C) 2009 Christian Hujer
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package test.net.sf.japi.dircount;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 23:02:40
|
Revision: 909
http://japi.svn.sourceforge.net/japi/?rev=909&view=rev
Author: christianhujer
Date: 2009-02-15 22:02:20 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Changed dircount build to use common build.
Modified Paths:
--------------
tools/dircount/trunk/build.xml
Added Paths:
-----------
tools/dircount/trunk/module.properties
Modified: tools/dircount/trunk/build.xml
===================================================================
--- tools/dircount/trunk/build.xml 2009-02-15 21:56:07 UTC (rev 908)
+++ tools/dircount/trunk/build.xml 2009-02-15 22:02:20 UTC (rev 909)
@@ -15,210 +15,11 @@
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
<project name="dircount" default="compile">
- <property name="module.version" value="0.1" />
- <property name="module.name" value="dircount" />
- <property name="module.shortname" value="dircount" />
- <property name="module.title" value="DirCount" />
- <property name="module.main.class" value="net.sf.japi.dircount.DirCount" />
+ &commonBuild;
- <taskdef name="pack200" classpath="common/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" />
-
- <target
- name = "clean"
- description = "Cleans Sandbox"
- >
- <delete dir="classes" />
- <delete dir="docs" />
- </target>
-
- <target
- name = "compile"
- description = "Compiles production classes"
- >
- <mkdir dir="classes/production/${module.shortname}" />
- <mkdir dir="classes/test/${module.shortname}" />
- <javac
- srcdir="src/prj"
- destdir="classes/production/${module.shortname}"
- encoding="utf-8"
- source="1.5"
- target="1.5"
- >
- <classpath>
- <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" />
- <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" />
- </classpath>
- <exclude name="test/**/*.java" />
- </javac>
- <copy
- todir="classes/production/${module.shortname}"
- >
- <fileset dir="src/prj" includes="**/*.properties" excludes="test/**/*.properties" />
- <fileset dir="src/prj" includes="META-INF/services/**" />
- </copy>
- <copy
- todir="classes/production/${module.shortname}"
- >
- <fileset dir="lib" includes="LICENSE-*" />
- <fileset dir="." includes="COPYING" />
- </copy>
- </target>
-
- <target
- name = "dist"
- description = "Packs distribution archives."
- depends = "clean, compile"
- >
- <!--depends = "clean, compile, doc"
- -->
- <delete dir="dist" />
- <mkdir dir="dist" />
- <property name="distName" value="dist/${module.name}-${module.version}" />
- <parallel>
- <tar tarfile="${distName}.src.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.src.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.src.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </jar>
- <jar destfile="${distName}.jar">
- <zipfileset dir="classes/production/${module.shortname}"/>
- <manifest>
- <attribute name="Main-Class" value="${module.main.class}" />
- <attribute name="Class-Path" value="lib/annotations.jar lib/japi-lib-lang-0.1.jar lib/japi-lib-swing-about-0.1.jar lib/japi-lib-swing-action-0.1.jar" />
- <attribute name="Implementation-Title" value="${module.name}" />
- <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" />
- <attribute name="Implementation-Version" value="${module.version}" />
- <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" />
- </manifest>
- </jar>
- <tar tarfile="${distName}.doc.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.doc.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.doc.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- </zipfileset>
- </jar>
- </parallel>
- <parallel>
- <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" />
- <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" />
- <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" />
- <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" />
- <pack200
- src="${distName}.jar"
- destfile="${distName}.pack.gz"
- gzipoutput="true"
- stripdebug="true"
- effort="9"
- keepfileorder="false"
- modificationtime="latest"
- deflatehint="false"
- />
- </parallel>
- <delete file="${distName}.src.tar" />
- <delete file="${distName}.doc.tar" />
- </target>
-
- <target
- name = "doc"
- description = "Creates public javadoc documentation."
- >
- <mkdir dir="docs/api" />
- <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" />
- <copy todir="docs/api" file="src/doc/api/public/.htaccess" /-->
- <javadoc
- destdir = "docs/api"
- access = "protected"
- author = "yes"
- version = "yes"
- locale = "en_US"
- use = "yes"
- splitindex = "yes"
- windowtitle = "JAPI Library ${module.title} ${module.version} API documentation"
- doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- header = "JAPI Library ${module.title} ${module.version}<br />API Documentation"
- footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
- serialwarn = "yes"
- charset = "utf-8"
- docencoding = "utf-8"
- encoding = "utf-8"
- source = "1.5"
- linksource = "yes"
- link = "${user.javadoc.link}"
- >
- <!--
- overview = "src/overview.html"
- -->
- <classpath>
- <fileset dir="lib" includes="annotations.jar" />
- </classpath>
- <sourcepath>
- <pathelement path="${user.javadoc.javasrc}" />
- <pathelement path="src/prj" />
- </sourcepath>
- <packageset
- dir="src/prj"
- defaultexcludes="yes"
- >
- <include name="net/**" />
- </packageset>
- <tag enabled="true" name="retval" description="Return Values:" scope="methods" />
- <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" />
- <tag enabled="true" name="post" description="Postconditions:" scope="methods" />
- <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" />
- <tag enabled="true" name="note" description="Notes:" />
- <tag enabled="true" name="warning" description="Warnings:" />
- <!--tag enabled="true" name="todo" description="Todo:" /-->
- <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" />
- <tag enabled="true" name="fixme" description="Fixme:" />
- <tag enabled="true" name="xxx" description="XXX:" />
- </javadoc>
- </target>
-
- <target
- name = "buildapp"
- description = "Creates executable jar"
- >
- <property name="appName" value="${module.name}-${module.version}-app" />
- <jar destfile="${appName}.jar">
- <zipfileset dir="classes/production/${module.shortname}"/>
- <zipgroupfileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" />
- <manifest>
- <attribute name="Main-Class" value="${module.main.class}" />
- <!--attribute name="Class-Path" value="lib/annotations.jar lib/japi-lib-lang-0.1.jar lib/japi-lib-swing-about-0.1.jar lib/japi-lib-swing-action-0.1.jar" /-->
- <attribute name="Implementation-Title" value="${module.name}" />
- <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" />
- <attribute name="Implementation-Version" value="${module.version}" />
- <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" />
- </manifest>
- </jar>
- </target>
-
</project>
Added: tools/dircount/trunk/module.properties
===================================================================
--- tools/dircount/trunk/module.properties (rev 0)
+++ tools/dircount/trunk/module.properties 2009-02-15 22:02:20 UTC (rev 909)
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2009 Christian Hujer
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+update.focus=none
+name=DirCount
+shortname=DirCount
+title=DirCount
+package=net.sf.japi.dircount
+package.path=net/sf/japi/dircount
+main.class=net.sf.japi.dircount.DirCount
Property changes on: tools/dircount/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-18 05:43:32
|
Revision: 961
http://japi.svn.sourceforge.net/japi/?rev=961&view=rev
Author: christianhujer
Date: 2009-02-18 05:43:30 +0000 (Wed, 18 Feb 2009)
Log Message:
-----------
Replaced checked-in argparser with auto-download.
Modified Paths:
--------------
tools/dircount/trunk/build.xml
Removed Paths:
-------------
tools/dircount/trunk/lib/japi-lib-argparser-trunk.jar
Modified: tools/dircount/trunk/build.xml
===================================================================
--- tools/dircount/trunk/build.xml 2009-02-18 05:42:59 UTC (rev 960)
+++ tools/dircount/trunk/build.xml 2009-02-18 05:43:30 UTC (rev 961)
@@ -22,4 +22,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-argparser-0.3.0.jar" dest="lib/japi-lib-argparser.jar" />
+ </target>
+
</project>
Deleted: tools/dircount/trunk/lib/japi-lib-argparser-trunk.jar
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|