japi-cvs Mailing List for JAPI (Page 21)
Status: Beta
Brought to you by:
christianhujer
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(115) |
May
(11) |
Jun
(5) |
Jul
(2) |
Aug
(10) |
Sep
(35) |
Oct
(14) |
Nov
(49) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(57) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(25) |
Jun
(134) |
Jul
(76) |
Aug
(34) |
Sep
(27) |
Oct
(5) |
Nov
|
Dec
(1) |
| 2008 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(63) |
Nov
(30) |
Dec
(43) |
| 2009 |
Jan
(10) |
Feb
(420) |
Mar
(67) |
Apr
(3) |
May
(61) |
Jun
(21) |
Jul
(19) |
Aug
|
Sep
(6) |
Oct
(16) |
Nov
(1) |
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
(7) |
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: <chr...@us...> - 2009-02-15 23:02:31
|
Revision: 907
http://japi.svn.sourceforge.net/japi/?rev=907&view=rev
Author: christianhujer
Date: 2009-02-15 21:51:45 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Get required libraries.
Modified Paths:
--------------
tools/cstyle/trunk/build.xml
Modified: tools/cstyle/trunk/build.xml
===================================================================
--- tools/cstyle/trunk/build.xml 2009-02-15 20:34:48 UTC (rev 906)
+++ tools/cstyle/trunk/build.xml 2009-02-15 21:51:45 UTC (rev 907)
@@ -22,4 +22,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-argparser-0.2.0.jar" dest="lib/japi-lib-argparser.jar" />
+ </target>
+
</project>
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:01:51
|
Revision: 910
http://japi.svn.sourceforge.net/japi/?rev=910&view=rev
Author: christianhujer
Date: 2009-02-15 22:06:52 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Changed findLongestPath build to use common build.
Modified Paths:
--------------
tools/findLongestPath/trunk/build.xml
Added Paths:
-----------
tools/findLongestPath/trunk/module.properties
Modified: tools/findLongestPath/trunk/build.xml
===================================================================
--- tools/findLongestPath/trunk/build.xml 2009-02-15 22:02:20 UTC (rev 909)
+++ tools/findLongestPath/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
@@ -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="FindLongestPath" default="compile">
- <property name="module.version" value="0.1" />
- <property name="module.name" value="findLongestPath" />
- <property name="module.shortname" value="findLongestPath" />
- <property name="module.title" value="FindLongestPath" />
- <property name="module.main.class" value="net.sf.japi.tools.findLongestPath.FindLongestPath" />
+ &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/findLongestPath/trunk/module.properties
===================================================================
--- tools/findLongestPath/trunk/module.properties (rev 0)
+++ tools/findLongestPath/trunk/module.properties 2009-02-15 22:06:52 UTC (rev 910)
@@ -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=FindLongestPath
+shortname=FindLongestPath
+title=FindLongestPath
+package=net.sf.japi.findLongestPath
+package.path=net/sf/japi/findLongestPath
+main.class=net.sf.japi.findLongestPath.FindLongestPath
Property changes on: tools/findLongestPath/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-15 23:01:22
|
Revision: 908
http://japi.svn.sourceforge.net/japi/?rev=908&view=rev
Author: christianhujer
Date: 2009-02-15 21:56:07 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Add properties for CStyle.
Added Paths:
-----------
tools/cstyle/trunk/module.properties
Added: tools/cstyle/trunk/module.properties
===================================================================
--- tools/cstyle/trunk/module.properties (rev 0)
+++ tools/cstyle/trunk/module.properties 2009-02-15 21:56:07 UTC (rev 908)
@@ -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=CStyle
+shortname=CStyle
+title=CStyle
+package=net.sf.japi.cstyle
+package.path=net/sf/japi/cstyle
+main.class=net.sf.japi.cstyle.CStyle
Property changes on: tools/cstyle/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-15 22:35:42
|
Revision: 911
http://japi.svn.sourceforge.net/japi/?rev=911&view=rev
Author: christianhujer
Date: 2009-02-15 22:35:34 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Updated build.xml and module.properties of all tools to build with common build.
Modified Paths:
--------------
tools/fontbrowser/trunk/build.xml
tools/gdbControl/trunk/build.xml
tools/gdbControl/trunk/module.properties
tools/jgrep/trunk/build.xml
tools/jwget/trunk/build.xml
tools/keystrokes/trunk/build.xml
tools/mail/trunk/build.xml
tools/prefsbrowser/trunk/build.xml
tools/replacer/trunk/build.xml
tools/replacer/trunk/module.properties
tools/scriptInterpreter/trunk/build.xml
tools/string2bytes/trunk/build.xml
tools/todoScanner/trunk/build.xml
tools/todoScanner/trunk/module.properties
Added Paths:
-----------
tools/fontbrowser/trunk/module.properties
tools/jgrep/trunk/module.properties
tools/jwget/trunk/module.properties
tools/keystrokes/trunk/module.properties
tools/mail/trunk/module.properties
tools/midiDeviceLister/trunk/build.xml
tools/midiDeviceLister/trunk/module.properties
tools/midiMonitor/trunk/build.xml
tools/midiMonitor/trunk/module.properties
tools/prefsbrowser/trunk/module.properties
tools/scriptEngineLister/trunk/build.xml
tools/scriptEngineLister/trunk/module.properties
tools/scriptInterpreter/trunk/module.properties
tools/string2bytes/trunk/module.properties
Modified: tools/fontbrowser/trunk/build.xml
===================================================================
--- tools/fontbrowser/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/fontbrowser/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -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="fontbrowser" default="compile">
-<project name="dircount" default="compile">
+ &commonBuild;
- <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" />
-
- <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/fontbrowser/trunk/module.properties
===================================================================
--- tools/fontbrowser/trunk/module.properties (rev 0)
+++ tools/fontbrowser/trunk/module.properties 2009-02-15 22:35:34 UTC (rev 911)
@@ -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=FontBrowser
+shortname=FontBrowser
+title=FontBrowser
+package=net.sf.japi.fontbrowser
+package.path=net/sf/japi/fontbrowser
+main.class=net.sf.japi.fontbrowser.FontBrowser
Property changes on: tools/fontbrowser/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Modified: tools/gdbControl/trunk/build.xml
===================================================================
--- tools/gdbControl/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/gdbControl/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -15,221 +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="GdbControl" default="compile">
-<project name="GdbControl" default="buildapp">
+ &commonBuild;
- <property file="module.properties" />
-
- <!-- Sets module.version to something very reasonable, depending on whether we're in trunk, tags, branches or somewhere else. -->
- <basename property="dir.version" file="${user.dir}" />
- <dirname property="parent" file="${user.dir}" />
- <basename property="parentRegion" file="${parent}" />
- <exec outputproperty="svnversion" executable="svnversion">
- <env key="LC_ALL" value="C" />
- </exec>
- <condition property="module.version" value="trunk-${svnversion}">
- <equals arg1="trunk" arg2="${dir.version}" />
- </condition>
- <condition property="module.version" value="branch-${dir.version}-${svnversion}">
- <equals arg1="branches" arg2="${parentRegion}" />
- </condition>
- <condition property="module.version" value="${dir.version}">
- <equals arg1="tags" arg2="${parentRegion}" />
- </condition>
- <property name="module.version" value="${parentRegion}-${dir.version}-${svnversion}" />
-
- <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}" />
- <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>
- </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"
- >
- <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>
- <taglet name="net.sf.japi.taglets.FixmeTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.HistoryTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.InvariantTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.NoteTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.PostconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.PreconditionTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.ReturnValueTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.TodoTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.WarningTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- <taglet name="net.sf.japi.taglets.XxxTaglet" path="${commonPath}/antlib/japi-lib-taglets-trunk.jar" />
- </javadoc>
- </target>
-
- <target
- name = "buildapp"
- description = "Creates executable jar"
- depends = "compile"
- >
- <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>
Modified: tools/gdbControl/trunk/module.properties
===================================================================
--- tools/gdbControl/trunk/module.properties 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/gdbControl/trunk/module.properties 2009-02-15 22:35:34 UTC (rev 911)
@@ -19,4 +19,6 @@
name=GdbCobtrol
shortname=GdbCobtrol
title=GdbCobtrol
+package=net.sf.japi.gdbcontrol
+package.path=net/sf/japi/gdbcontrol
main.class=net.sf.japi.tools.gdbcontrol.ComWithGdb
Modified: tools/jgrep/trunk/build.xml
===================================================================
--- tools/jgrep/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/jgrep/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -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="JGrep" default="compile">
-<project name="Replacer" default="compile">
+ &commonBuild;
- <property name="module.version" value="0.1" />
- <property name="module.name" value="Replacer" />
- <property name="module.shortname" value="Replacer" />
- <property name="module.title" value="Replacer" />
- <property name="module.main.class" value="net.sf.japi.tools.replacer.Replacer" />
-
- <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/jgrep/trunk/module.properties
===================================================================
--- tools/jgrep/trunk/module.properties (rev 0)
+++ tools/jgrep/trunk/module.properties 2009-02-15 22:35:34 UTC (rev 911)
@@ -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=JGrep
+shortname=JGrep
+title=JGrep
+package=net.sf.japi.jgrep
+package.path=net/sf/japi/jgrep
+main.class=net.sf.japi.jgrep.JGrep
Property changes on: tools/jgrep/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Modified: tools/jwget/trunk/build.xml
===================================================================
--- tools/jwget/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/jwget/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -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="JWGet" default="compile">
-<project name="dircount" default="compile">
+ &commonBuild;
- <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" />
-
- <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/jwget/trunk/module.properties
===================================================================
--- tools/jwget/trunk/module.properties (rev 0)
+++ tools/jwget/trunk/module.properties 2009-02-15 22:35:34 UTC (rev 911)
@@ -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=JWGet
+shortname=JWGet
+title=JWGet
+package=net.sf.japi.jwget
+package.path=net/sf/japi/jwget
+main.class=net.sf.japi.jwget.JWGet
Property changes on: tools/jwget/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Modified: tools/keystrokes/trunk/build.xml
===================================================================
--- tools/keystrokes/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/keystrokes/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -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="KeyStrokes" default="compile">
-<project name="dircount" default="compile">
+ &commonBuild;
- <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" />
-
- <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/keystrokes/trunk/module.properties
===================================================================
--- tools/keystrokes/trunk/module.properties (rev 0)
+++ tools/keystrokes/trunk/module.properties 2009-02-15 22:35:34 UTC (rev 911)
@@ -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=KeyStrokes
+shortname=KeyStrokes
+title=KeyStrokes
+package=net.sf.japi.keystrokes
+package.path=net/sf/japi/keystrokes
+main.class=net.sf.japi.keystrokes.KeyStrokes
Property changes on: tools/keystrokes/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Modified: tools/mail/trunk/build.xml
===================================================================
--- tools/mail/trunk/build.xml 2009-02-15 22:06:52 UTC (rev 910)
+++ tools/mail/trunk/build.xml 2009-02-15 22:35:34 UTC (rev 911)
@@ -15,211 +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="Mail" default="compile">
-<project name="ArchStat" default="compile">
+ &commonBuild;
- <property name="module.version" value="0.1" />
- <property name="module.name" value="JapiMail" />
- <property name="module.shortname" value="JapiMail" />
- <property name="module.title" value="JapiMail" />
- <property name="module.main.class" value="net.sf.japi.tools.mail.Mail" />
-
- <taskdef name="pack200" classpath="common/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" />
-
- <target
- name ...
[truncated message content] |
|
From: <chr...@us...> - 2009-02-15 20:34:52
|
Revision: 906
http://japi.svn.sourceforge.net/japi/?rev=906&view=rev
Author: christianhujer
Date: 2009-02-15 20:34:48 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Added lib directories which are now required for building (even if empty).
Modified Paths:
--------------
tools/cstyle/trunk/build.xml
Added Paths:
-----------
games/jmines/trunk/lib/
progs/batcher/trunk/lib/
progs/cardlearn/trunk/lib/
progs/jhexview/trunk/lib/
progs/jirus/trunk/lib/
progs/jtype/trunk/lib/
progs/midilearn/trunk/lib/
progs/pffhtrain/trunk/lib/
progs/textedit/trunk/lib/
tools/findLongestPath/trunk/lib/
tools/fontbrowser/trunk/lib/
tools/jwget/trunk/lib/
tools/keystrokes/trunk/lib/
tools/midiDeviceLister/trunk/lib/
tools/midiMonitor/trunk/lib/
tools/prefsbrowser/trunk/lib/
tools/scriptEngineLister/trunk/lib/
Modified: tools/cstyle/trunk/build.xml
===================================================================
--- tools/cstyle/trunk/build.xml 2009-02-15 20:23:04 UTC (rev 905)
+++ tools/cstyle/trunk/build.xml 2009-02-15 20:34:48 UTC (rev 906)
@@ -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="CStyle" default="compile">
-<project name="cstyle" default="compile">
+ &commonBuild;
- <property name="module.version" value="0.1" />
- <property name="module.name" value="cstyle" />
- <property name="module.shortname" value="cstyle" />
- <property name="module.title" value="CStyle" />
- <property name="module.main.class" value="net.sf.japi.cstyle.CStyle" />
-
- <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>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 20:23:07
|
Revision: 905
http://japi.svn.sourceforge.net/japi/?rev=905&view=rev
Author: christianhujer
Date: 2009-02-15 20:23:04 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Added lib directories which are now required for building (even if empty).
Added Paths:
-----------
libs/lang/trunk/lib/
libs/logging/trunk/lib/
libs/registry/trunk/lib/
libs/swing-proxyprefs/trunk/lib/
libs/swing-recent/trunk/lib/
libs/swing-treetable/trunk/lib/
libs/taglets/trunk/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 20:19:45
|
Revision: 904
http://japi.svn.sourceforge.net/japi/?rev=904&view=rev
Author: christianhujer
Date: 2009-02-15 20:19:36 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Added lib directory.
Added Paths:
-----------
libs/io/trunk/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 20:16:08
|
Revision: 903
http://japi.svn.sourceforge.net/japi/?rev=903&view=rev
Author: christianhujer
Date: 2009-02-15 20:16:06 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Added lib directory.
Added Paths:
-----------
libs/argparser/trunk/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 20:04:09
|
Revision: 902
http://japi.svn.sourceforge.net/japi/?rev=902&view=rev
Author: christianhujer
Date: 2009-02-15 20:04:06 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed wrong license information.
Modified Paths:
--------------
tools/archStat/trunk/module.properties
Modified: tools/archStat/trunk/module.properties
===================================================================
--- tools/archStat/trunk/module.properties 2009-02-15 18:35:01 UTC (rev 901)
+++ tools/archStat/trunk/module.properties 2009-02-15 20:04:06 UTC (rev 902)
@@ -1,19 +1,18 @@
#
-# Copyright (C) 2009 Christian Hujer.
+# Copyright (C) 2009 Christian Hujer
#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
+# 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 library is distributed in the hope that it will be useful,
+# 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
-# Lesser General Public License for more details.
+# 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 Lesser General Public
-# License along with this library; 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/>.
#
update.focus=none
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 18:35:04
|
Revision: 901
http://japi.svn.sourceforge.net/japi/?rev=901&view=rev
Author: christianhujer
Date: 2009-02-15 18:35:01 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Build ArchStat with common build.
Modified Paths:
--------------
tools/archStat/trunk/build.xml
Added Paths:
-----------
tools/archStat/trunk/module.properties
Modified: tools/archStat/trunk/build.xml
===================================================================
--- tools/archStat/trunk/build.xml 2009-02-15 18:34:16 UTC (rev 900)
+++ tools/archStat/trunk/build.xml 2009-02-15 18:35:01 UTC (rev 901)
@@ -15,211 +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="ArchStat" default="compile">
- <property name="module.version" value="0.1" />
- <property name="module.name" value="ArchStat" />
- <property name="module.shortname" value="ArchStat" />
- <property name="module.title" value="ArchStat" />
- <property name="module.main.class" value="net.sf.japi.archstat.ArchStat" />
+ &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="**/*.xml" excludes="test/**/*.xml" />
- <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/archStat/trunk/module.properties
===================================================================
--- tools/archStat/trunk/module.properties (rev 0)
+++ tools/archStat/trunk/module.properties 2009-02-15 18:35:01 UTC (rev 901)
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2009 Christian Hujer.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+update.focus=none
+name=ArchStat
+shortname=ArchStat
+title=ArchStat
+package=net.sf.japi.archstat
+package.path=net/sf/japi/archstat
+main.class=net.sf.japi.archstat.ArchStat
Property changes on: tools/archStat/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-15 18:34:22
|
Revision: 900
http://japi.svn.sourceforge.net/japi/?rev=900&view=rev
Author: christianhujer
Date: 2009-02-15 18:34:16 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Improve support for applications in common build.
Modified Paths:
--------------
common/trunk/commonBuild.xml
Modified: common/trunk/commonBuild.xml
===================================================================
--- common/trunk/commonBuild.xml 2009-02-15 15:41:47 UTC (rev 899)
+++ common/trunk/commonBuild.xml 2009-02-15 18:34:16 UTC (rev 900)
@@ -162,11 +162,70 @@
todir="classes/production/${module.shortname}"
>
<fileset dir="src/prj" includes="net/**/*.properties" />
+ <fileset dir="src/prj" includes="net/**/*.xml" />
<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 = "build"
+ description = "Creates and packs the main archive."
+ depends = "buildApp, buildLib"
+/>
+
+<target
+ name = "buildApp"
+ depends = "compile"
+ if = "module.main.class"
+>
+ <mkdir dir="dist" />
+ <jar destfile="${distPath}.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="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/" />
+ <section name="${module.package.path}">
+ <attribute name="Package-Title" value="${module.package}" />
+ <attribute name="Package-Version" value="${module.version}" />
+ <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" />
+ </section>
+ </manifest>
+ </jar>
+</target>
+
+<target
+ name = "buildLib"
+ depends = "compile"
+ unless = "module.main.class"
+>
+ <mkdir dir="dist" />
+ <jar destfile="${distPath}.jar">
+ <zipfileset dir="classes/production/${module.shortname}" />
+ <manifest>
+ <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/" />
+ <section name="${module.package.path}">
+ <attribute name="Package-Title" value="${module.package}" />
+ <attribute name="Package-Version" value="${module.version}" />
+ <attribute name="Package-Vendor" value="Christian Hujer + the JAPI Developers" />
+ </section>
+ </manifest>
+ </jar>
+</target>
+
+<target
name = "dist"
description = "Creates and packs distribution archives."
depends = "clean, compile, test, doc"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 15:41:59
|
Revision: 899
http://japi.svn.sourceforge.net/japi/?rev=899&view=rev
Author: christianhujer
Date: 2009-02-15 15:41:47 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Moved action classes from net.sf.japi.swing to net.sf.japi.swing.action.
Makes subpackages of net.sf.japi.swing look better and more independent of the action stuff.
Modified Paths:
--------------
games/jmines/trunk/src/prj/net/sf/japi/games/jmines/JMines.java
historic/trunk/src/app/net/sf/japi/swing/LookAndFeelManager.java
historic/trunk/src/doc/guide/swing/action/basic/src/ex/Application.java
historic/trunk/src/doc/guide/swing/action/fromScratch/src/net/sf/japi/examples/editor/Editor.java
historic/trunk/src/doc/guide/swing/prefs/keys/src/ex/PrefsExampleApp.java
historic/trunk/src/doc/guide/swing/tod/src/ex/TodExampleApp.java
libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java
libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java
libs/swing-action/trunk/src/tst/test/net/sf/japi/swing/ActionBuilderFactoryTest.java
libs/swing-action/trunk/src/tst/test/net/sf/japi/swing/DefaultActionBuilderTest.java
libs/swing-action/trunk/src/tst/test/net/sf/japi/swing/ReflectionActionTest.java
libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Application.java
libs/swing-bookmarks/trunk/src/prj/net/sf/japi/swing/bookmarks/BookmarkManager.java
libs/swing-font/trunk/src/prj/net/sf/japi/swing/font/FontChooser.java
libs/swing-font/trunk/src/prj/net/sf/japi/swing/font/FontPreview.java
libs/swing-font/trunk/src/prj/net/sf/japi/swing/font/FontStyleListCellRenderer.java
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionMapNode.java
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/KeyStrokePrefs.java
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/KeyStrokeRootNode.java
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/KeyStrokeTreeTableModel.java
libs/swing-list/trunk/src/prj/net/sf/japi/swing/list/ListControlPanel.java
libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/JFileChooserButton.java
libs/swing-misc/trunk/src/prj/net/sf/japi/swing/misc/JSAXErrorHandler.java
libs/swing-prefs/trunk/src/prj/net/sf/japi/swing/prefs/PreferencesPane.java
libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/MockActionBuilder.java
libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/PreferencesPaneTest.java
libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/RecentURLsMenu.java
libs/swing-tod/trunk/src/prj/net/sf/japi/swing/tod/TipOfTheDayManager.java
progs/batcher/trunk/src/prj/net/sf/japi/progs/batcher/Main.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/jtest/gui/ProgramFrame.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/jtest/gui/QuestionCollectionGUI.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/swing/AbstractManager.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/swing/InternalFrameManager.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/swing/MenuManager.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/swing/OpenURLPane.java
progs/jeduca/trunk/src/prj/net/sf/japi/progs/jeduca/swing/ToolBarManager.java
progs/jeduca/trunk/src/prj/net/sf/japi/swing/LookAndFeelManager.java
progs/jtype/trunk/src/prj/net/sf/japi/jtype/PerformancePane.java
progs/pffhtrain/trunk/src/prj/net/sf/japi/pffhtrain/PffhTrain.java
tools/fontbrowser/trunk/src/prj/net/sf/japi/tools/fontbrowser/FontBrowser.java
tools/keystrokes/trunk/src/prj/net/sf/japi/tools/keystrokes/KeyStrokes.java
tools/prefsbrowser/trunk/src/prj/net/sf/japi/tools/prefsbrowser/PrefsBrowser.java
tools/prefsbrowser/trunk/src/prj/net/sf/japi/tools/prefsbrowser/PrefsTreeTableModel.java
tools/string2bytes/trunk/src/prj/net/sf/japi/string2bytes/CodecSelectionPanel.java
tools/string2bytes/trunk/src/prj/net/sf/japi/string2bytes/DoubleListController.java
tools/string2bytes/trunk/src/prj/net/sf/japi/string2bytes/ListOrderController.java
tools/string2bytes/trunk/src/prj/net/sf/japi/string2bytes/String2Bytes.java
Added Paths:
-----------
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ActionBuilderFactory.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ActionMethod.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ActionProvider.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ComponentFactory.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/DefaultActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/DisposeAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/DummyAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/DummyActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/IconManager.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/NamedActionMap.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ReflectionAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/ToggleAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/action.properties
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/action_de.properties
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action/package-info.java
Removed Paths:
-------------
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilderFactory.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionMethod.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionProvider.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ComponentFactory.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/DefaultActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/DisposeAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/DummyAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/DummyActionBuilder.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/IconManager.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/NamedActionMap.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ReflectionAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/ToggleAction.java
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action.properties
libs/swing-action/trunk/src/prj/net/sf/japi/swing/action_de.properties
libs/swing-action/trunk/src/prj/net/sf/japi/swing/package-info.java
Modified: games/jmines/trunk/src/prj/net/sf/japi/games/jmines/JMines.java
===================================================================
--- games/jmines/trunk/src/prj/net/sf/japi/games/jmines/JMines.java 2009-02-15 14:24:43 UTC (rev 898)
+++ games/jmines/trunk/src/prj/net/sf/japi/games/jmines/JMines.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -19,7 +19,7 @@
import javax.swing.JApplet;
import javax.swing.JComponent;
-import net.sf.japi.swing.ActionMethod;
+import net.sf.japi.swing.action.ActionMethod;
/** A MineSweeper implementation in Java.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
Modified: historic/trunk/src/app/net/sf/japi/swing/LookAndFeelManager.java
===================================================================
--- historic/trunk/src/app/net/sf/japi/swing/LookAndFeelManager.java 2009-02-15 14:24:43 UTC (rev 898)
+++ historic/trunk/src/app/net/sf/japi/swing/LookAndFeelManager.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -39,6 +39,7 @@
import static javax.swing.UIManager.getLookAndFeel;
import static javax.swing.UIManager.installLookAndFeel;
import static javax.swing.UIManager.setLookAndFeel;
+import net.sf.japi.swing.action.ActionBuilderFactory;
/** A class that manages look and feel and provides a corresponding menu.
* If you want your frames and dialogs to be default look and feel decorated, you currently must invoke the corresponding method {@link
Modified: historic/trunk/src/doc/guide/swing/action/basic/src/ex/Application.java
===================================================================
--- historic/trunk/src/doc/guide/swing/action/basic/src/ex/Application.java 2009-02-15 14:24:43 UTC (rev 898)
+++ historic/trunk/src/doc/guide/swing/action/basic/src/ex/Application.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -4,9 +4,9 @@
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
-import net.sf.japi.swing.ActionMethod;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionMethod;
/** Example application. */
public class Application extends WindowAdapter {
@@ -53,7 +53,8 @@
// Implement this method for closing the current document
}
- @ActionMethod public void fileQuit() {
+ @ActionMethod
+ public void fileQuit() {
// Change this method for asking whether to really quit the application
frame.dispose();
}
Modified: historic/trunk/src/doc/guide/swing/action/fromScratch/src/net/sf/japi/examples/editor/Editor.java
===================================================================
--- historic/trunk/src/doc/guide/swing/action/fromScratch/src/net/sf/japi/examples/editor/Editor.java 2009-02-15 14:24:43 UTC (rev 898)
+++ historic/trunk/src/doc/guide/swing/action/fromScratch/src/net/sf/japi/examples/editor/Editor.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -16,10 +16,10 @@
import javax.swing.JTextPane;
import static javax.swing.WindowConstants.DISPOSE_ON_CLOSE;
import javax.swing.text.DefaultEditorKit;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
-import net.sf.japi.swing.ActionMethod;
-import net.sf.japi.swing.ActionProvider;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionMethod;
+import net.sf.japi.swing.action.ActionProvider;
import org.jetbrains.annotations.Nullable;
public class Editor implements ActionProvider {
@@ -74,7 +74,8 @@
}
/** Action method. */
- @ActionMethod public void fileNew() {
+ @ActionMethod
+ public void fileNew() {
textPane.setText("");
file = null;
}
Modified: historic/trunk/src/doc/guide/swing/prefs/keys/src/ex/PrefsExampleApp.java
===================================================================
--- historic/trunk/src/doc/guide/swing/prefs/keys/src/ex/PrefsExampleApp.java 2009-02-15 14:24:43 UTC (rev 898)
+++ historic/trunk/src/doc/guide/swing/prefs/keys/src/ex/PrefsExampleApp.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,7 +1,7 @@
package ex;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
import net.sf.japi.swing.prefs.PreferencesGroup;
import static net.sf.japi.swing.prefs.PreferencesPane.showPreferencesDialog;
import net.sf.japi.swing.prefs.keys.KeyStrokePrefs;
Modified: historic/trunk/src/doc/guide/swing/tod/src/ex/TodExampleApp.java
===================================================================
--- historic/trunk/src/doc/guide/swing/tod/src/ex/TodExampleApp.java 2009-02-15 14:24:43 UTC (rev 898)
+++ historic/trunk/src/doc/guide/swing/tod/src/ex/TodExampleApp.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -3,8 +3,8 @@
import javax.swing.JButton;
import javax.swing.JFrame;
import static javax.swing.WindowConstants.DISPOSE_ON_CLOSE;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
import net.sf.japi.swing.tod.TipOfTheDayManager;
public class TodExampleApp {
Modified: libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -34,8 +34,8 @@
import javax.swing.SpinnerNumberModel;
import net.sf.japi.midi.MidiUtils;
import net.sf.japi.midi.OutputConfiguration;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
import org.jetbrains.annotations.Nullable;
/** UI component for configuring a midi output.
Modified: libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java
===================================================================
--- libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -42,10 +42,9 @@
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
-import javax.swing.SwingConstants;
import javax.swing.UIManager;
-import net.sf.japi.swing.ActionBuilder;
-import net.sf.japi.swing.ActionBuilderFactory;
+import net.sf.japi.swing.action.ActionBuilder;
+import net.sf.japi.swing.action.ActionBuilderFactory;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilder.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilder.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilder.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,525 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import java.awt.Component;
-import java.awt.event.ActionEvent;
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-import java.util.prefs.Preferences;
-import javax.swing.AbstractAction;
-import javax.swing.Action;
-import javax.swing.ActionMap;
-import javax.swing.Icon;
-import javax.swing.JLabel;
-import javax.swing.JMenu;
-import javax.swing.JMenuBar;
-import javax.swing.JMenuItem;
-import javax.swing.JOptionPane;
-import javax.swing.JPopupMenu;
-import javax.swing.JToolBar;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-/** Interface for creating and initializing {@link Action}s that are localized, user configurable and may invoke their final methods using Reflection;
- * also handles extremely much useful stuff for i18n/l10n.
- * It is meant as a general service for creating Action objects that have some comfort for the programmer in several aspects:
- * <ul>
- * <li>Allow zero or more ResourceBundles to be used when creating Actions</li>
- * <li>Allow zero or more UserPreferences to be used when creating Actions</li>
- * <li>Manage an ActionMap to which created Actions are automatically added</li>
- * </ul>
- * You may choose to use one or more ActionBuilders, depending on the size of your application.
- * You may use to spread Action configuration information accross one or more ResourceBundles and one or more Preferences, as you wish.
- * When looking for values, the Preferences are queried first, in addition order, after that the ResourceBundles, again in addition order, until
- * a value was found. The behaviour when no value was found is undefined.
- * <h3>Usage</h3>
- * The recommended usage is to
- * <ol>
- * <li>
- * create and initialize an ActionBuilder similar as the following example code, put it somewhere at the start of your program:
- * <pre>
- * ActionBuilder myActionBuilder = ActionBuilder.getActionBuilder("MyApplication");
- * myActionBuilder.addBundle("com.mycompany.mypackage.myresource"); // not always required
- * myActionBuilder.addPref(MyClass.class);
- * </pre>
- * </li>
- * <li>
- * then use the ActionBuilder from anywhere within the application like this:
- * <pre>
- * ActionBuilder myActionBuilder = ActionBuilder.getActionBuilder("MyApplication");
- * Action myAction = myActionBuilder.createAction("load", this);
- * </pre>
- * </li>
- * </ol>
- * <p>
- * All actions created or initialized by an instance of this class are optionally put into that instance's {@link ActionMap}.
- * If they are stored, you can use that map for later retrieval.
- * </p>
- * <h4>Usage Notes: Builder Name</h4>
- * <ul>
- * <li>
- * The builder name is used to try to load a resource bundle when a bundle is created.
- * The builder name is used as package name for the bundle, the bundle name itself is "action".
- * Example: When calling <code>ActionBuilder.getActionBuilder("net.sf.japi.swing");</code> for the first time, it is tried to load a
- * {@link ResourceBundle} named <code>net.sf.japi.swing.actions</code> for that <code>ActionBuilder</code>.
- * This automatism has been implemented to save you from the need of initializing an ActionBuilder before use.
- * </li>
- * </ul>
- * <h4>Usage Notes: Action Key / Action Name</h4>
- * The key you supply as first argument of {@link #createAction(boolean, String, Object)} determines several things:
- * <ul>
- * <li>The base name for the different keys in the preferences / resource bundle and other known Action Keys:
- * <table border="1">
- * <tr><th>What</th><th>Preferences / Bundle key</th><th>Action key if stored in an action</th></tr>
- * <tr><td>An (somewhat unique) ID</td><td>(<var>basename</var> itself)</td><td>{@link #ACTION_ID}</td></tr>
- * <tr><td>The icon</td><td><code><var>basename</var> + ".icon"</code></td><td>{@link Action#SMALL_ICON}</td></tr>
- * <tr><td>The tooltip help</td><td><code><var>basename</var> + ".shortdescription"</code></td><td>{@link Action#SHORT_DESCRIPTION}</td></tr>
- * <tr><td>The long help</td><td><code><var>basename</var> + ".longdescription"</code></td><td>{@link Action#LONG_DESCRIPTION}</td></tr>
- * <tr><td>The text label</td><td><code><var>basename</var> + ".text"</code></td><td>{@link Action#NAME}</td></tr>
- * <tr><td>The keyboard accelerator</td><td><code><var>basename</var> + ".accel"</code></td><td>{@link Action#ACCELERATOR_KEY}</td></tr>
- * <tr><td>The alternate keyboard accelerator</td><td><code><var>basename</var> + ".accel2"</code></td><td>{@link #ACCELERATOR_KEY_2}</td></tr>
- * <tr><td>The mnemonic</td><td><code><var>basename</var> + ".mnemonic"</code></td><td>{@link Action#MNEMONIC_KEY}</td></tr>
- * <tr><td>The method name</td><td></td><td>{@link ReflectionAction#REFLECTION_METHOD_NAME}</td></tr>
- * <tr><td>The method</td><td></td><td>{@link ReflectionAction#REFLECTION_METHOD}</td></tr>
- * <tr><td>The boolean property name</td><td></td><td>{@link ToggleAction#REFLECTION_PROPERTY_NAME}</td></tr>
- * <tr><td>The target instance</td><td></td><td>{@link ReflectionAction#REFLECTION_TARGET}</td></tr>
- * <tr><td>Exception handler dialogs</td><td><code><var>basename</var> + ".exception." + <var>exception class name</var> + ...</code><br/>The message can be formatted with 1 parameter that will be the localized message of the thrown exception.</td><td>n/a</td></tr>
- * </table>
- * </li>
- * </ul>
- * <p>Some methods are not related to actions, yet take base keys:</p>
- * <ul>
- * <li>The methods for dialogs, e.g. {@link #showMessageDialog(Component, String, Object...)}:
- * <table border="1">
- * <tr><th>What</th><th>Preferences / Bundle key</th></tr>
- * <tr><td>Dialog title</td><td><code><var>basename</var> + ".title"</code></td></tr>
- * <tr><td>Dialog message</td><td><code><var>basename</var> + ".message"</code></td></tr>
- * <tr><td>Dialog messagetype </td><td><code><var>basename</var> + ".messagetype"</code><br/>The message type should be one of the message types defined in {@link JOptionPane}, e.g. {@link JOptionPane#PLAIN_MESSAGE}.</td></tr>
- * </table>
- * </li>
- * </ul>
- * <h4>Final Notes</h4>
- * <ul>
- * <li>
- * If by having read all this you think it might often be a good idea to use a package name as a builder name: this is completely right and the
- * most common way of using an ActionBuilder.
- * </li>
- * <li>
- * If you think you're too lazy to hold your own ActionBuilder reference and instead more often call {@link ActionBuilderFactory#getActionBuilder(String)}, just go ahead
- * and do so.
- * Looking up created ActionBuilders is extremely fast, and of course they are initialized exactly once, not more.
- * </li>
- * </ul>
- * @see AbstractAction
- * @see Action
- * @see Preferences
- * @see ResourceBundle
- * @todo think about toolbar interaction
- * @todo think about toolbar configuration
- * @todo whether a dialog is a onetime dialog should be a property and user configurable
- * @todo Implement serialization.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public interface ActionBuilder {
-
- /** The key used for storing a somewhat unique id for this Action. */
- @NotNull String ACTION_ID = "ActionID";
-
- /** The key used for storing an alternative accelerator for this Action.
- * Currently unused.
- */
- @NotNull String ACCELERATOR_KEY_2 = "AcceleratorKey2";
-
- /** Add a ResourceBundle to the list of used bundles.
- * @param baseName the base name of the resource bundle, a fully qualified class name
- * @see ResourceBundle#getBundle(String)
- */
- void addBundle(@NotNull String baseName);
-
- /** Get the ActionMap.
- * @return ActionMap
- */
- @NotNull ActionMap getActionMap();
-
- /** Add a ResourceBundle to the list of used bundles.
- * @param bundle ResourceBundle to add
- * @throws NullPointerException if <code>bundle == null</code>
- */
- void addBundle(@NotNull ResourceBundle bundle) throws NullPointerException;
-
- /** Add a parent to the list of used parents.
- * @param parent Parent to use if lookups failed in this ActionBuilder
- * WARNING: Adding a descendents as parents of ancestors or vice versa will result in endless recursion and thus stack overflow!
- * @throws NullPointerException if <code>parent == null</code>
- */
- void addParent(@NotNull ActionBuilder parent) throws NullPointerException;
-
- /** Add a Preferences to the list of used preferences.
- * @param pref Preferences to add
- * @throws NullPointerException if <code>pref == null</code>
- */
- void addPref(@NotNull Preferences pref) throws NullPointerException;
-
- /** Add a Preferences to the list of used preferences.
- * @param clazz the class whose package a user preference node is desired
- * @see Preferences#userNodeForPackage(Class)
- * @throws NullPointerException if <code>clazz == null</code>
- */
- void addPref(@NotNull Class<?> clazz);
-
- /** Creates actions.
- * This is a loop variant of {@link #createAction(boolean,String)}.
- * The actions created can be retrieved using {@link #getAction(String)} or via the ActionMap returned by {@link #getActionMap()}.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param keys Keys of actions to create
- * @return Array with created actions
- * @throws NullPointerException in case keys is or contains <code>null</code>
- */
- Action[] createActions(boolean store, @NotNull String... keys) throws NullPointerException;
-
- /** Create an Action.
- * The created Action is automatically stored together with all other Actions created by this Builder instance in an ActionMap, which you can
- * retreive using {@link #getActionMap()}.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param key Key for Action, which is used as basename for access to Preferences and ResourceBundles and as ActionMap key (may not be
- * <code>null</code>)
- * @return created Action, which is a dummy in the sense that its {@link Action#actionPerformed(ActionEvent)} method does not do anything
- * @throws NullPointerException in case <var>key</var> was <code>null</code>
- * @see #createAction(boolean,String,Object)
- * @see #createToggle(boolean,String,Object)
- * @see #initAction(boolean,Action,String)
- */
- Action createAction(boolean store, @NotNull String key) throws NullPointerException;
-
- /** Initialize an Action.
- * This is a convenience method for Action users which want to use the services provided by this {@link ActionBuilder} class but need more
- * sophisticated Action objects they created on their own.
- * So you can simply create an Action and pass it to this Initialization method to fill its data.
- * The initialized Action is automatically stored together with all other Actions created by this Builder instance in an ActionMap, which you can
- * retreive using {@link #getActionMap()}.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param action Action to fill
- * @param key Key for Action, which is used as basename for access to Preferences and ResourceBundles and as ActionMap key (may not be <code>null</code>)
- * @return the supplied Action object (<var>action</var>) is returned for convenience
- * @throws NullPointerException in case <var>key</var> was <code>null</code>
- */
- @SuppressWarnings({"NestedAssignment"})
- @NotNull Action initAction(boolean store, @NotNull Action action, @NotNull String key) throws NullPointerException;
-
- /** Get a String.
- * First looks one pref after another, in their addition order.
- * Then looks one bundle after another, in their addition order.
- * @param key Key to get String for
- * @return the first value found or <code>null</code> if no value could be found
- * @throws NullPointerException if <var>key</var> is <code>null</code>
- */
- @Nullable String getString(@NotNull String key) throws NullPointerException;
-
- /** Get a String from the preferences, ignoring the resource bundles.
- * @param key Key to get String for
- * @return the first value found or <code>null</code> if no value could be found
- * @throws NullPointerException if <var>key</var> is <code>null</code>
- */
- @Nullable String getStringFromPrefs(@NotNull String key) throws NullPointerException;
-
- /** Get a String from the resource bundles, ignoring the preferences.
- * @param key Key to get String for
- * @return the first value found or <code>null</code> if no value could be found
- * @throws NullPointerException if <var>key</var> is <code>null</code>
- */
- @Nullable String getStringFromBundles(@NotNull String key) throws NullPointerException;
-
- /** Creates actions.
- * This is a loop variant of {@link #createAction(boolean,String,Object)}.
- * The actions created can be retrieved using {@link #getAction(String)} or via the ActionMap returned by {@link #getActionMap()}.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param target Target object
- * @param keys Keys of actions to create
- * @return Array with created actions
- * @throws NullPointerException in case keys is or contains <code>null</code>
- */
- Action[] createActions(boolean store, Object target, String... keys) throws NullPointerException;
-
- /** Create an Action.
- * The created Action is automatically stored together with all other Actions created by this Builder instance in an ActionMap, which you can
- * retreive using {@link #getActionMap()}.
- * The supplied object needs to have a zero argument method named <var>key</var>.
- * You may pass <code>null</code> as object, which means that the object the method is invoked on is not defined yet.
- * You may safely use the Action, it will not throw any Exceptions upon {@link Action#actionPerformed(ActionEvent)} but simply silently do nothing.
- * The desired object can be set later using <code>action.putValue({@link ReflectionAction#REFLECTION_TARGET}, <var>object</var>)</code>.
- * <p />
- * Users of this method can assume that the returned object behaves quite like {@link ReflectionAction}.
- * Whether or not this method returns an instance of {@link ReflectionAction} should not be relied on.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param key Key for Action, which is used as basename for access to Preferences and ResourceBundles, as ActionMap key and as Reflection Method
- * name within the supplied object (may not be <code>null</code>)
- * @param object Instance to invoke method on if the Action was activated ({@link Action#actionPerformed(ActionEvent)})
- * @return created Action
- * @throws NullPointerException in case <var>key</var> was <code>null</code>
- * @see #createAction(boolean,String)
- * @see #createToggle(boolean,String,Object)
- * @see #initAction(boolean,Action,String)
- */
- Action createAction(boolean store, String key, Object object) throws NullPointerException;
-
- /** Method for creating a Menu.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param menuKey action key for Menu
- * @param keys Action keys for menu items
- * @return menu created from the menu definition found
- * @throws Error in case action definitions for <var>keys</var> weren't found
- */
- JMenu createMenu(boolean store, String menuKey, String... keys) throws Error;
-
- /** Get an Action.
- * For an action to be retrieved with this method, it must have been initialized with {@link #initAction(boolean,Action,String)}, either directly by
- * invoking {@link #initAction(boolean,Action,String)} or indirectly by invoking one of this class' creation methods like {@link #createAction(boolean,String)},
- * {@link #createAction(boolean,String,Object)} or {@link #createToggle(boolean,String,Object)}.
- * @param key Key of action to get
- * @return Action for <var>key</var> or <code>null</code> if the action does not exist.
- * This method does the same as <code>getActionMap().get(key)</code>.
- */
- @Nullable Action getAction(@NotNull String key);
-
- /** Method for creating a menubar.
- * @param store whether to store the initialized Actions in the ActionMap of this ActionBuilder
- * @param barKey Action key of menu to create
- * @return JMenuBar created for <var>barKey</var>
- * @throws NullPointerException if no menubar definition was found
- * @todo make error handling consistent (see createMenu and others)
- */
- @NotNull JMenuBar createMenuBar(boolean store, String barKey) throws NullPointerException;
-
- /** Method for creating a popup menu.
- * @param store Whether to store the initialized Actions in the ActionMap of this ActionBuilder.
- * @param popupKey Action key of popup menu to create.
- * @return JPopupMenu created for <var>popupKey</var>
- * @throws MissingResourceException if no menubar definition was found.
- * @todo make error handling consistent (see createMenu and others)
- */
- @NotNull JPopupMenu createPopupMenu(boolean store, String popupKey) throws MissingResourceException;
-
- /** Method for creating a Menu.
- * This method assumes that the underlying properties contain an entry like <code>key + ".menu"</code> which lists the menu element's keys.
- * Submenus are build recursively.
- * @param store Whether to store the initialized Action in the ActionMap of this ActionBuilder.
- * @param menuKey Action key for menu.
- * @return menu created from the menu definition found.
- * @throws MissingResourceException In case a menu definition for <var>menuKey</var> wasn't found
- */
- JMenu createMenu(boolean store, String menuKey) throws MissingResourceException;
-
- /** Method for creating a menubar.
- * @param store whether to store the initialized Actions in the ActionMap of this ActionBuilder
- * @param barKey Action key of menu to create
- * @param target Target object
- * @return JMenuBar created for <var>barKey</var>
- * @throws MissingResourceException In case a menu or menubar definition was not found.
- */
- JMenuBar createMenuBar(boolean store, String barKey, Object target) throws MissingResourceException;
-
- /** Method for creating a popup menu.
- * @param store whether to store the initialized Actions in the ActionMap of this ActionBuilder
- * @param popupKey Action key of popup menu to create
- * @param target Target object
- * @return JPopupMenu created for <var>barKey</var>
- * @throws MissingResourceException In case a menu definition was not found.
- */
- JPopupMenu createPopupMenu(boolean store, String popupKey, Object target) throws MissingResourceException;
-
- /** Method for creating a Menu.
- * This method assumes that the underlying properties contain an entry like <code>key + ".menu"</code> which lists the menu element's keys.
- * Submenus are build recursively.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param menuKey action key for menu
- * @param target Target object
- * @return menu created from the menu definition found
- * @throws Error in case a menu definition for <var>menuKey</var> wasn't found
- */
- JMenu createMenu(boolean store, String menuKey, Object target) throws Error;
-
- /** Creates actions.
- * This is a loop variant of {@link #createToggle(boolean,String,Object)}.
- * The actions created can be retrieved using {@link #getAction(String)} or via the ActionMap returned by {@link #getActionMap()}.
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param target Target object
- * @param keys Keys of actions to create
- * @throws NullPointerException in case <var>keys</var> was or contained <code>null</code>
- */
- void createToggles(boolean store, Object target, String... keys) throws NullPointerException;
-
- /** Create an Action.
- * The created Action is automatically stored together with all other Actions created by this Builder instance in an ActionMap, which you can
- * retreive using {@link #getActionMap()}.
- * The supplied object needs to have a boolean return void argument getter method and a void return boolean argument setter method matching the
- * <var>key</var>.
- * You may pass <code>null</code> as object, which means that the object the getters and setters are invoked on is not defined yet.
- * You may safely use the Action, it will not throw any Exceptions upon {@link Action#actionPerformed(ActionEvent)} but simply silently do nothing.
- * The desired object can be set later using <code>action.putValue({@link ToggleAction#REFLECTION_TARGET}, <var>object</var>)</code>.
- * <p />
- * Users of this method can assume that the returned object behaves quite like {@link ToggleAction}.
- * Whether or not this method returns an instance of {@link ToggleAction} should not be relied on.
- * @see #createAction(boolean,String)
- * @see #createAction(boolean,String,Object)
- * @see #initAction(boolean,Action,String)
- * @param store whether to store the initialized Action in the ActionMap of this ActionBuilder
- * @param key Key for Action, which is used as basename for access to Preferences and ResourceBundles, as ActionMap key and as Property name within
- * the supplied object (may not be <code>null</code>)
- * @param object Instance to invoke method on if the Action was activated ({@link Action#actionPerformed(ActionEvent)})
- * @throws NullPointerException in case <var>key</var> was <code>null</code>
- * @return ToggleAction
- */
- Action createToggle(boolean store, String key, Object object) throws NullPointerException;
-
- /** Method for creating a toolbar.
- * @param barKey Action keys of toolbar to create
- * @return JToolBar created for <var>barKey</var>
- * @throws MissingResourceException In case there is no definition for the requested toolbar.
- */
- JToolBar createToolBar(String barKey) throws MissingResourceException;
-
- /** Method for creating a toolbar.
- * @param object Instance to invoke method on if the Action was activated ({@link Action#actionPerformed(ActionEvent)})
- * @param barKey Action keys of toolbar to create
- * @return JToolBar created for <var>barKey</var>
- * @throws MissingResourceException In case there is no definition for the requested toolbar.
- */
- JToolBar createToolBar(Object object, String barKey) throws MissingResourceException;
-
- /** Method to find the JMenuItem for a specific Action key.
- * @param menuBar JMenuBar to search
- * @param key Key to find JMenuItem for
- * @return JMenuItem for key or <code>null</code> if none found
- */
- @Nullable JMenuItem find(@NotNull JMenuBar menuBar, @NotNull String key);
-
- /** Get an icon.
- * @param key i18n key for icon
- * @return icon
- */
- Icon getIcon(String key);
-
- /** Show a localized message dialog.
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param messageType the type of message to be displayed
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- * @deprecated use {@link #showMessageDialog(Component, String, Object...)} instead and put the messagetype in the action.properties file.
- */
- @Deprecated void showMessageDialog(Component parentComponent, int messageType, String key, Object... args);
-
- /** Show a localized message dialog.
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- */
- void showMessageDialog(@Nullable Component parentComponent, @NotNull String key, Object... args);
-
- /** Get the message type for a dialog.
- * @param dialogKey dialog key
- * @return message type
- */
- int getMessageType(@NotNull String dialogKey);
-
- /** Formats a message with parameters.
- * It's a proxy method for using {@link MessageFormat}.
- * @param key message key
- * @param args parameters
- * @return formatted String
- * @see MessageFormat#format(String,Object...)
- */
- String format(@NotNull String key, Object... args);
-
- /** Show a localized confirmation dialog which the user can suppress in future (remembering his choice).
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param optionType the option type
- * @param messageType the type of message to be displayed
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- * @return an integer indicating the option selected by the user now or eventually in a previous choice
- * @throws IllegalStateException if no preferences are associated
- */
- int showOnetimeConfirmDialog(@Nullable Component parentComponent, int optionType, int messageType, @NotNull String key, Object... args) throws IllegalStateException;
-
- /** Show a localized message dialog which the user can suppress in future.
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param messageType the type of message to be displayed
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- * @throws IllegalStateException if no preferences are associated
- */
- void showOnetimeMessageDialog(@Nullable Component parentComponent, int messageType, @NotNull String key, Object... args) throws IllegalStateException;
-
- /** Show a localized question dialog.
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- * @return <code>true</code> if user confirmed, otherwise <code>false</code>
- */
- boolean showQuestionDialog(Component parentComponent, String key, Object... args);
-
- /** Show a localized confirmation dialog.
- * @param parentComponent determines the Frame in which the dialog is displayed; if <code>null</code>, or if the <code>parentComponent</code> has
- * no <code>Frame</code>, a default <code>Frame</code> is used
- * @param optionType the option type
- * @param messageType the type of message to be displayed
- * @param key localization key to use for the title, the message and eventually the icon
- * @param args formatting arguments for the message text
- * @return an integer indicating the option selected by the user
- */
- int showConfirmDialog(Component parentComponent, int optionType, int messageType, String key, Object... args);
-
- /** Creates a label for a specified key.
- * @param key Key to create label for
- * @param args formatting arguments for the label text
- * @return JLabel for key Key
- * @note the label text will be the key if no String for the key was found
- */
- JLabel createLabel(String key, Object... args);
-
- /** Creates a label for a specified key and component.
- * @param component Component to associate label to (maybe <code>null</code>)
- * @param key Key to create label for
- * @param args formatting arguments for the label text
- * @return JLabel for key Key
- * @note the label text will be the key if no String for the key was found
- * @todo support icons
- * @todo support mnemonics
- * @todo alignments and textpositions
- */
- JLabel createLabel(Component component, String key, Object... args);
-
- /** Registers an ActionProvider with this ActionBuilder.
- * @param actionProvider ActionProvider to register
- */
- void addActionProvider(ActionProvider actionProvider);
-
- /** Sets the enabled state of an action.
- * @param key Key of the action to enable.
- * @param enabled New enabled state for that action, <code>true</code> to enable, <code>false</code> to disable.
- */
- void setActionEnabled(@NotNull String key, boolean enabled);
-}
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilderFactory.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilderFactory.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionBuilderFactory.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,82 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import java.util.Map;
-import java.util.ResourceBundle;
-import java.util.WeakHashMap;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-/** An ActionBuilderFactory provides implementations of {@link ActionBuilder}.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public abstract class ActionBuilderFactory {
-
- /** The ActionBuilders. */
- @NotNull private final Map<String, ActionBuilder> actionBuilders = new WeakHashMap<String, ActionBuilder>();
-
- /** The ActionBuilderFactory default instance. */
- private static final ActionBuilderFactory INSTANCE = new ActionBuilderFactory() {};
-
- /** Create an ActionBuilderFactory.
- * @return An ActionBuilderFactory.
- */
- public static ActionBuilderFactory getInstance() {
- return INSTANCE;
- }
-
- /** Returns an ActionBuilder for the package of the specified class.
- * @param clazz Class for which to return the action builder.
- * @return ActionBuilder for the given class. The builder is created in case it didn't already exist.
- */
- @NotNull public ActionBuilder getActionBuilder(@NotNull final Class<?> clazz) {
- return getActionBuilder(clazz.getPackage().getName());
- }
-
- /** Get an ActionBuilder.
- * If there is no ActionBuilder with name <var>key</var>, a new ActionBuilder is created and stored.
- * Future invocations of this method will constantly return that ActionBuilder unless the key is garbage collected.
- * If you must prevent the key from being garbage collected (and with it the ActionBuilder), you may internalize the key ({@link String#intern()}).
- * A good name for a key is the application or package name.
- * The <code><var>key</var></code> may be a package name, in which case it is tried to load a {@link ResourceBundle} named "action" from that
- * package and add it ({@link ActionBuilder#addBundle(ResourceBundle)}); nothing special happens if that fails.
- * @param baseName Name of ActionBuilder (which even may be <code>null</code> if you are too lazy to invent a key)
- * @return ActionBuilder for given key. The builder is created in case it didn't already exist.
- */
- @NotNull public ActionBuilder getActionBuilder(@Nullable final String baseName) {
- ActionBuilder builder = actionBuilders.get(baseName);
- if (builder == null) {
- builder = new DefaultActionBuilder(baseName);
- actionBuilders.put(baseName, builder);
- }
- return builder;
- }
-
- /** Stores an ActionBuilder.
- * In regular programs, an invocation of this operation should not be needed.
- * This operation is designed for tests that want to provide non-default ActionBuilders as Dummies, Stubs or Mocks.
- * @param baseName Basename to store an ActionBuilder for.
- * @param actionBuilder ActionBuilder to store.
- */
- public void putActionBuilder(@Nullable final String baseName, @NotNull final ActionBuilder actionBuilder) {
- actionBuilders.put(baseName, actionBuilder);
- }
-
-} // class ActionBuilderFactory
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionMethod.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionMethod.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionMethod.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import java.lang.annotation.Documented;
-import static java.lang.annotation.ElementType.METHOD;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-import java.lang.annotation.Target;
-import org.jetbrains.annotations.NotNull;
-
-/** Annotation for methods that are Actions.
- * {@link ActionBuilder} in future will automatically configure and store Actions with properties for methods that are annotated with this Annotation.
- * In future, this Annotation might get some attributes, but currently it hasn't got any.
- * There is no guarantee for future attributes to be optional.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-@Documented
-@Inherited
-@Retention(RUNTIME)
-@Target(METHOD)
-public @interface ActionMethod {
-
- /**
- * Determines the Action key.
- * Defaults to the method name.
- * @return The Action key for this ActionMethod or <code>""</code> if the method name should be used.
- */
- @NotNull String value() default "";
-
-} // @interface ActionMethod
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionProvider.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionProvider.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/ActionProvider.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import javax.swing.Action;
-import org.jetbrains.annotations.Nullable;
-
-/** Interface for classes that provide actions.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public interface ActionProvider {
-
- /** Get an action that matches a specific key or <code>null</code> if no such action was found.
- * @param key Key to find
- * @return Action for <var>key</var> or <code>null</code>
- */
- @Nullable Action getAction(final String key);
-
-} // interface ActionProvider
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/ComponentFactory.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/ComponentFactory.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/ComponentFactory.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,62 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import javax.swing.Action;
-import javax.swing.JToolBar;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-/** The ComponentFactory provides some convenience methods for creating Swing Components.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- * @todo Since this doesn't require an ActionBuilder, this should be in a different library / package.
- */
-public final class ComponentFactory {
-
- /** Utility class - do not instanciate. */
- private ComponentFactory() {
- }
-
- /** Creates a JToolBar from Actions.
- * @param name Name of the JToolBar, which is used as title for the undocked JToolBar.
- * @param actions Actions to create JToolBar for.
- * @return JToolBar with all supplied actions.
- */
- public static JToolBar createJToolBar(@Nullable final String name, @NotNull final Action... actions) {
- final JToolBar toolBar = name != null ? new JToolBar(name) : new JToolBar();
- for (final Action action : actions) {
- toolBar.add(action);
- }
- return toolBar;
- }
-
- /** Creates a JToolBar from Actions.
- * @param name Name of the JToolBar, which is used as title for the undocked JToolBar.
- * @param actions Actions to create JToolBar for.
- * @return JToolBar with all supplied actions.
- */
- public static JToolBar createJToolBar(@Nullable final String name, @NotNull final Iterable<Action> actions) {
- final JToolBar toolBar = name != null ? new JToolBar(name) : new JToolBar();
- for (final Action action : actions) {
- toolBar.add(action);
- }
- return toolBar;
- }
-
-} // class ComponentFactory
Deleted: libs/swing-action/trunk/src/prj/net/sf/japi/swing/DefaultActionBuilder.java
===================================================================
--- libs/swing-action/trunk/src/prj/net/sf/japi/swing/DefaultActionBuilder.java 2009-02-15 14:24:43 UTC (rev 898)
+++ libs/swing-action/trunk/src/prj/net/sf/japi/swing/DefaultActionBuilder.java 2009-02-15 15:41:47 UTC (rev 899)
@@ -1,1038 +0,0 @@
-/*
- * Copyright (C) 2009 Christian Hujer.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package net.sf.japi.swing;
-
-import java.awt.Component;
-import java.awt.event.ActionEvent;
-import java.lang.reflect.Field;
-import java.text.MessageFormat;
-import java.util.ArrayList;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-import static java.util.ResourceBundle.getBundle;
-import java.util.prefs.Preferences;
-import static java.util.prefs.Preferences.userNodeForPackage;
-import javax.swing.Action;
-import static javax.swing.Action.ACCELERATOR_KEY;
-import static javax.swing.Action.LONG_DESCRIPTION;
-import static javax.swing.Action.MNEMONIC_KEY;
-import static javax.swing.Action.NAME;
-import static javax.swing.Action.SHORT_DESCRIPTION;
-import static javax.swing.Action.SMALL_ICON;
-import javax.swing.ActionMap;
-import javax.swing.Icon;
-import javax.swing.JCheckBox;
-import javax.swing.JLabel;
-import javax.swing.JMenu;
-import javax.swing.JMenuBar;
-import javax.swing.JMenuItem;
-import javax.swing.JOptionPane;
-import javax.swing.JPopupMenu;
-import javax.swing.JToolBar;
-import javax.swing.KeyStroke;
-import static javax.swing.KeyStroke.getKeyStroke;
-import static net.sf.japi.swing.IconManager.getDefaultIconManager;
-import static net.sf.japi.swing.ReflectionAction.REFLECTION_MESSAGE_PROVIDER;
-import static net.sf.japi.swing.ReflectionAction.REFLECTION_TARGET;
-import static net.sf.japi.swing.ToggleAction.REFLECTION_PROPERTY_NAME;
-import org.jetbrains.annotations.NonNls;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-/** Default implementation of {@link ActionBuilder}.
- * @todo Implement serialization.
- * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- */
-public class DefaultActionBuilder implements ActionBuilder {
-
- /** The parent ActionBuilders. */
- @NotNull private final List<ActionBuilder> parents = new LinkedList<ActionBuilder>();
-
- /** The ResourceBundles to look for.
- * Type: ResourceBundle
- */
- @NotNull private final List<ResourceBundle> bundles = new LinkedList<ResourceBundle>();
-
- /** The Preferences to look for.
- * Type: Preferences
- */
- @NotNull private final List<Preferences> prefs = new LinkedList<Preferences>();
-
- /** The ActionMap to which created Actions are automatically added. */
- @NotNull private final ActionMap actionMap = new NamedActionMap();
-
- /** The action providers that were registered and will be queried when an action should be created / retrieved. */
- private final List<ActionProvider> actionProviders = new ArrayList<ActionProvider>();
-
- /** Add a ResourceBundle to the list of used bundles.
- * @param baseName the base name of the resource bundle, a fully qualified class name
- * @see ResourceBundle#getBundle(String)
- */
- public void addBundle(@NotNull final String baseName) {
- //noinspection Co...
[truncated message content] |
|
From: <chr...@us...> - 2009-02-15 14:24:44
|
Revision: 898
http://japi.svn.sourceforge.net/japi/?rev=898&view=rev
Author: christianhujer
Date: 2009-02-15 14:24:43 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Bumped copyright year for javadoc.
Modified Paths:
--------------
common/trunk/commonBuild.xml
Modified: common/trunk/commonBuild.xml
===================================================================
--- common/trunk/commonBuild.xml 2009-02-15 13:29:55 UTC (rev 897)
+++ common/trunk/commonBuild.xml 2009-02-15 14:24:43 UTC (rev 898)
@@ -274,7 +274,7 @@
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-2007 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
+ bottom = "<div style="text-align:center;">© 2005-2009 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
serialwarn = "yes"
charset = "utf-8"
docencoding = "utf-8"
@@ -325,7 +325,7 @@
doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} private documentation"
header = "JAPI Library ${module.title} ${module.version}<br />private Documentation"
footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} private documentation"
- bottom = "<div style="text-align:center;">© 2005-2007 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
+ bottom = "<div style="text-align:center;">© 2005-2009 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
serialwarn = "yes"
charset = "utf-8"
docencoding = "utf-8"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:29:59
|
Revision: 897
http://japi.svn.sourceforge.net/japi/?rev=897&view=rev
Author: christianhujer
Date: 2009-02-15 13:29:55 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/JTreeTable.java
libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTableModelAdapter.java
libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java
Modified: libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/JTreeTable.java
===================================================================
--- libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/JTreeTable.java 2009-02-15 13:29:43 UTC (rev 896)
+++ libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/JTreeTable.java 2009-02-15 13:29:55 UTC (rev 897)
@@ -38,10 +38,14 @@
*/
public class JTreeTable<R, T> extends JTable {
- /** TreeTableCellRenderer. */
+ /** TreeTableCellRenderer.
+ * @serial include
+ */
private final TreeTableCellRenderer tree;
- /** The TreeTableModel for this JTreeTable. */
+ /** The TreeTableModel for this JTreeTable.
+ * @serial include
+ */
private TreeTableModel<R, T> treeTableModel;
/** Create a JTreeTable.
@@ -100,7 +104,9 @@
/** Renderer for TreeTableCells. */
public class TreeTableCellRenderer extends JTree implements TableCellRenderer {
- /** Row that's currently visible. */
+ /** Row that's currently visible.
+ * @serial include
+ */
private int visibleRow;
/** Create a TreeTableCellRenderer.
Modified: libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTableModelAdapter.java
===================================================================
--- libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTableModelAdapter.java 2009-02-15 13:29:43 UTC (rev 896)
+++ libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTableModelAdapter.java 2009-02-15 13:29:55 UTC (rev 897)
@@ -32,10 +32,14 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
- /** The underlying JTree. */
+ /** The underlying JTree.
+ * @serial include
+ */
private final JTree tree;
- /** The underlying TreeTableModel. */
+ /** The underlying TreeTableModel.
+ * @serial include
+ */
private final TreeTableModel treeTableModel;
/** Create a TreeTableModelAdapter.
Modified: libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java
===================================================================
--- libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java 2009-02-15 13:29:43 UTC (rev 896)
+++ libs/swing-treetable/trunk/src/prj/net/sf/japi/swing/treetable/TreeTableModelTreeModelAdapter.java 2009-02-15 13:29:55 UTC (rev 897)
@@ -18,6 +18,7 @@
package net.sf.japi.swing.treetable;
+import java.io.Serializable;
import javax.swing.event.EventListenerList;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
@@ -29,12 +30,16 @@
* @param <T> node type
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-public class TreeTableModelTreeModelAdapter<R, T> implements TreeModel {
+public class TreeTableModelTreeModelAdapter<R, T> implements TreeModel, Serializable {
- /** The Event listener list for registering TreeModelListeners. */
+ /** The Event listener list for registering TreeModelListeners.
+ * @serial include
+ */
private final EventListenerList listenerList = new EventListenerList();
- /** The underlying TreeTableModel. */
+ /** The underlying TreeTableModel.
+ * @serial include
+ */
private final TreeTableModel<R, T> treeTableModel;
public TreeTableModelTreeModelAdapter(final TreeTableModel<R, T> treeTableModel) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:29:47
|
Revision: 896
http://japi.svn.sourceforge.net/japi/?rev=896&view=rev
Author: christianhujer
Date: 2009-02-15 13:29:43 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/MockPrefs.java
Modified: libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/MockPrefs.java
===================================================================
--- libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/MockPrefs.java 2009-02-15 13:29:29 UTC (rev 895)
+++ libs/swing-prefs/trunk/src/tst/test/net/sf/japi/swing/prefs/MockPrefs.java 2009-02-15 13:29:43 UTC (rev 896)
@@ -31,13 +31,19 @@
*/
public class MockPrefs extends AbstractPrefs {
- /** Invocation Counter. */
+ /** Invocation Counter.
+ * @serial include
+ */
private final Map<String, int[]> invocationCounter = new HashMap<String, int[]>();
- /** The Textfield for changes. */
+ /** The Textfield for changes.
+ * @serial include
+ */
private final JTextField textfield = new JTextField();
- /** The text for changes. */
+ /** The text for changes.
+ * @serial include
+ */
private String text = "";
/** Creates MockPrefs. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:29:36
|
Revision: 895
http://japi.svn.sourceforge.net/japi/?rev=895&view=rev
Author: christianhujer
Date: 2009-02-15 13:29:29 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java
Modified: libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java
===================================================================
--- libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java 2009-02-15 13:29:18 UTC (rev 894)
+++ libs/swing-keyprefs/trunk/src/prj/net/sf/japi/swing/prefs/keys/ActionKeyDisplay.java 2009-02-15 13:29:29 UTC (rev 895)
@@ -47,13 +47,19 @@
/** Action Builder. */
private static final ActionBuilder ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder("net.sf.japi.swing.prefs.keys");
- /** The action of the button that displays the keystroke and allows changing it. */
+ /** The action of the button that displays the keystroke and allows changing it.
+ * @serial include
+ */
private final ActionKeyAction actionKeyAction = new ActionKeyAction(this);
- /** The action that is currently handled. */
+ /** The action that is currently handled.
+ * @serial include
+ */
@Nullable private Action action;
- /** The radio actions. */
+ /** The radio actions.
+ * @serial include
+ */
private final Action[] radioActions = ACTION_BUILDER.createActions(true, this, "keystrokeNone", "keystrokeStandard", "keystrokeUserdefined");
/** Create an ActionKeyDisplay. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:29:22
|
Revision: 894
http://japi.svn.sourceforge.net/japi/?rev=894&view=rev
Author: christianhujer
Date: 2009-02-15 13:29:18 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/swing-bookmarks/trunk/src/prj/net/sf/japi/swing/bookmarks/BookmarkManager.java
Modified: libs/swing-bookmarks/trunk/src/prj/net/sf/japi/swing/bookmarks/BookmarkManager.java
===================================================================
--- libs/swing-bookmarks/trunk/src/prj/net/sf/japi/swing/bookmarks/BookmarkManager.java 2009-02-15 13:28:59 UTC (rev 893)
+++ libs/swing-bookmarks/trunk/src/prj/net/sf/japi/swing/bookmarks/BookmarkManager.java 2009-02-15 13:29:18 UTC (rev 894)
@@ -79,13 +79,17 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
- /** The Bookmarks. */
+ /** The Bookmarks.
+ * @serial include
+ */
private BookmarkFolder bookmarks = new BookmarkFolder();
/** Action Builder. */
private static final ActionBuilder ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder("net.sf.japi.swing.bookmarks");
- /** The ProgramFrame this BookmarkManager manages bookmarks for. */
+ /** The ProgramFrame this BookmarkManager manages bookmarks for.
+ * @serial include
+ */
private final Bookmarkable bookmarkable;
/** Create a new BookmarkManager.
@@ -307,7 +311,7 @@
//}
/** Create a Bookmark.
- * You must not forget to invoke {@link #setFolder(BookmarkFolder)} in order to make {@link #getParent()} for JTrees working.
+ * You must not forget to invoke {@link Bookmark#setFolder(BookmarkFolder)} in order to make {@link #getParent()} for JTrees working.
* @param title title for Bookmark
*/
protected Bookmark(@NotNull final String title) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:29:02
|
Revision: 893
http://japi.svn.sourceforge.net/japi/?rev=893&view=rev
Author: christianhujer
Date: 2009-02-15 13:28:59 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java
libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/DocumentEvent.java
libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/script/TryApplication.java
Modified: libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java
===================================================================
--- libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java 2009-02-15 13:28:41 UTC (rev 892)
+++ libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java 2009-02-15 13:28:59 UTC (rev 893)
@@ -38,23 +38,35 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
- /** The frames of this document. */
+ /** The frames of this document.
+ * @serial include
+ */
private final List<DocumentFrame<D>> frames = new ArrayList<DocumentFrame<D>>();
- /** The Event Listeners. */
+ /** The Event Listeners.
+ * @serial include
+ */
private final EventListenerList listenerList = new EventListenerList();
- /** The data of this Document. */
+ /** The data of this Document.
+ * @serial include
+ */
@NotNull private final D data;
- /** The URI of this document. */
+ /** The URI of this document.
+ * @serial include
+ */
@Nullable private String uri;
- /** The title of this document. */
+ /** The title of this document.
+ * @serial include
+ */
// TODO:2009-02-15:christianhujer:@Nullable or @NotNull
private String title;
- /** The changed state of this document. */
+ /** The changed state of this document.
+ * @serial include
+ */
private boolean changed = false;
/** Creates a Document.
Modified: libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/DocumentEvent.java
===================================================================
--- libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/DocumentEvent.java 2009-02-15 13:28:41 UTC (rev 892)
+++ libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/DocumentEvent.java 2009-02-15 13:28:59 UTC (rev 893)
@@ -30,10 +30,14 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
- /** The type of this event. */
+ /** The type of this event.
+ * @serial include
+ */
@NotNull private final DocumentEventType type;
- /** The source of this event. */
+ /** The source of this event.
+ * @serial include
+ */
private final Document<D> source;
/** Constructs a DocumentEvent.
Modified: libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/script/TryApplication.java
===================================================================
--- libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/script/TryApplication.java 2009-02-15 13:28:41 UTC (rev 892)
+++ libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/script/TryApplication.java 2009-02-15 13:28:59 UTC (rev 893)
@@ -42,7 +42,7 @@
return null; //To change body of implemented methods use File | Settings | File Templates.
}
- /** {@inheritDoc} */
+ /** Document of this TryApplication. */
public class Document extends Application.Document {
/** {@inheritDoc} */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:28:43
|
Revision: 892
http://japi.svn.sourceforge.net/japi/?rev=892&view=rev
Author: christianhujer
Date: 2009-02-15 13:28:41 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java
Modified: libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java
===================================================================
--- libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java 2009-02-15 13:28:23 UTC (rev 891)
+++ libs/midi/trunk/src/prj/net/sf/japi/midi/gui/OutputConfigurator.java 2009-02-15 13:28:41 UTC (rev 892)
@@ -47,10 +47,14 @@
/** ActionBuilder. */
private static final ActionBuilder ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder(OutputConfigurator.class);
- /** The List of Devices from which to choose. */
+ /** The List of Devices from which to choose.
+ * @serial include
+ */
private final JList deviceList;
- /** The Spinner for selecting the channel. */
+ /** The Spinner for selecting the channel.
+ * @serial include
+ */
private final JSpinner channelSpinner;
/** Creates an OutputConfigurator with no initial configuration.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:28:27
|
Revision: 891
http://japi.svn.sourceforge.net/japi/?rev=891&view=rev
Author: christianhujer
Date: 2009-02-15 13:28:23 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/lang/trunk/src/prj/net/sf/japi/lang/PropertyComparator.java
Modified: libs/lang/trunk/src/prj/net/sf/japi/lang/PropertyComparator.java
===================================================================
--- libs/lang/trunk/src/prj/net/sf/japi/lang/PropertyComparator.java 2009-02-15 13:28:04 UTC (rev 890)
+++ libs/lang/trunk/src/prj/net/sf/japi/lang/PropertyComparator.java 2009-02-15 13:28:23 UTC (rev 891)
@@ -38,16 +38,24 @@
/** Serial version. */
private static final long serialVersionUID = 1L;
- /** The target class. */
+ /** The target class.
+ * @serial include
+ */
@Nullable private final Class<C> targetClass;
- /** The comparator to compare the property value. */
+ /** The comparator to compare the property value.
+ * @serial include
+ */
@Nullable private final Comparator<T> delegate;
- /** The name of the property to get. */
+ /** The name of the property to get.
+ * @serial include
+ */
@NotNull private final String propertyName;
- /** The getter to read the property. */
+ /** The getter to read the property.
+ * @serial include
+ */
@Nullable private final Method getter;
/** Create a PropertyComparator.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 13:28:12
|
Revision: 890
http://japi.svn.sourceforge.net/japi/?rev=890&view=rev
Author: christianhujer
Date: 2009-02-15 13:28:04 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed several javadoc issues.
Modified Paths:
--------------
libs/argparser/trunk/src/prj/net/sf/japi/io/args/CharsetDisplaynameComparator.java
libs/argparser/trunk/src/prj/net/sf/japi/io/args/package-info.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/StringJoinerTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/BooleanConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ByteConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/CharConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/DoubleConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/FloatConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/IntegerConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LongConverterTest.java
libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ShortConverterTest.java
Modified: libs/argparser/trunk/src/prj/net/sf/japi/io/args/CharsetDisplaynameComparator.java
===================================================================
--- libs/argparser/trunk/src/prj/net/sf/japi/io/args/CharsetDisplaynameComparator.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/prj/net/sf/japi/io/args/CharsetDisplaynameComparator.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -37,11 +37,14 @@
/** Locale to use for the Collator and the displayname.
* Must be set upon instanciation because the behaviour of a Comparator must stay constant over time.
* Otherwise this breaks collections using this Comparator.
+ * @serial include
*/
@NotNull
private final Locale locale;
- /** The Collator to use for comparing the display name. */
+ /** The Collator to use for comparing the display name.
+ * @serial include
+ */
@NotNull private final Collator collator;
/** Create a CharsetDisplaynameComparator based on the default locale.
Modified: libs/argparser/trunk/src/prj/net/sf/japi/io/args/package-info.java
===================================================================
--- libs/argparser/trunk/src/prj/net/sf/japi/io/args/package-info.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/prj/net/sf/japi/io/args/package-info.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -54,7 +54,7 @@
* Annotate that method with {@link net.sf.japi.io.args.Option}.
* </li>
* <li>
- * Add a main method which passes an instance of your command class to {@link net.sf.japi.io.args.ArgParser#simpleParseAndRun(net.sf.japi.io.args.Command, String...}.
+ * Add a main method which passes an instance of your command class to {@link net.sf.japi.io.args.ArgParser#simpleParseAndRun(net.sf.japi.io.args.Command, String...)}.
* </li>
* </ul>
*
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/ArgParserTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -542,7 +542,7 @@
/** The input option value. */
private String input;
- /** Remembers whether {@link #run(List< String>)} was called. */
+ /** Remembers whether {@link #run(List)} was called. */
private boolean runCalled;
/** The command line arguments received from the parser. */
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/StringJoinerTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/StringJoinerTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/StringJoinerTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -54,7 +54,7 @@
}
/**
- * Tests that {@link StringJoiner#join(CharSequence,Iterable<? extends CharSequence>)} works.
+ * Tests that {@link StringJoiner#join(CharSequence,Iterable)} works.
*/
@Test
public void testJoinCSIe() {
@@ -65,7 +65,7 @@
}
/**
- * Tests that {@link StringJoiner#join(CharSequence, Iterator<? extends CharSequence>)} works.
+ * Tests that {@link StringJoiner#join(CharSequence, Iterator)} works.
*/
@Test
public void testJoinCSIr() {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/BooleanConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/BooleanConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/BooleanConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -36,7 +36,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see BooleanConverterTest(Class)
+ * @see #BooleanConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ByteConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ByteConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ByteConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see ByteConverterTest(Class)
+ * @see #ByteConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/CharConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/CharConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/CharConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see CharConverterTest(Class)
+ * @see #CharConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/DoubleConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/DoubleConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/DoubleConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see DoubleConverterTest(Class)
+ * @see #DoubleConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/FloatConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/FloatConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/FloatConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see FloatConverterTest(Class)
+ * @see #FloatConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/IntegerConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/IntegerConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/IntegerConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see IntegerConverterTest(Class)
+ * @see #IntegerConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LongConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LongConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/LongConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see LongConverterTest(Class)
+ * @see #LongConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
Modified: libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ShortConverterTest.java
===================================================================
--- libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ShortConverterTest.java 2009-02-15 12:45:21 UTC (rev 889)
+++ libs/argparser/trunk/src/tst/test/net/sf/japi/io/args/converter/ShortConverterTest.java 2009-02-15 13:28:04 UTC (rev 890)
@@ -35,7 +35,7 @@
/** Creates the parameter arrays for the parameterized test execution.
* @return The parameter arrays.
- * @see ShortConverterTest(Class)
+ * @see #ShortConverterTest(Class)
*/
@Parameterized.Parameters public static Collection getClasses() {
return Arrays.asList(new Class[][] {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 12:45:26
|
Revision: 889
http://japi.svn.sourceforge.net/japi/?rev=889&view=rev
Author: christianhujer
Date: 2009-02-15 12:45:21 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Update to IntelliJ IDEA 8.1. Add scopes for licenses. Add copyright settings for licenses. Add inspection policy dedicated to JUnit issues. Permit 'BadExceptionDeclared' in JUnit test cases.
Modified Paths:
--------------
japi.ipr
Modified: japi.ipr
===================================================================
--- japi.ipr 2009-02-15 12:32:49 UTC (rev 888)
+++ japi.ipr 2009-02-15 12:45:21 UTC (rev 889)
@@ -161,13 +161,40 @@
</component>
<component name="CopyrightManager" default="">
<copyright>
- <option name="notice" value="Copyright (C) 2009 Christian Hujer. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" />
+ <option name="notice" value="Copyright (c) &#36;today.year Christian Hujer. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License"." />
<option name="keyword" value="Copyright" />
+ <option name="myName" value="FDL 1.3" />
+ <option name="myLocal" value="true" />
+ </copyright>
+ <copyright>
+ <option name="notice" value="Copyright (C) &#36;today.year Christian Hujer This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>." />
+ <option name="keyword" value="Copyright" />
+ <option name="myName" value="AGPL 3.0" />
+ <option name="myLocal" value="true" />
+ </copyright>
+ <copyright>
+ <option name="notice" value="Copyright (C) &#36;today.year Christian Hujer. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" />
+ <option name="keyword" value="Copyright" />
<option name="myName" value="LGPL 2.1" />
<option name="myLocal" value="true" />
</copyright>
+ <copyright>
+ <option name="notice" value="Copyright (C) &#36;today.year 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA." />
+ <option name="keyword" value="Copyright" />
+ <option name="myName" value="GPL 2.0" />
+ <option name="myLocal" value="true" />
+ </copyright>
+ <copyright>
+ <option name="notice" value="Copyright (C) &#36;today.year 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/>." />
+ <option name="keyword" value="Copyright" />
+ <option name="myName" value="GPL 3.0" />
+ <option name="myLocal" value="true" />
+ </copyright>
<module2copyright>
- <element module="Libs (LGPL)" copyright="LGPL 2.1" />
+ <element module="License: LGPL 2.1" copyright="LGPL 2.1" />
+ <element module="License: GPL 2.0" copyright="GPL 2.0" />
+ <element module="License: GPL 3.0" copyright="GPL 3.0" />
+ <element module="License: FDL 1.3" copyright="FDL 1.3" />
</module2copyright>
</component>
<component name="CppTools.Loader" warnedAboutFileOutOfSourceRoot="true" />
@@ -175,7 +202,10 @@
<option name="myForwardDirection" value="false" />
</component>
<component name="DependencyValidationManager">
- <scope name="Libs (LGPL)" pattern="(file[group:libs]:*//*||file[group:libs]:*//*)&&!file[libs-finance]:*//*" />
+ <scope name="License: LGPL 2.1" pattern="file[group:libs]:*//*&&!file[libs-finance]:*//*&&!file[libs-finance]:README&&!file[libs-finance]:libs-finance.iml||file[common]:*//*||file[common]:sun_checks.xml||file[common]:commonBuild.xml||file[common]:common.iml||file[common]:README||file[common]:QualityChecklist.txt||file[common]:LICENSE||file[common]:COPYING" />
+ <scope name="License: GPL 2.0" pattern="" />
+ <scope name="License: GPL 3.0" pattern="file[group:games]:*//*||file[group:progs]:*//*||file[group:tools]:*//*" />
+ <scope name="License: FDL 1.3" pattern="file[site]:*//*||file[site]:*//*||file[site]:README||file[site]:build.xml||file[site]:site.iml" />
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
<deny_rule from_scope="Production" to_scope="Tests" is_deny="true" />
</component>
@@ -209,6 +239,596 @@
<scopes />
<profiles>
<profile version="1.0" is_locked="false">
+ <option name="myName" value="JUnit Issues" />
+ <option name="myLocal" value="false" />
+ <inspection_tool class="AntDuplicateTargetsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="AntDuplicateImportedTargetsInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="AntMissingPropertiesFileInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ArgNamesErrorsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ArgNamesWarningsInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="AroundAdviceStyleInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="DeclareParentsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="MissingAspectjAutoproxyInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="PointcutMethodStyleInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SpringAopErrorsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringAopWarningsInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="Geronimo" level="ERROR" enabled="false" />
+ <inspection_tool class="Glassfish" level="ERROR" enabled="false" />
+ <inspection_tool class="JBoss" level="ERROR" enabled="false" />
+ <inspection_tool class="Weblogic" level="ERROR" enabled="false" />
+ <inspection_tool class="GroovySillyAssignment" level="WARNING" enabled="false" />
+ <inspection_tool class="SillyAssignmentJS" level="WARNING" enabled="false" />
+ <inspection_tool class="IncompatibleMask" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBitwiseExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ShiftOutOfRange" level="WARNING" enabled="false" />
+ <inspection_tool class="IncompatibleMaskJS" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBitwiseExpressionJS" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ShiftOutOfRangeJS" level="WARNING" enabled="false" />
+ <inspection_tool class="FieldCanBeLocal" level="WARNING" enabled="false" />
+ <inspection_tool class="FinalPrivateMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="FinalStaticMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="CloneCallsSuperClone" level="WARNING" enabled="false" />
+ <inspection_tool class="CloneDeclaresCloneNotSupported" level="WARNING" enabled="false" />
+ <inspection_tool class="ExtendsObject" level="WARNING" enabled="false" />
+ <inspection_tool class="TypeParameterExtendsObject" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessarySemicolon" level="WARNING" enabled="false" />
+ <inspection_tool class="UnterminatedStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyConstantConditional" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyConstantIfStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyFallthrough" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyTrivialIf" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyTrivialConditional" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyUnnecessaryContinue" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyUnnecessaryReturn" level="WARNING" enabled="false" />
+ <inspection_tool class="SimplifiableConditionalExpression" level="WARNING" enabled="false" />
+ <inspection_tool class="ConstantConditionalExpression" level="WARNING" enabled="false" />
+ <inspection_tool class="ConstantIfStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="InfiniteLoopStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="LoopStatementsThatDontLoop" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBooleanExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="TrivialIf" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryConditionalExpression" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryContinue" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryReturn" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLabelOnBreakStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLabelOnContinueStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="UnusedLabel" level="WARNING" enabled="false" />
+ <inspection_tool class="ConstantConditionalExpressionJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ConstantIfStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="FallthroughInSwitchStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="LoopStatementThatDoesntLoopJS" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBooleanExpressionJS" level="WARNING" enabled="false" />
+ <inspection_tool class="TrivialIfJS" level="WARNING" enabled="false" />
+ <inspection_tool class="TrivialConditionalJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryContinueJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryReturnJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLabelJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLabelOnBreakStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLabelOnContinueStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="CssInvalidElementInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="CssRgbFunctionInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="CssInvalidShorthandPropertyValue" level="ERROR" enabled="false" />
+ <inspection_tool class="CssInvalidImportInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="CssNoGenericFontName" level="WARNING" enabled="false" />
+ <inspection_tool class="CssUnitlessNumber" level="WARNING" enabled="false" />
+ <inspection_tool class="CssNegativeValueInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="CssOverwrittenProperties" level="WARNING" enabled="false" />
+ <inspection_tool class="CssOptimizeSimilarPropertiesInspection" level="INFO" enabled="false" />
+ <inspection_tool class="CssUnknownProperty" level="WARNING" enabled="false">
+ <option name="myCustomPropertiesEnabled" value="false" />
+ <option name="myCustomPropertiesList">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </inspection_tool>
+ <inspection_tool class="CssUnusedSymbolInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="W3CssValidation" level="WARNING" enabled="false">
+ <option name="myCssVersion" value="css3" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryLocalVariable" level="WARNING" enabled="false">
+ <option name="m_ignoreImmediatelyReturnedVariables" value="false" />
+ <option name="m_ignoreAnnotatedVariables" value="false" />
+ </inspection_tool>
+ <inspection_tool class="GroovyMissingReturnStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyUnusedAssignment" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyVariableNotAssigned" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryLocalVariableJS" level="WARNING" enabled="false">
+ <option name="m_ignoreImmediatelyReturnedVariables" value="false" />
+ <option name="m_ignoreAnnotatedVariables" value="false" />
+ </inspection_tool>
+ <inspection_tool class="SameParameterValue" level="WARNING" enabled="false" />
+ <inspection_tool class="WeakerAccess" level="WARNING" enabled="false">
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true" />
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true" />
+ <option name="SUGGEST_PRIVATE_FOR_INNERS" value="false" />
+ </inspection_tool>
+ <inspection_tool class="CanBeFinal" level="WARNING" enabled="false">
+ <option name="REPORT_CLASSES" value="false" />
+ <option name="REPORT_METHODS" value="false" />
+ <option name="REPORT_FIELDS" value="true" />
+ </inspection_tool>
+ <inspection_tool class="DuplicateThrows" level="WARNING" enabled="false" />
+ <inspection_tool class="EmptyMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="SameReturnValue" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantThrows" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryModuleDependencyInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="UnusedDeclaration" level="WARNING" enabled="false">
+ <option name="ADD_MAINS_TO_ENTRIES" value="true" />
+ <option name="ADD_APPLET_TO_ENTRIES" value="true" />
+ <option name="ADD_SERVLET_TO_ENTRIES" value="true" />
+ <option name="ADD_NONJAVA_TO_ENTRIES" value="true" />
+ <option name="ADDITIONAL_ANNOTATIONS">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ <option name="ADD_EJB_TO_ENTRIES" value="true" />
+ <option name="ADD_JUNIT_TO_ENTRIES" value="true" />
+ <option name="ADD_TESTNG_TO_ENTRIES" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnusedParameters" level="WARNING" enabled="false" />
+ <inspection_tool class="UnusedReturnValue" level="WARNING" enabled="false" />
+ <inspection_tool class="UNUSED_SYMBOL" level="WARNING" enabled="false">
+ <option name="LOCAL_VARIABLE" value="true" />
+ <option name="FIELD" value="true" />
+ <option name="METHOD" value="true" />
+ <option name="CLASS" value="true" />
+ <option name="PARAMETER" value="true" />
+ <option name="REPORT_PARAMETER_FOR_PUBLIC_METHODS" value="true" />
+ <option name="INJECTION_ANNOS">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </inspection_tool>
+ <inspection_tool class="Plugin.xmlValidity" level="ERROR" enabled="false" />
+ <inspection_tool class="CaughtExceptionImmediatelyRethrown" level="WARNING" enabled="false" />
+ <inspection_tool class="ContinueOrBreakFromFinallyBlock" level="WARNING" enabled="false" />
+ <inspection_tool class="EmptyCatchBlock" level="WARNING" enabled="false">
+ <option name="m_includeComments" value="true" />
+ <option name="m_ignoreTestCases" value="true" />
+ <option name="m_ignoreIgnoreParameter" value="true" />
+ </inspection_tool>
+ <inspection_tool class="EmptyFinallyBlock" level="WARNING" enabled="false" />
+ <inspection_tool class="EmptyTryBlock" level="WARNING" enabled="false" />
+ <inspection_tool class="FinallyBlockCannotCompleteNormally" level="WARNING" enabled="false" />
+ <inspection_tool class="ReturnFromFinallyBlock" level="WARNING" enabled="false" />
+ <inspection_tool class="ThrowFromFinallyBlock" level="WARNING" enabled="false" />
+ <inspection_tool class="UnhandledExceptionInJSP" level="WARNING" enabled="false" />
+ <inspection_tool class="ContinueOrBreakFromFinallyBlockJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ExceptionCaughtLocallyJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ReturnFromFinallyBlockJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ThrowFromFinallyBlockJS" level="WARNING" enabled="false" />
+ <inspection_tool class="FacesModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="NoExplicitFinalizeCalls" level="WARNING" enabled="false" />
+ <inspection_tool class="FinalizeCallsSuperFinalize" level="WARNING" enabled="false">
+ <option name="m_ignoreForObjectSubclasses" value="false" />
+ </inspection_tool>
+ <inspection_tool class="FtlCallsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="FtlDeprecatedBuiltInsInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="FtlFileReferencesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="FtlImportCallInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="FtlReferencesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="FtlTypesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="FtlWellformednessInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="AccessStaticViaInstance" level="WARNING" enabled="false" />
+ <inspection_tool class="BooleanMethodIsAlwaysInverted" level="WARNING" enabled="false" />
+ <inspection_tool class="JavaDoc" level="WARNING" enabled="false">
+ <option name="TOP_LEVEL_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="INNER_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="METHOD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
+ </value>
+ </option>
+ <option name="FIELD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="IGNORE_DEPRECATED" value="false" />
+ <option name="IGNORE_JAVADOC_PERIOD" value="true" />
+ <option name="myAdditionalJavadocTags" value="" />
+ </inspection_tool>
+ <inspection_tool class="JavadocReference" level="ERROR" enabled="false" />
+ <inspection_tool class="DefaultFileTemplate" level="WARNING" enabled="false">
+ <option name="CHECK_FILE_HEADER" value="true" />
+ <option name="CHECK_TRY_CATCH_SECTION" value="true" />
+ <option name="CHECK_METHOD_BODY" value="true" />
+ </inspection_tool>
+ <inspection_tool class="Deprecation" level="WARNING" enabled="false" />
+ <inspection_tool class="Dependency" level="ERROR" enabled="false" />
+ <inspection_tool class="UNCHECKED_WARNING" level="WARNING" enabled="false" />
+ <inspection_tool class="SillyAssignment" level="WARNING" enabled="false" />
+ <inspection_tool class="WrongPackageStatement" level="ERROR" enabled="false" />
+ <inspection_tool class="NonJREEmulationClassesInClientCode" level="ERROR" enabled="false" />
+ <inspection_tool class="GwtDeprecatedPropertyKeyJavadocTag" level="WARNING" enabled="false" />
+ <inspection_tool class="GwtObsoleteTypeArgsJavadocTag" level="WARNING" enabled="false" />
+ <inspection_tool class="GwtServiceNotRegistered" level="ERROR" enabled="false" />
+ <inspection_tool class="GwtInconsistentI18nInterface" level="ERROR" enabled="false" />
+ <inspection_tool class="GWTRemoteServiceAsyncCheck" level="ERROR" enabled="false" />
+ <inspection_tool class="GwtInconsistentSerializableClass" level="ERROR" enabled="false" />
+ <inspection_tool class="GwtMethodWithParametersInConstantsInterface" level="ERROR" enabled="false" />
+ <inspection_tool class="NonSerializableServiceParameters" level="ERROR" enabled="false" />
+ <inspection_tool class="gwtRawAsyncCallback" level="WARNING" enabled="false" />
+ <inspection_tool class="GwtJavaScriptReferences" level="ERROR" enabled="false" />
+ <inspection_tool class="GWTStyleCheck" level="ERROR" enabled="false" />
+ <inspection_tool class="GwtToHtmlReferences" level="ERROR" enabled="false" />
+ <inspection_tool class="BindingAnnotationWithoutInject" level="WARNING" enabled="false" />
+ <inspection_tool class="ConflictingAnnotations" level="WARNING" enabled="false" />
+ <inspection_tool class="InvalidRequestParameters" level="WARNING" enabled="false" />
+ <inspection_tool class="InjectOfNonPublicMember" level="WARNING" enabled="false" />
+ <inspection_tool class="InterceptionAnnotationWithoutRuntimeRetention" level="WARNING" enabled="false" />
+ <inspection_tool class="InvalidImplementedBy" level="WARNING" enabled="false" />
+ <inspection_tool class="InvalidProvidedBy" level="WARNING" enabled="false" />
+ <inspection_tool class="MultipleInjectedConstructorsForClass" level="WARNING" enabled="false" />
+ <inspection_tool class="MultipleBindingAnnotations" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBinding" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantToBinding" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantToProviderBinding" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantScopeBinding" level="WARNING" enabled="false" />
+ <inspection_tool class="SessionScopedInjectsRequestScoped" level="WARNING" enabled="false" />
+ <inspection_tool class="SingletonInjectsScoped" level="WARNING" enabled="false" />
+ <inspection_tool class="UninstantiableImplementedByClass" level="WARNING" enabled="false" />
+ <inspection_tool class="UninstantiableProvidedByClass" level="WARNING" enabled="false" />
+ <inspection_tool class="UninstantiableBinding" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryStaticInjection" level="WARNING" enabled="false" />
+ <inspection_tool class="HibernateMappingDatasourceDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="HibernateConfigDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="HibernateMappingDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="HtmlDeprecatedTag" level="WARNING" enabled="false" />
+ <inspection_tool class="CheckEmptyScriptTag" level="WARNING" enabled="false" />
+ <inspection_tool class="HtmlExtraClosingTag" level="ERROR" enabled="false" />
+ <inspection_tool class="CheckImageSize" level="WARNING" enabled="false" />
+ <inspection_tool class="CheckValidXmlInScriptTagBody" level="ERROR" enabled="false" />
+ <inspection_tool class="RequiredAttributes" level="WARNING" enabled="false">
+ <option name="myAdditionalRequiredHtmlAttributes" value="" />
+ </inspection_tool>
+ <inspection_tool class="HtmlUnknownTag" level="WARNING" enabled="false">
+ <option name="myValues">
+ <value>
+ <list size="5">
+ <item index="0" class="java.lang.String" itemvalue="embed" />
+ <item index="1" class="java.lang.String" itemvalue="nobr" />
+ <item index="2" class="java.lang.String" itemvalue="noembed" />
+ <item index="3" class="java.lang.String" itemvalue="comment" />
+ <item index="4" class="java.lang.String" itemvalue="script" />
+ </list>
+ </value>
+ </option>
+ <option name="myCustomValuesEnabled" value="true" />
+ </inspection_tool>
+ <inspection_tool class="HtmlUnknownAttribute" level="WARNING" enabled="false">
+ <option name="myValues">
+ <value>
+ <list size="5">
+ <item index="0" class="java.lang.String" itemvalue="type" />
+ <item index="1" class="java.lang.String" itemvalue="wmode" />
+ <item index="2" class="java.lang.String" itemvalue="src" />
+ <item index="3" class="java.lang.String" itemvalue="width" />
+ <item index="4" class="java.lang.String" itemvalue="height" />
+ </list>
+ </value>
+ </option>
+ <option name="myCustomValuesEnabled" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UNUSED_IMPORT" level="WARNING" enabled="false" />
+ <inspection_tool class="ExtendsAnnotation" level="WARNING" enabled="false" />
+ <inspection_tool class="UnresolvedPropertyKey" level="ERROR" enabled="false" />
+ <inspection_tool class="SimplifiableIfStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="MissedExecutable" level="WARNING" enabled="false" />
+ <inspection_tool class="ForCanBeForeach" level="WARNING" enabled="false">
+ <option name="REPORT_INDEXED_LOOP" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryBoxing" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryUnboxing" level="WARNING" enabled="false" />
+ <inspection_tool class="WhileCanBeForeach" level="WARNING" enabled="false" />
+ <inspection_tool class="JpaDataSourceORMInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaDataSourceORMDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="EjbErrorInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="EjbWarningInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="EjbDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="EjbQlInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JavaeeApplicationDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="MimeType" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaORMDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaModelErrorInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaModelWarningInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="JpaQlInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaQueryApiInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="JpaDomInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="WebProperties" level="ERROR" enabled="false" />
+ <inspection_tool class="WebWarnings" level="WARNING" enabled="false" />
+ <inspection_tool class="JSUntypedDeclaration" level="WARNING" enabled="false" />
+ <inspection_tool class="JSDeprecatedSymbols" level="INFO" enabled="false" />
+ <inspection_tool class="JSDuplicatedDeclaration" level="WARNING" enabled="false" />
+ <inspection_tool class="JSUndeclaredVariable" level="INFO" enabled="false" />
+ <inspection_tool class="JSUnresolvedFunction" level="INFO" enabled="false" />
+ <inspection_tool class="JSUnresolvedVariable" level="INFO" enabled="false" />
+ <inspection_tool class="JSUnusedLocalSymbols" level="WARNING" enabled="false" />
+ <inspection_tool class="DuplicateCaseLabelJS" level="WARNING" enabled="false" />
+ <inspection_tool class="DuplicatePropertyOnObjectJS" level="WARNING" enabled="false" />
+ <inspection_tool class="BadExpressionStatementJS" level="WARNING" enabled="false" />
+ <inspection_tool class="FunctionWithInconsistentReturnsJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ReservedWordUsedAsNameJS" level="WARNING" enabled="false" />
+ <inspection_tool class="ThisExpressionReferencesGlobalObjectJS" level="WARNING" enabled="false" />
+ <inspection_tool class="UnreachableCodeJS" level="WARNING" enabled="false" />
+ <inspection_tool class="SeamBijectionTypeMismatchInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamBijectionIllegalScopeParameterInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamBijectionUndefinedContextVariableInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SeamDomModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamDuplicateComponentsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamIllegalComponentScopeInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamJamComponentInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="PageflowModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="PagesModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamAnnotationIncorrectSignatureInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SeamAnnotationsInconsistencyInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ELValidationInJSP" level="WARNING" enabled="false" />
+ <inspection_tool class="CheckJsfComponentUnderViewTag" level="INFO" enabled="false" />
+ <inspection_tool class="JspDirectiveInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ELSpecValidationInJSP" level="WARNING" enabled="false" />
+ <inspection_tool class="JspPropertiesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ReferencesToClassesFromDefaultPackagesInJSPFile" level="ERROR" enabled="false" />
+ <inspection_tool class="SelfIncludingJspFiles" level="ERROR" enabled="false" />
+ <inspection_tool class="InjectionNotApplicable" level="ERROR" enabled="false" />
+ <inspection_tool class="LanguageMismatch" level="WARNING" enabled="false">
+ <option name="CHECK_NON_ANNOTATED_REFERENCES" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnknownLanguage" level="ERROR" enabled="false" />
+ <inspection_tool class="MavenModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="MethodNameSameAsClassName" level="WARNING" enabled="false" />
+ <inspection_tool class="OctalLiteral" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessArithmeticExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="PagesFileModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="PatternOverriddenByNonAnnotatedMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="PatternNotApplicable" level="ERROR" enabled="false" />
+ <inspection_tool class="PatternValidation" level="WARNING" enabled="false">
+ <option name="CHECK_NON_CONSTANT_VALUES" value="true" />
+ </inspection_tool>
+ <inspection_tool class="BooleanConstructor" level="WARNING" enabled="false" />
+ <inspection_tool class="ToArrayCallWithZeroLengthArrayArgument" level="WARNING" enabled="false" />
+ <inspection_tool class="InstantiatingObjectToGetClassObject" level="WARNING" enabled="false" />
+ <inspection_tool class="ManualArrayCopy" level="WARNING" enabled="false" />
+ <inspection_tool class="ManualArrayToCollectionCopy" level="WARNING" enabled="false" />
+ <inspection_tool class="StringToString" level="WARNING" enabled="false" />
+ <inspection_tool class="StringConstructor" level="WARNING" enabled="false">
+ <option name="ignoreSubstringArguments" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StringConcatenationInsideStringBufferAppend" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryTemporaryOnConversionFromString" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryTemporaryOnConversionToString" level="WARNING" enabled="false" />
+ <inspection_tool class="ComponentNotRegistered" level="WARNING" enabled="false">
+ <option name="CHECK_ACTIONS" value="true" />
+ <option name="IGNORE_NON_PUBLIC" value="true" />
+ </inspection_tool>
+ <inspection_tool class="GroovyDoubleNegation" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyPointlessArithmetic" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyPointlessBoolean" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyEmptyStatementBody" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessArithmeticExpressionJS" level="WARNING" enabled="false" />
+ <inspection_tool class="EmptyStatementBodyJS" level="WARNING" enabled="false">
+ <option name="m_reportEmptyBlocks" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ComparatorMethodParameterNotUsed" level="WARNING" enabled="false" />
+ <inspection_tool class="NullArgumentToVariableArgMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="PrimitiveArrayArgumentToVariableArgMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="ConstantConditions" level="WARNING" enabled="false">
+ <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false" />
+ <option name="DONT_REPORT_TRUE_ASSERT_STATEMENTS" value="false" />
+ </inspection_tool>
+ <inspection_tool class="EqualsBetweenInconvertibleTypes" level="WARNING" enabled="false" />
+ <inspection_tool class="ArrayEquals" level="WARNING" enabled="false" />
+ <inspection_tool class="EqualsWhichDoesntCheckParameterClass" level="WARNING" enabled="false" />
+ <inspection_tool class="ImplicitArrayToString" level="WARNING" enabled="false" />
+ <inspection_tool class="InfiniteRecursion" level="WARNING" enabled="false" />
+ <inspection_tool class="MalformedFormatString" level="WARNING" enabled="false" />
+ <inspection_tool class="MalformedRegex" level="WARNING" enabled="false" />
+ <inspection_tool class="MalformedXPath" level="WARNING" enabled="false" />
+ <inspection_tool class="MismatchedCollectionQueryUpdate" level="WARNING" enabled="false" />
+ <inspection_tool class="MismatchedArrayReadWrite" level="WARNING" enabled="false" />
+ <inspection_tool class="NullableProblems" level="WARNING" enabled="false">
+ <option name="REPORT_NULLABLE_METHOD_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_METHOD_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOTNULL_PARAMETER_OVERRIDES_NULLABLE" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_PARAMETER_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_GETTER" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_SETTER_PARAMETER" value="true" />
+ <option name="REPORT_ANNOTATION_NOT_PROPAGATED_TO_OVERRIDERS" value="true" />
+ </inspection_tool>
+ <inspection_tool class="NumberEquality" level="WARNING" enabled="false" />
+ <inspection_tool class="ObjectEqualsNull" level="WARNING" enabled="false" />
+ <inspection_tool class="ReflectionForUnavailableAnnotation" level="WARNING" enabled="false" />
+ <inspection_tool class="IgnoreResultOfCall" level="WARNING" enabled="false">
+ <option name="m_reportAllNonLibraryCalls" value="false" />
+ <option name="callCheckString" value="java.io.InputStream,read,java.io.InputStream,skip,java.lang.StringBuffer,toString,java.lang.StringBuilder,toString,java.lang.String,.*,java.math.BigInteger,.*,java.math.BigDecimal,.*,java.net.InetAddress,.*,java.io.File,.*,java.lang.Object,equals|hashCode" />
+ </inspection_tool>
+ <inspection_tool class="EmptyStatementBody" level="WARNING" enabled="false">
+ <option name="m_reportEmptyBlocks" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StringEquality" level="WARNING" enabled="false" />
+ <inspection_tool class="NewStringBufferWithCharArgument" level="WARNING" enabled="false" />
+ <inspection_tool class="SuspiciousToArrayCall" level="WARNING" enabled="false" />
+ <inspection_tool class="SuspiciousSystemArraycopy" level="WARNING" enabled="false" />
+ <inspection_tool class="SuspiciousMethodCalls" level="WARNING" enabled="false">
+ <option name="REPORT_CONVERTIBLE_METHOD_CALLS" value="true" />
+ </inspection_tool>
+ <inspection_tool class="SuspiciousNameCombination" level="WARNING" enabled="false">
+ <group names="x,width,left,right" />
+ <group names="y,height,top,bottom" />
+ </inspection_tool>
+ <inspection_tool class="ThrowableInstanceNeverThrown" level="WARNING" enabled="false" />
+ <inspection_tool class="ThrowableResultOfMethodCallIgnored" level="WARNING" enabled="false" />
+ <inspection_tool class="UnusedAssignment" level="WARNING" enabled="false">
+ <option name="REPORT_PREFIX_EXPRESSIONS" value="false" />
+ <option name="REPORT_POSTFIX_EXPRESSIONS" value="true" />
+ <option name="REPORT_REDUNDANT_INITIALIZER" value="true" />
+ </inspection_tool>
+ <inspection_tool class="GroovyDivideByZero" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyInfiniteLoopStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyInfiniteRecursion" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyResultOfArrayAllocationIgnored" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyResultOfObjectAllocationIgnored" level="WARNING" enabled="false" />
+ <inspection_tool class="SecondUnsafeCall" level="WARNING" enabled="false" />
+ <inspection_tool class="InfiniteLoopJS" level="WARNING" enabled="false" />
+ <inspection_tool class="InfiniteRecursionJS" level="WARNING" enabled="false" />
+ <inspection_tool class="InconsistentResourceBundle" level="ERROR" enabled="false">
+ <option name="REPORT_MISSING_TRANSLATIONS" value="true" />
+ <option name="REPORT_INCONSISTENT_PROPERTIES" value="true" />
+ <option name="REPORT_DUPLICATED_PROPERTIES" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnusedMessageFormatParameter" level="WARNING" enabled="false" />
+ <inspection_tool class="AbstractBeanReferencesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="AutowiredDependenciesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SpringJavaAutowiringInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanConstructorArgInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="DuplicatedBeanNamesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringOsgiElementsInconsistencyInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringInjectionValueConsistencyInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="InjectionValueTypeInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanLookupMethodInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringReplacedMethodsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringRequiredAnnotationInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringRequiredPropertyInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringOsgiServiceCommonInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanAutowiringInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanDepedencyCheckInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringFactoryMethodInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanInstantiationInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringBeanNameConventionInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SpringFacetInspection" level="WARNING" enabled="false">
+ <option name="checkTestFiles" value="false" />
+ </inspection_tool>
+ <inspection_tool class="SpringInjectionValueStyleInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SpringJamErrorInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="SpringModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="SpringScopesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="UnparsedCustomBeanInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="UtilSchemaInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="WebflowConfigModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="Struts2ModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ValidatorModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="ValidatorConfigModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="StrutsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="StrutsTilesInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="StrutsValidatorInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="StrutsValidatorFormInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="dependsOnMethodTestNG" level="WARNING" enabled="false" />
+ <inspection_tool class="groupsTestNG" level="WARNING" enabled="false">
+ <option name="groups">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </inspection_tool>
+ <inspection_tool class="SynchronizeOnNonFinalField" level="WARNING" enabled="false" />
+ <inspection_tool class="SynchronizationOnLocalVariableOrMethodParameter" level="WARNING" enabled="false">
+ <option name="reportLocalVariables" value="true" />
+ <option name="reportMethodParameters" value="true" />
+ </inspection_tool>
+ <inspection_tool class="BoundFieldAssignment" level="WARNING" enabled="false" />
+ <inspection_tool class="OneButtonGroup" level="WARNING" enabled="false" />
+ <inspection_tool class="DuplicateMnemonic" level="WARNING" enabled="false" />
+ <inspection_tool class="MissingMnemonic" level="WARNING" enabled="false" />
+ <inspection_tool class="NoLabelFor" level="WARNING" enabled="false" />
+ <inspection_tool class="NoButtonGroup" level="WARNING" enabled="false" />
+ <inspection_tool class="NoScrollPane" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyMethodWithInconsistentReturns" level="WARNING" enabled="false" />
+ <inspection_tool class="GroovyUnreachableStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="VtlFileReferencesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="VtlReferencesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="VtlTypesInspection" level="WARNING" enabled="false" />
+ <inspection_tool class="VtlInterpolationsInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="RedundantArrayCreation" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantTypeArguments" level="WARNING" enabled="false" />
+ <inspection_tool class="RedundantCast" level="WARNING" enabled="false" />
+ <inspection_tool class="NoResourceMethodsFound" level="WARNING" enabled="false" />
+ <inspection_tool class="AnnotationHasWrongMIMEType" level="WARNING" enabled="false" />
+ <inspection_tool class="EmptyWebServiceClass" level="WARNING" enabled="false" />
+ <inspection_tool class="VoidMethodAnnotatedWithGET" level="WARNING" enabled="false" />
+ <inspection_tool class="OneWayWebMethod" level="ERROR" enabled="false" />
+ <inspection_tool class="ResourceMethodInNonResourceClass" level="WARNING" enabled="false" />
+ <inspection_tool class="ImplicitlyExposedWebServiceMethods" level="INFO" enabled="false" />
+ <inspection_tool class="NonJaxWsWebServices" level="WARNING" enabled="false" />
+ <inspection_tool class="AmbiguousPathAnnotation" level="WARNING" enabled="false" />
+ <inspection_tool class="ValidExternallyBoundObject" level="ERROR" enabled="false" />
+ <inspection_tool class="WebflowModelInspection" level="ERROR" enabled="false" />
+ <inspection_tool class="CheckXmlFileWithXercesValidator" level="ERROR" enabled="false" />
+ <inspection_tool class="XmlUnboundNsPrefix" level="WARNING" enabled="false" />
+ <inspection_tool class="CheckDtdRefs" level="ERROR" enabled="false" />
+ <inspection_tool class="XmlDuplicatedId" level="ERROR" enabled="false" />
+ <inspection_tool class="XmlWrongRootElement" level="ERROR" enabled="false" />
+ <inspection_tool class="CheckTagEmptyBody" level="WARNING" enabled="false" />
+ <inspection_tool class="CheckNodeTest" level="WARNING" enabled="false" />
+ <inspection_tool class="HardwiredNamespacePrefix" level="WARNING" enabled="false" />
+ <inspection_tool class="ImplicitTypeConversion" level="WARNING" enabled="false">
+ <option name="BITS" value="1720" />
+ <option name="FLAG_EXPLICIT_CONVERSION" value="true" />
+ <option name="IGNORE_NODESET_TO_BOOLEAN_VIA_STRING" value="true" />
+ </inspection_tool>
+ <inspection_tool class="RedundantTypeConversion" level="WARNING" enabled="false">
+ <option name="CHECK_ANY" value="true" />
+ </inspection_tool>
+ <inspection_tool class="IndexZeroUsage" level="WARNING" enabled="false" />
+ <inspection_tool class="XsltDeclarations" level="ERROR" enabled="false" />
+ <inspection_tool class="XsltTemplateInvocation" level="ERROR" enabled="false" />
+ <inspection_tool class="XsltUnusedDeclaration" level="WARNING" enabled="false" />
+ <inspection_tool class="AssertEqualsMayBeAssertSame" level="WARNING" enabled="true" />
+ <inspection_tool class="JUnit4AnnotatedMethodInJUnit3TestCase" level="WARNING" enabled="true" />
+ <inspection_tool class="JUnitAbstractTestClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*TestCase" />
+ <option name="m_minLength" value="12" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="TestCaseWithNoTestMethods" level="WARNING" enabled="true">
+ <option name="ignoreSupers" value="false" />
+ </inspection_tool>
+ <inspection_tool class="JUnitTestClassNamingConvention" level="WARNING" enabled="true">
+ <option name="m_regex" value="[A-Z][A-Za-z\d]*Test" />
+ <option name="m_minLength" value="8" />
+ <option name="m_maxLength" value="64" />
+ </inspection_tool>
+ <inspection_tool class="TestMethodInProductCode" level="WARNING" enabled="true" />
+ <inspection_tool class="TestMethodWithoutAssertion" level="WARNING" enabled="true" />
+ <inspection_tool class="TestCaseInProductCode" level="WARNING" enabled="true" />
+ <inspection_tool class="TestCaseWithConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="BeforeOrAfterIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="BeforeClassOrAfterClassIsPublicStaticVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="AssertsWithoutMessages" level="WARNING" enabled="true" />
+ <inspection_tool class="MisorderedAssertEqualsParameters" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupCallsSuperSetup" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledSetUp" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="SimplifiableJUnitAssertion" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticSuite" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownCallsSuperTeardown" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledTearDown" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="TestMethodIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="UnconstructableTestCase" level="WARNING" enabled="true" />
+ </profile>
+ <profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
<inspection_tool class="JavaDoc" level="WARNING" enabled="true">
@@ -639,7 +1259,7 @@
</inspection_tool>
<inspection_tool class="BadExceptionDeclared" level="WARNING" enabled="true">
<option name="exceptionsString" value="java.lang.Throwable,java.lang.Exception,java.lang.Error,java.lang.RuntimeException,java.lang.NullPointerException,java.lang.ClassCastException,java.lang.ArrayIndexOutOfBoundsException" />
- <option name="ignoreTestCases" value="false" />
+ <option name="ignoreTestCases" value="true" />
</inspection_tool>
<inspection_tool class="BadExceptionThrown" level="WARNING" enabled="true">
<option name="exceptionsString" value="java.lang.Throwable,java.lang.Exception,java.lang.Error,java.lang.RuntimeException,java.lang.NullPointerException,java.lang.ClassCastException,java.lang.ArrayIndexOutOfBoundsException" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 12:32:52
|
Revision: 888
http://japi.svn.sourceforge.net/japi/?rev=888&view=rev
Author: christianhujer
Date: 2009-02-15 12:32:49 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues. Includes change of all TODO comments into a format with date.
Modified Paths:
--------------
libs/xml/trunk/src/tst/test/net/sf/japi/xml/NodeListIteratorTest.java
Modified: libs/xml/trunk/src/tst/test/net/sf/japi/xml/NodeListIteratorTest.java
===================================================================
--- libs/xml/trunk/src/tst/test/net/sf/japi/xml/NodeListIteratorTest.java 2009-02-15 12:32:39 UTC (rev 887)
+++ libs/xml/trunk/src/tst/test/net/sf/japi/xml/NodeListIteratorTest.java 2009-02-15 12:32:49 UTC (rev 888)
@@ -67,7 +67,7 @@
final Document doc = parse("<foo><bar/><target>hit</target><target>wrong</target></foo>");
final Element child = NodeListIterator.getFirstChild(doc.getDocumentElement(), "target");
Assert.assertNotNull("Expecting child to be found.", child);
- assert child != null; // TODO:christianhujer:Remove as soon as IDEA knows Assert.assertNotNull()
+ assert child != null; // TODO:2009-02-15:christianhujer:Remove as soon as IDEA knows Assert.assertNotNull()
final String text = child.getFirstChild().getNodeValue();
Assert.assertEquals("Expecting correct child to be found.", "hit", text);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 12:32:42
|
Revision: 887
http://japi.svn.sourceforge.net/japi/?rev=887&view=rev
Author: christianhujer
Date: 2009-02-15 12:32:39 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues. Includes change of all TODO comments into a format with date.
Modified Paths:
--------------
libs/util/trunk/src/prj/net/sf/japi/util/filter/file/Factory.java
Modified: libs/util/trunk/src/prj/net/sf/japi/util/filter/file/Factory.java
===================================================================
--- libs/util/trunk/src/prj/net/sf/japi/util/filter/file/Factory.java 2009-02-15 12:32:29 UTC (rev 886)
+++ libs/util/trunk/src/prj/net/sf/japi/util/filter/file/Factory.java 2009-02-15 12:32:39 UTC (rev 887)
@@ -56,7 +56,7 @@
/** {@inheritDoc} */
@Override public boolean accept(final File pathname) {
- // XXX:christianhujer:workaround bug in IntelliJ IDEA
+ // XXX:2009-02-15:christianhujer:workaround bug in IntelliJ IDEA
//noinspection RedundantCast
return !((java.io.FileFilter) filter).accept(pathname);
}
@@ -67,7 +67,7 @@
+ (filter instanceof javax.swing.filechooser.FileFilter
? ((javax.swing.filechooser.FileFilter) filter).getDescription()
: filter.toString())
- + ')'; // TODO:christianhujer:I18N/L10N
+ + ')'; // TODO:2009-02-15:christianhujer:I18N/L10N
}
} // class NotFileFilter
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-15 12:32:32
|
Revision: 886
http://japi.svn.sourceforge.net/japi/?rev=886&view=rev
Author: christianhujer
Date: 2009-02-15 12:32:29 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues. Includes change of all TODO comments into a format with date.
Modified Paths:
--------------
libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/PrefsRecentURLs.java
libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/RecentURLsMenu.java
Modified: libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/PrefsRecentURLs.java
===================================================================
--- libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/PrefsRecentURLs.java 2009-02-15 12:32:13 UTC (rev 885)
+++ libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/PrefsRecentURLs.java 2009-02-15 12:32:29 UTC (rev 886)
@@ -47,7 +47,7 @@
private final Preferences prefs;
/** The PrefsRecentURls. */
- private static final Map<Class<?>,PrefsRecentURLs> instances = new WeakHashMap<Class<?>,PrefsRecentURLs>();
+ private static final Map<Class<?>, PrefsRecentURLs> INSTANCES = new WeakHashMap<Class<?>, PrefsRecentURLs>();
/** Create a new RecentURLs object for managing recent URLs.
* Instances created with this constructor are unmanaged.
@@ -72,9 +72,9 @@
* @see Preferences#userNodeForPackage(Class) Preferences.userNodeForPackage(Class<?>) which is invoked to get the Preferences instance.
*/
public static PrefsRecentURLs getInstance(final Class<?> c) {
- PrefsRecentURLs instance = instances.get(c);
+ PrefsRecentURLs instance = INSTANCES.get(c);
if (instance == null) {
- instances.put(c, instance = new PrefsRecentURLs(c));
+ INSTANCES.put(c, instance = new PrefsRecentURLs(c));
}
return instance;
}
Modified: libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/RecentURLsMenu.java
===================================================================
--- libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/RecentURLsMenu.java 2009-02-15 12:32:13 UTC (rev 885)
+++ libs/swing-recent/trunk/src/prj/net/sf/japi/swing/recent/RecentURLsMenu.java 2009-02-15 12:32:29 UTC (rev 886)
@@ -111,8 +111,8 @@
try {
program.load(url);
} catch (final Exception e1) {
- e1.printStackTrace();//To change body of catch statement use File | Settings | File Templates.
- // TODO
+ e1.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
+ // TODO:2009-02-15:christianhujer:Implement proper error handling.
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|