japi-cvs Mailing List for JAPI (Page 20)
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-17 20:49:31
|
Revision: 935
http://japi.svn.sourceforge.net/japi/?rev=935&view=rev
Author: christianhujer
Date: 2009-02-17 20:49:27 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Updated libraries to no longer be checked in.
Modified Paths:
--------------
tools/replacer/trunk/build.xml
Removed Paths:
-------------
tools/replacer/trunk/lib/annotations.jar
tools/replacer/trunk/lib/japi-lib-argparser-trunk.jar
Modified: tools/replacer/trunk/build.xml
===================================================================
--- tools/replacer/trunk/build.xml 2009-02-17 20:45:44 UTC (rev 934)
+++ tools/replacer/trunk/build.xml 2009-02-17 20:49:27 UTC (rev 935)
@@ -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>
Deleted: tools/replacer/trunk/lib/annotations.jar
===================================================================
(Binary files differ)
Deleted: tools/replacer/trunk/lib/japi-lib-argparser-trunk.jar
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 20:45:50
|
Revision: 934
http://japi.svn.sourceforge.net/japi/?rev=934&view=rev
Author: christianhujer
Date: 2009-02-17 20:45:44 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed checkstyle issues.
Modified Paths:
--------------
tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterable.java
tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterator.java
tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Replacer.java
tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Substitution.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableDefaultTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableLineIteratorTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterablePatternListTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableSplitIteratorTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIteratorTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithSplitIteratorTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithStringSplitTest.java
tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java
Modified: tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterable.java
===================================================================
--- tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterable.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterable.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -88,6 +88,8 @@
return new LineIterator(text);
case SPLIT_ITERATOR:
return new SplitIterator(text, LINE_SPLIT_PATTERN);
+ default:
+ assert false;
}
throw new Error("Compile time error. IteratorImplementation missing.");
}
Modified: tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterator.java
===================================================================
--- tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterator.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/LineIterator.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -114,13 +114,13 @@
private boolean isCharBeforeEndALineTerminator() {
final char c = text.charAt(end - 1);
return
- c == LINE_FEED ||
+ c == LINE_FEED
// CARRIAGE_RETURN only already terminates a line if it is standalone.
// If it is immediately followed by a LINE_FEED, that line feed will terminate the line in the next invocation.
- c == CARRIAGE_RETURN && (end == text.length() || text.charAt(end) != LINE_FEED) ||
- c == NEXT_LINE ||
- c == LINE_SEPARATOR ||
- c == PARAGRAPH_SEPARATOR;
+ || c == CARRIAGE_RETURN && (end == text.length() || text.charAt(end) != LINE_FEED)
+ || c == NEXT_LINE
+ || c == LINE_SEPARATOR
+ || c == PARAGRAPH_SEPARATOR;
}
/** {@inheritDoc}
Modified: tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Replacer.java
===================================================================
--- tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Replacer.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Replacer.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -52,16 +52,16 @@
* Files will only be written if at least one of the substitution steps caused a change.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-// TODO Add interactive mode.
+// TODO:2009-02-17:christianhujer:Add interactive mode.
// The interactive mode for each match should show the context of the substitution.
// It should replace only after user confirmation.
-// TODO Add ranges mode.
+// TODO:2009-02-17:christianhujer:Add ranges mode.
// The ranges mode specifies a range before an s command.
// The default range is % - all lines of the file.
// Ranges could also be 3,5 - lines 3 to 5 in the file.
-// TODO Add option for user-definable command, e.g. for checking out files from a VCS.
-// TODO Add pretend option to just pretend changing files but do not actually change them.
-// TODO Support comment lines, e.g. with #
+// TODO:2009-02-17:christianhujer:Add option for user-definable command, e.g. for checking out files from a VCS.
+// TODO:2009-02-17:christianhujer:Add pretend option to just pretend changing files but do not actually change them.
+// TODO:2009-02-17:christianhujer:Support comment lines, e.g. with #
public class Replacer extends BasicCommand {
/** The default file ending for backup files. */
@@ -431,7 +431,7 @@
final BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(filename), encoding));
try {
//noinspection NestedAssignment
- for (String line; (line = in.readLine()) != null; ) {
+ for (String line; (line = in.readLine()) != null;) {
addSubstitution(line);
}
} finally {
Modified: tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Substitution.java
===================================================================
--- tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Substitution.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/prj/net/sf/japi/tools/replacer/Substitution.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -91,20 +91,20 @@
*
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-// TODO: Add support for /e and a way for specifying the expression language (e.g. Java, ECMAScript, Groovy) for /e.
+// TODO:2009-02-17:christianhujer:Add support for /e and a way for specifying the expression language (e.g. Java, ECMAScript, Groovy) for /e.
public class Substitution {
/** The regular expression used to parse an sed / perl / vi like substitution command.
* The syntax is "s/pattern/replacement/flags".
* If "/" appears in the pattern or the replacement, it needs to be escaped.
*/
- private static final Pattern rePattern = Pattern.compile("^s/((?:\\\\/|[^/])*+)/((?:\\\\|\\\\/|[^/])*+)/(.*+)$");
+ private static final Pattern RE_PATTERN = Pattern.compile("^s/((?:\\\\/|[^/])*+)/((?:\\\\|\\\\/|[^/])*+)/(.*+)$");
/** The unmodifiable map with the flags.
* Key: Flag character.
* Value: integer flag value for {@link Pattern#compile(String, int)} resp. returned by {@link Pattern#flags()}.
*/
- private static final Map<Character, Integer> flagMap = createFlagMap();
+ private static final Map<Character, Integer> FLAG_MAP = createFlagMap();
/** The pattern used for this substitution. */
private final String patternString;
@@ -255,8 +255,8 @@
if (flagString != null) {
StringBuilder bogusFlags = null;
for (final char c : flagString.toCharArray()) {
- if (flagMap.containsKey(c)) {
- final Integer flag = flagMap.get(c);
+ if (FLAG_MAP.containsKey(c)) {
+ final Integer flag = FLAG_MAP.get(c);
if (flag != null) {
flags |= flag;
}
@@ -295,7 +295,7 @@
* @return The three subcomponents pattern, replacement and flags.
*/
public static String[] parseRegex(@NotNull final CharSequence regex) {
- final Matcher matcher = rePattern.matcher(regex);
+ final Matcher matcher = RE_PATTERN.matcher(regex);
if (!matcher.matches()) {
throw new IllegalArgumentException("Malformed substitution command.");
}
@@ -370,6 +370,6 @@
public static Map<Character, Integer> getFlagMap() {
//The collection already is unmodifiable.
//noinspection ReturnOfCollectionOrArrayField
- return flagMap;
+ return FLAG_MAP;
}
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableDefaultTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableDefaultTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableDefaultTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -39,5 +39,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableLineIteratorTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableLineIteratorTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableLineIteratorTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -39,5 +39,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterablePatternListTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterablePatternListTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterablePatternListTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -39,5 +39,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableSplitIteratorTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableSplitIteratorTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIterableSplitIteratorTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -39,5 +39,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIteratorTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIteratorTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithLineIteratorTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -39,5 +39,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithSplitIteratorTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithSplitIteratorTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithSplitIteratorTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -38,5 +38,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithStringSplitTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithStringSplitTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/LineIterationWithStringSplitTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -36,9 +36,9 @@
// The contract of these line iterators is that an empty text will return zero lines.
// The split operation will still return at least 1 element.
// Because of that an empty text needs special treatment to return zero lines instead of 1 empty line.
- return text.length() == 0 ?
- Collections.<CharSequence>emptySet().iterator() :
- Arrays.<CharSequence>asList(Pattern.compile("(?<=\\n|\u0085|\u2028|\u2029|\\r(?!\\n))").split(text)).iterator();
+ return text.length() == 0
+ ? Collections.<CharSequence>emptySet().iterator()
+ : Arrays.<CharSequence>asList(Pattern.compile("(?<=\\n|\u0085|\u2028|\u2029|\\r(?!\\n))").split(text)).iterator();
}
/** Dummy test for working aroud a bug in IntelliJ IDEA.
@@ -46,5 +46,5 @@
*/
@SuppressWarnings({"JUnitTestMethodWithNoAssertions"})
@Test
- public void dummyForIntelliJIDEA() {}
+ public void dummyForIntelliJIDEA() { }
}
Modified: tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java
===================================================================
--- tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java 2009-02-17 19:57:05 UTC (rev 933)
+++ tools/replacer/trunk/src/tst/test/net/sf/japi/tools/replacer/SubstitutionTest.java 2009-02-17 20:45:44 UTC (rev 934)
@@ -72,70 +72,70 @@
/** Tests that {@link Substitution#parseFlags(String)} works with null flags. */
@Test
- public void testParseFlag_null() {
+ public void testParseFlagNull() {
final int flags = Substitution.parseFlags(null);
Assert.assertEquals("Expecting null flags to be zero.", 0, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with empty flags. */
@Test
- public void testParseFlag_empty() {
+ public void testParseFlagEmpty() {
final int flags = Substitution.parseFlags("");
Assert.assertEquals("Expecting null flags to be zero.", 0, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "d" flag. */
@Test
- public void testParseFlag_d() {
+ public void testParseFlagD() {
final int flags = Substitution.parseFlags("d");
Assert.assertEquals("Expecting d flag to be UNIX LINES.", Pattern.UNIX_LINES, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "i" flag. */
@Test
- public void testParseFlag_i() {
+ public void testParseFlagI() {
final int flags = Substitution.parseFlags("i");
Assert.assertEquals("Expecting i flag to be CASE INSENSITIVE.", Pattern.CASE_INSENSITIVE, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "x" flag. */
@Test
- public void testParseFlag_x() {
+ public void testParseFlagX() {
final int flags = Substitution.parseFlags("x");
Assert.assertEquals("Expecting x flag to be COMMENTS.", Pattern.COMMENTS, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "m" flag. */
@Test
- public void testParseFlag_m() {
+ public void testParseFlagM() {
final int flags = Substitution.parseFlags("m");
Assert.assertEquals("Expecting m flag to be MULTI_LINE.", Pattern.MULTILINE, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "l" flag. */
@Test
- public void testParseFlag_l() {
+ public void testParseFlagL() {
final int flags = Substitution.parseFlags("l");
Assert.assertEquals("Expecting l flag to be LITERAL.", Pattern.LITERAL, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "s" flag. */
@Test
- public void testParseFlag_s() {
+ public void testParseFlagS() {
final int flags = Substitution.parseFlags("s");
Assert.assertEquals("Expecting s flag to be DOTALL.", Pattern.DOTALL, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "u" flag. */
@Test
- public void testParseFlag_u() {
+ public void testParseFlagU() {
final int flags = Substitution.parseFlags("u");
Assert.assertEquals("Expecting u flag to be UNICODE CASE.", Pattern.UNICODE_CASE, flags);
}
/** Tests that {@link Substitution#parseFlags(String)} works with "c" flag. */
@Test
- public void testParseFlag_c() {
+ public void testParseFlagC() {
final int flags = Substitution.parseFlags("c");
Assert.assertEquals("Expecting c flag to be CANON EQ.", Pattern.CANON_EQ, flags);
}
@@ -155,7 +155,7 @@
/** Tests that {@link Substitution#Substitution(CharSequence)} interprets the d flag. */
@Test
- public void testConstructFlag_d() {
+ public void testConstructFlagD() {
final Substitution subst = new Substitution("s/foo/bar/d");
Assert.assertEquals("Expecting d flag to activate UNIX_LINES,", Pattern.UNIX_LINES, subst.getFlags());
Assert.assertFalse("Expecting d flag to not set file mode.", subst.isFile());
@@ -164,14 +164,14 @@
/** Tests that {@link Substitution#Substitution(CharSequence)} interprets the i flag. */
@Test
- public void testConstructFlag_i() {
+ public void testConstructFlagI() {
final Substitution subst = new Substitution("s/foo/bar/i");
Assert.assertEquals("Expecting d flag to activate CASE_INSENSITIVE,", Pattern.CASE_INSENSITIVE, subst.getFlags());
}
/** Tests that {@link Substitution#Substitution(CharSequence)} interprets the x flag. */
@Test
- public void testConstructFlag_x() {
+ public void testConstructFlagX() {
final Substitution subst = new Substitution("s/foo/bar/x");
Assert.assertEquals("Expecting d flag to activate COMMENTS,", Pattern.COMMENTS, subst.getFlags());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 19:57:12
|
Revision: 933
http://japi.svn.sourceforge.net/japi/?rev=933&view=rev
Author: christianhujer
Date: 2009-02-17 19:57:05 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Add missing ttb directories.
Added Paths:
-----------
libs/swing-list/branches/
libs/swing-list/tags/
progs/batcher/branches/
progs/batcher/tags/
tools/replacer/branches/
tools/replacer/tags/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 19:55:31
|
Revision: 932
http://japi.svn.sourceforge.net/japi/?rev=932&view=rev
Author: christianhujer
Date: 2009-02-17 19:55:29 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Enabled inspection ParameterNameDiffersFromOverriddenParameter.
Modified Paths:
--------------
japi.ipr
Modified: japi.ipr
===================================================================
--- japi.ipr 2009-02-17 19:54:46 UTC (rev 931)
+++ japi.ipr 2009-02-17 19:55:29 UTC (rev 932)
@@ -198,9 +198,6 @@
</module2copyright>
</component>
<component name="CppTools.Loader" warnedAboutFileOutOfSourceRoot="true" />
- <component name="DependenciesAnalyzeManager">
- <option name="myForwardDirection" value="false" />
- </component>
<component name="DependencyValidationManager">
<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="" />
@@ -1396,6 +1393,10 @@
<inspection_tool class="ReadObjectInitialization" level="WARNING" enabled="true" />
<inspection_tool class="ChannelResource" level="WARNING" enabled="true" />
<inspection_tool class="IOResource" level="WARNING" enabled="true" />
+ <inspection_tool class="ParameterNameDiffersFromOverriddenParameter" level="WARNING" enabled="true">
+ <option name="m_ignoreSingleCharacterNames" value="false" />
+ <option name="m_ignoreOverridesOfLibraryMethods" value="false" />
+ </inspection_tool>
</profile>
</profiles>
<list size="4">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 19:54:54
|
Revision: 931
http://japi.svn.sourceforge.net/japi/?rev=931&view=rev
Author: christianhujer
Date: 2009-02-17 19:54:46 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Add fetching of missing libraries.
Modified Paths:
--------------
libs/swing-about/trunk/build.xml
Modified: libs/swing-about/trunk/build.xml
===================================================================
--- libs/swing-about/trunk/build.xml 2009-02-17 19:54:27 UTC (rev 930)
+++ libs/swing-about/trunk/build.xml 2009-02-17 19:54:46 UTC (rev 931)
@@ -24,4 +24,9 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-lang-0.1.0.jar" dest="lib/japi-lib-lang.jar" />
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-swing-action-0.1.0.jar" dest="lib/japi-lib-swing-action.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-17 19:54:31
|
Revision: 930
http://japi.svn.sourceforge.net/japi/?rev=930&view=rev
Author: christianhujer
Date: 2009-02-17 19:54:27 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Removed trailing empty line.
Modified Paths:
--------------
libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java
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-17 11:54:05 UTC (rev 929)
+++ libs/swing-about/trunk/src/prj/net/sf/japi/swing/about/AboutDialog.java 2009-02-17 19:54:27 UTC (rev 930)
@@ -352,4 +352,3 @@
}
} // class AboutDialog
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:22:18
|
Revision: 925
http://japi.svn.sourceforge.net/japi/?rev=925&view=rev
Author: christianhujer
Date: 2009-02-17 11:31:36 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Created release tag 0.1.0 for branch 0.1.
Added Paths:
-----------
libs/swing-action/tags/0.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:22:11
|
Revision: 924
http://japi.svn.sourceforge.net/japi/?rev=924&view=rev
Author: christianhujer
Date: 2009-02-17 11:30:20 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Created branch 0.1.
Added Paths:
-----------
libs/swing-action/branches/0.1/
Property changes on: libs/swing-action/branches/0.1
___________________________________________________________________
Added: svn:ignore
+ bin
classes
dest
developer.properties
dist
docs
Added: svn:externals
+ ^/comon/trunk@921 common
Added: svn:mergeinfo
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:00:11
|
Revision: 926
http://japi.svn.sourceforge.net/japi/?rev=926&view=rev
Author: christianhujer
Date: 2009-02-17 11:45:47 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Activated svn commit and rsync automation.
Modified Paths:
--------------
common/trunk/branch.sh
common/trunk/release.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:31:36 UTC (rev 925)
+++ common/trunk/branch.sh 2009-02-17 11:45:47 UTC (rev 926)
@@ -74,4 +74,4 @@
cd $branchdir
svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion | sed s/[^0-9]//) common/ " )" .
cd ../..
-echo svn commit -m "Created branch $branch." $branchdir
+svn commit -m "Created branch $branch." $branchdir
Modified: common/trunk/release.sh
===================================================================
--- common/trunk/release.sh 2009-02-17 11:31:36 UTC (rev 925)
+++ common/trunk/release.sh 2009-02-17 11:45:47 UTC (rev 926)
@@ -48,7 +48,7 @@
cd ../..
svn cp branches/$branch $tagdir
cd $tagdir
-echo svn commit -m "Created release tag $tag for branch $branch." ..
-echo ant dist
+svn commit -m "Created release tag $tag for branch $branch." ..
+ant clean dist
# TODO:2009-02-17:christianhujer:Get sourceforge username from developer.properties.
-echo rsync -avPe ssh dist/ chr...@fr...:uploads/
+rsync -avPe ssh dist/ chr...@fr...:uploads/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:00:08
|
Revision: 929
http://japi.svn.sourceforge.net/japi/?rev=929&view=rev
Author: christianhujer
Date: 2009-02-17 11:54:05 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed typo in externals path name.
Modified Paths:
--------------
common/trunk/branch.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:53:44 UTC (rev 928)
+++ common/trunk/branch.sh 2009-02-17 11:54:05 UTC (rev 929)
@@ -72,6 +72,6 @@
cd ..
svn cp trunk $branchdir
cd $branchdir
-svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion | sed s/[^0-9]//) common/ " )" .
+svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/common\/trunk@$(svnversion | sed s/[^0-9]//) common/ " )" .
cd ../..
svn commit -m "Created branch $branch." $branchdir
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:00:05
|
Revision: 928
http://japi.svn.sourceforge.net/japi/?rev=928&view=rev
Author: christianhujer
Date: 2009-02-17 11:53:44 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed bogus svn:externals property.
Property Changed:
----------------
libs/swing-action/branches/0.1/
Property changes on: libs/swing-action/branches/0.1
___________________________________________________________________
Modified: svn:externals
- ^/comon/trunk@921 common
+ ^/common/trunk@921 common
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 12:00:04
|
Revision: 927
http://japi.svn.sourceforge.net/japi/?rev=927&view=rev
Author: christianhujer
Date: 2009-02-17 11:52:33 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed bogus svn:externals property.
Property Changed:
----------------
libs/swing-action/tags/0.1.0/
Property changes on: libs/swing-action/tags/0.1.0
___________________________________________________________________
Modified: svn:externals
- ^/comon/trunk@921 common
+ ^/common/trunk@921 common
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 11:27:14
|
Revision: 923
http://japi.svn.sourceforge.net/japi/?rev=923&view=rev
Author: christianhujer
Date: 2009-02-17 11:27:10 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed issue with svnversion.
Modified Paths:
--------------
common/trunk/branch.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:21:48 UTC (rev 922)
+++ common/trunk/branch.sh 2009-02-17 11:27:10 UTC (rev 923)
@@ -72,5 +72,6 @@
cd ..
svn cp trunk $branchdir
cd $branchdir
-svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion) common/ " )" .
-echo svn commit -m "Created branch $branch." ..
+svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion | sed s/[^0-9]//) common/ " )" .
+cd ../..
+echo svn commit -m "Created branch $branch." $branchdir
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 11:21:55
|
Revision: 922
http://japi.svn.sourceforge.net/japi/?rev=922&view=rev
Author: christianhujer
Date: 2009-02-17 11:21:48 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed svn issue (can't copy own children) with branch.sh and release.sh.
Modified Paths:
--------------
common/trunk/branch.sh
common/trunk/release.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:03:57 UTC (rev 921)
+++ common/trunk/branch.sh 2009-02-17 11:21:48 UTC (rev 922)
@@ -68,8 +68,9 @@
else
branch=$(getNextMinorBranch)
fi
-branchdir=../branches/$branch
-svn cp . $branchdir
+branchdir=branches/$branch
+cd ..
+svn cp trunk $branchdir
cd $branchdir
svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion) common/ " )" .
echo svn commit -m "Created branch $branch." ..
Modified: common/trunk/release.sh
===================================================================
--- common/trunk/release.sh 2009-02-17 11:03:57 UTC (rev 921)
+++ common/trunk/release.sh 2009-02-17 11:21:48 UTC (rev 922)
@@ -44,8 +44,9 @@
# TODO:2009-02-17:christianhujer:Add a check if we really are in trunk/.
tag=$(getNextTag)
-tagdir=../tags/$tag
-svn cp . $tagdir
+tagdir=tags/$tag
+cd ../..
+svn cp branches/$branch $tagdir
cd $tagdir
echo svn commit -m "Created release tag $tag for branch $branch." ..
echo ant dist
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-17 11:04:03
|
Revision: 921
http://japi.svn.sourceforge.net/japi/?rev=921&view=rev
Author: christianhujer
Date: 2009-02-17 11:03:57 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Added branch.sh and release.sh for automating branching and releasing.
Added Paths:
-----------
common/trunk/branch.sh
common/trunk/release.sh
Added: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh (rev 0)
+++ common/trunk/branch.sh 2009-02-17 11:03:57 UTC (rev 921)
@@ -0,0 +1,75 @@
+#!/bin/bash
+
+# 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
+
+# Returns the latest branch.
+# If no branches are avaialable, 0.0 is returned.
+function getPreviousBranch() {
+ version=$( (cd ../branches ; ls) | grep -P '^\d+\.\d+$' | sort -g -t . -k 2 | sort -g -t . -k 1 -s | tail -n 1 )
+ if [[ -z $version ]]
+ then
+ version=0.0
+ fi
+ echo $version
+}
+
+# Returns the next minor branch.
+# For the first branch, 0.1 is returned.
+function getNextMinorBranch() {
+ version=$(getPreviousBranch)
+ if [[ $version =~ ^([0-9]+)\.([0-9]+)$ ]]
+ then
+ major=${BASH_REMATCH[1]}
+ minor=${BASH_REMATCH[2]}
+ else
+ echo Cannot split version $version into major and minor
+ exit 1
+ fi
+ minor=$(( $minor + 1 ))
+ echo $major.$minor
+}
+
+# Returns the next major branch.
+# For the first major branch, 1.0 is returned.
+function getNextMajorBranch() {
+ version=$(getPreviousBranch)
+ if [[ $version =~ ^([0-9]+)\.([0-9]+)$ ]]
+ then
+ major=${BASH_REMATCH[1]}
+ minor=${BASH_REMATCH[2]}
+ else
+ echo Cannot split version $version into major and minor
+ exit 1
+ fi
+ major=$(( $major + 1 ))
+ echo $major.0
+}
+
+# TODO:2009-02-17:christianhujer:Add support for options like -h.
+# TODO:2009-02-17:christianhujer:Add a check if we really are in trunk/.
+
+if [[ $1 == '-m' ]]
+then
+ branch=$(getNextMajorBranch)
+else
+ branch=$(getNextMinorBranch)
+fi
+branchdir=../branches/$branch
+svn cp . $branchdir
+cd $branchdir
+svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion) common/ " )" .
+echo svn commit -m "Created branch $branch." ..
Property changes on: common/trunk/branch.sh
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: common/trunk/release.sh
===================================================================
--- common/trunk/release.sh (rev 0)
+++ common/trunk/release.sh 2009-02-17 11:03:57 UTC (rev 921)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# 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
+
+branch=$(basename $(pwd))
+
+# Returns the next tag for this branch.
+# If no tag are avaialable, $branch.0 is returned.
+function getNextTag() {
+ version=$( (cd ../../tags ; ls) | grep -P '^'$branch'\.\d+$' | sort -g -t . -k 3 | tail -n 1 )
+ if [[ -z $version ]]
+ then
+ version=$branch.0
+ else
+ if [[ $version =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]
+ then
+ major=${BASH_REMATCH[1]}
+ minor=${BASH_REMATCH[2]}
+ rel=${BASH_REMATCH[3]}
+ else
+ echo Cannot split version $version into major and minor
+ exit 1
+ fi
+ version=$major.$minor.$(( $rel + 1 ))
+ fi
+ echo $version
+}
+
+# TODO:2009-02-17:christianhujer:Add support for options like -h.
+# TODO:2009-02-17:christianhujer:Add a check if we really are in trunk/.
+
+tag=$(getNextTag)
+tagdir=../tags/$tag
+svn cp . $tagdir
+cd $tagdir
+echo svn commit -m "Created release tag $tag for branch $branch." ..
+echo ant dist
+# TODO:2009-02-17:christianhujer:Get sourceforge username from developer.properties.
+echo rsync -avPe ssh dist/ chr...@fr...:uploads/
Property changes on: common/trunk/release.sh
___________________________________________________________________
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-16 04:19:43
|
Revision: 920
http://japi.svn.sourceforge.net/japi/?rev=920&view=rev
Author: christianhujer
Date: 2009-02-16 04:19:39 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Replaced checked in library with download.
Modified Paths:
--------------
libs/swing-action/trunk/build.xml
Removed Paths:
-------------
libs/swing-action/trunk/lib/japi-lib-lang-trunk-854.jar
Modified: libs/swing-action/trunk/build.xml
===================================================================
--- libs/swing-action/trunk/build.xml 2009-02-16 04:05:56 UTC (rev 919)
+++ libs/swing-action/trunk/build.xml 2009-02-16 04:19:39 UTC (rev 920)
@@ -23,4 +23,8 @@
&commonBuild;
+ <target name="getlibs">
+ <get src="http://downloads.sourceforge.net/japi/japi-lib-lang-0.1.0.jar" dest="lib/japi-lib-lang.jar" />
+ </target>
+
</project>
Deleted: libs/swing-action/trunk/lib/japi-lib-lang-trunk-854.jar
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 04:06:00
|
Revision: 919
http://japi.svn.sourceforge.net/japi/?rev=919&view=rev
Author: christianhujer
Date: 2009-02-16 04:05:56 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Fixed bug in commonBuild.xml: build jar was accidently removed.
Modified Paths:
--------------
common/trunk/commonBuild.xml
Modified: common/trunk/commonBuild.xml
===================================================================
--- common/trunk/commonBuild.xml 2009-02-16 03:50:11 UTC (rev 918)
+++ common/trunk/commonBuild.xml 2009-02-16 04:05:56 UTC (rev 919)
@@ -230,7 +230,6 @@
description = "Creates and packs distribution archives."
depends = "clean, compile, test, doc, build"
>
- <delete dir="dist" />
<mkdir dir="dist" />
<parallel>
<tar tarfile="${distPath}.src.tar" longfile="gnu">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:50:15
|
Revision: 918
http://japi.svn.sourceforge.net/japi/?rev=918&view=rev
Author: christianhujer
Date: 2009-02-16 03:50:11 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Creating release tag 0.1.0 for branch 0.1.
Added Paths:
-----------
libs/lang/tags/0.1.0/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:47:52
|
Revision: 917
http://japi.svn.sourceforge.net/japi/?rev=917&view=rev
Author: christianhujer
Date: 2009-02-16 03:47:49 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Updated svn:externals for branch 0.1 to be to a fixed revision.
Property Changed:
----------------
libs/lang/branches/0.1/
Property changes on: libs/lang/branches/0.1
___________________________________________________________________
Modified: svn:externals
- ^/common/trunk common
+ ^/common/trunk@916 common
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:38:48
|
Revision: 916
http://japi.svn.sourceforge.net/japi/?rev=916&view=rev
Author: christianhujer
Date: 2009-02-16 03:38:44 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Creating branch for 0.1.
Added Paths:
-----------
libs/lang/branches/0.1/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:25:33
|
Revision: 915
http://japi.svn.sourceforge.net/japi/?rev=915&view=rev
Author: christianhujer
Date: 2009-02-16 03:25:30 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Removed bogus redundancy in main jar creation.
Modified Paths:
--------------
common/trunk/commonBuild.xml
Modified: common/trunk/commonBuild.xml
===================================================================
--- common/trunk/commonBuild.xml 2009-02-16 03:16:46 UTC (rev 914)
+++ common/trunk/commonBuild.xml 2009-02-16 03:25:30 UTC (rev 915)
@@ -228,7 +228,7 @@
<target
name = "dist"
description = "Creates and packs distribution archives."
- depends = "clean, compile, test, doc"
+ depends = "clean, compile, test, doc, build"
>
<delete dir="dist" />
<mkdir dir="dist" />
@@ -266,20 +266,6 @@
<!-- TODO -->
</zipfileset>
</jar>
- <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>
<tar tarfile="${distPath}.doc.tar" longfile="gnu">
<tarfileset dir="." prefix="${module.name}-${module.version}">
<include name="docs/**" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:16:48
|
Revision: 914
http://japi.svn.sourceforge.net/japi/?rev=914&view=rev
Author: christianhujer
Date: 2009-02-16 03:16:46 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Made SuperClassIterable and SuperClassIterator serializable.
Modified Paths:
--------------
libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterable.java
libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterator.java
Modified: libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterable.java
===================================================================
--- libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterable.java 2009-02-16 03:16:30 UTC (rev 913)
+++ libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterable.java 2009-02-16 03:16:46 UTC (rev 914)
@@ -18,15 +18,21 @@
package net.sf.japi.lang;
+import java.io.Serializable;
import java.util.Iterator;
/**
* Iterable for iterating all superclasses of a class (including the class itself).
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-public class SuperClassIterable implements Iterable<Class<?>> {
+public class SuperClassIterable implements Iterable<Class<?>>, Serializable {
- /** The class to iterate. */
+ /** Serial Version. */
+ private static final long serialVersionUID = 1L;
+
+ /** The class to iterate.
+ * @serial include
+ */
private final Class<?> clazz;
/** Creates a SuperClassIterable.
Modified: libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterator.java
===================================================================
--- libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterator.java 2009-02-16 03:16:30 UTC (rev 913)
+++ libs/lang/trunk/src/prj/net/sf/japi/lang/SuperClassIterator.java 2009-02-16 03:16:46 UTC (rev 914)
@@ -18,6 +18,7 @@
package net.sf.japi.lang;
+import java.io.Serializable;
import java.util.Iterator;
import java.util.NoSuchElementException;
import org.jetbrains.annotations.NotNull;
@@ -28,9 +29,14 @@
* Note: The supplied class is included in iteration. If you want to omit it, you'll have to invoke getSuperclass() once, e.g. use <code>new SuperClassIterator(clazz.getSuperClass())</code> instead of <code>new SuperClassIterator(clazz)</code>.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
-public class SuperClassIterator implements Iterator<Class<?>> {
+public class SuperClassIterator implements Iterator<Class<?>>, Serializable {
- /** The current class. */
+ /** Serial Version. */
+ private static final long serialVersionUID = 7437083475483387420L;
+
+ /** The current class.
+ * @serial include
+ */
@Nullable private Class<?> nextClass;
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <chr...@us...> - 2009-02-16 03:16:32
|
Revision: 913
http://japi.svn.sourceforge.net/japi/?rev=913&view=rev
Author: christianhujer
Date: 2009-02-16 03:16:30 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
Added documentation about serialization.
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 23:08:49 UTC (rev 912)
+++ libs/lang/trunk/src/prj/net/sf/japi/lang/PropertyComparator.java 2009-02-16 03:16:30 UTC (rev 913)
@@ -31,7 +31,8 @@
* @param <T> Property type to compare.
* @param <C> Class of which to compare a property.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
- * @todo think whether net.sf.japi.lang really is the correct package or this should rather go to something like net.sf.japi.beans or net.sf.japi.util.
+ * @todo 2009-02-16:christianhujer:Think whether net.sf.japi.lang really is the correct package or this should rather go to something like net.sf.japi.beans or net.sf.japi.util.
+ * @todo 2009-02-16:christianhujer:This class is not yet implemented Serializable.
*/
public class PropertyComparator<T, C> implements Comparator<C>, Serializable {
@@ -46,6 +47,8 @@
/** The comparator to compare the property value.
* @serial include
*/
+ // If this field cannot be serialized, the default error mechanisms are sufficient and shall apply.
+ @SuppressWarnings({"NonSerializableFieldInSerializableClass"})
@Nullable private final Comparator<T> delegate;
/** The name of the property to get.
@@ -56,7 +59,7 @@
/** The getter to read the property.
* @serial include
*/
- @Nullable private final Method getter;
+ @Nullable private final Method getter; // TODO:2009-02-16:christianhujer:Handle this field.
/** Create a PropertyComparator.
* @param targetClass The target class of which properties should be compared, maybe <code>null</code> in which case the target class will be evaluated dynamically.
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:08:52
|
Revision: 912
http://japi.svn.sourceforge.net/japi/?rev=912&view=rev
Author: christianhujer
Date: 2009-02-15 23:08:49 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Updated build.xml and module.properties of all progs to build with common build.
Added Paths:
-----------
progs/batcher/trunk/build.xml
progs/batcher/trunk/module.properties
progs/cardlearn/trunk/build.xml
progs/cardlearn/trunk/module.properties
progs/jeduca/trunk/build.xml
progs/jeduca/trunk/module.properties
progs/jhexedit/trunk/build.xml
progs/jhexedit/trunk/module.properties
progs/jhexview/trunk/build.xml
progs/jhexview/trunk/module.properties
progs/jirus/trunk/build.xml
progs/jirus/trunk/module.properties
progs/jtype/trunk/build.xml
progs/jtype/trunk/module.properties
progs/midilearn/trunk/build.xml
progs/midilearn/trunk/module.properties
progs/pffhtrain/trunk/build.xml
progs/pffhtrain/trunk/module.properties
progs/textedit/trunk/build.xml
progs/textedit/trunk/module.properties
Added: progs/batcher/trunk/build.xml
===================================================================
--- progs/batcher/trunk/build.xml (rev 0)
+++ progs/batcher/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="Batcher" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/batcher/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/batcher/trunk/module.properties
===================================================================
--- progs/batcher/trunk/module.properties (rev 0)
+++ progs/batcher/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=Batcher
+shortname=Batcher
+title=Batcher
+package=net.sf.japi.batcher
+package.path=net/sf/japi/batcher
+main.class=net.sf.japi.batcher.Batcher
Property changes on: progs/batcher/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/cardlearn/trunk/build.xml
===================================================================
--- progs/cardlearn/trunk/build.xml (rev 0)
+++ progs/cardlearn/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="CardLearn" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/cardlearn/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/cardlearn/trunk/module.properties
===================================================================
--- progs/cardlearn/trunk/module.properties (rev 0)
+++ progs/cardlearn/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,23 @@
+#
+# 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=CardLearn
+shortname=CardLearn
+title=CardLearn
+package=net.sf.japi.cardlearn
+package.path=net/sf/japi/cardlearn
Property changes on: progs/cardlearn/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/jeduca/trunk/build.xml
===================================================================
--- progs/jeduca/trunk/build.xml (rev 0)
+++ progs/jeduca/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="JEduca" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/jeduca/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/jeduca/trunk/module.properties
===================================================================
--- progs/jeduca/trunk/module.properties (rev 0)
+++ progs/jeduca/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=JEduca
+shortname=JEduca
+title=JEduca
+package=net.sf.japi.progs.jeduca
+package.path=net/sf/japi/progs/jeduca
+main.class=net.sf.japi.progs.jeduca.jtest.Main
Property changes on: progs/jeduca/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/jhexedit/trunk/build.xml
===================================================================
--- progs/jhexedit/trunk/build.xml (rev 0)
+++ progs/jhexedit/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="JHexEdit" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/jhexedit/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/jhexedit/trunk/module.properties
===================================================================
--- progs/jhexedit/trunk/module.properties (rev 0)
+++ progs/jhexedit/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=JHexEdit
+shortname=JHexEdit
+title=JHexEdit
+package=net.sf.japi.progs.jhexedit
+package.path=net/sf/japi/progs/jhexedit
+main.class=net.sf.japi.progs.jhexedit.JHexEditApplication
Property changes on: progs/jhexedit/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/jhexview/trunk/build.xml
===================================================================
--- progs/jhexview/trunk/build.xml (rev 0)
+++ progs/jhexview/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="JHexView" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/jhexview/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/jhexview/trunk/module.properties
===================================================================
--- progs/jhexview/trunk/module.properties (rev 0)
+++ progs/jhexview/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=JHexView
+shortname=JHexView
+title=JHexView
+package=net.sf.japi.progs.jhexview
+package.path=net/sf/japi/progs/jhexview
+main.class=net.sf.japi.progs.jhexview.JHexView
Property changes on: progs/jhexview/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/jirus/trunk/build.xml
===================================================================
--- progs/jirus/trunk/build.xml (rev 0)
+++ progs/jirus/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="Jirus" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/jirus/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/jirus/trunk/module.properties
===================================================================
--- progs/jirus/trunk/module.properties (rev 0)
+++ progs/jirus/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=Jirus
+shortname=Jirus
+title=Jirus
+package=net.sf.jirus
+package.path=net/sf/jirus
+main.class=net.sf.jirus.Jirus
Property changes on: progs/jirus/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/jtype/trunk/build.xml
===================================================================
--- progs/jtype/trunk/build.xml (rev 0)
+++ progs/jtype/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="JType" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/jtype/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/jtype/trunk/module.properties
===================================================================
--- progs/jtype/trunk/module.properties (rev 0)
+++ progs/jtype/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=JType
+shortname=JType
+title=JType
+package=net.sf.japi.jtype
+package.path=net/sf/japi/jtype
+main.class=net.sf.japi.jtype.JType
Property changes on: progs/jtype/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/midilearn/trunk/build.xml
===================================================================
--- progs/midilearn/trunk/build.xml (rev 0)
+++ progs/midilearn/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="MidiLearn" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/midilearn/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/midilearn/trunk/module.properties
===================================================================
--- progs/midilearn/trunk/module.properties (rev 0)
+++ progs/midilearn/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=MidiLearn
+shortname=MidiLearn
+title=MidiLearn
+package=net.sf.japi.midilearn
+package.path=net/sf/japi/midilearn
+main.class=net.sf.japi.midilearn.MidiLearn
Property changes on: progs/midilearn/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/pffhtrain/trunk/build.xml
===================================================================
--- progs/pffhtrain/trunk/build.xml (rev 0)
+++ progs/pffhtrain/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="PffhTrain" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/pffhtrain/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/pffhtrain/trunk/module.properties
===================================================================
--- progs/pffhtrain/trunk/module.properties (rev 0)
+++ progs/pffhtrain/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=PffhTrain
+shortname=PffhTrain
+title=PffhTrain
+package=net.sf.japi.pffhtrain
+package.path=net/sf/japi/pffhtrain
+main.class=net.sf.japi.pffhtrain.PffhTrain
Property changes on: progs/pffhtrain/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
Added: progs/textedit/trunk/build.xml
===================================================================
--- progs/textedit/trunk/build.xml (rev 0)
+++ progs/textedit/trunk/build.xml 2009-02-15 23:08:49 UTC (rev 912)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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/>.
+ -->
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
+<project name="TextEdit" default="compile">
+
+ &commonBuild;
+
+</project>
Property changes on: progs/textedit/trunk/build.xml
___________________________________________________________________
Added: svn:mime-type
+ text/xml
Added: svn:eol-style
+ LF
Added: progs/textedit/trunk/module.properties
===================================================================
--- progs/textedit/trunk/module.properties (rev 0)
+++ progs/textedit/trunk/module.properties 2009-02-15 23:08:49 UTC (rev 912)
@@ -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=TextEditApplication
+shortname=TextEditApplication
+title=TextEditApplication
+package=net.sf.japi.textedit
+package.path=net/sf/japi/textedit
+main.class=net.sf.japi.textedit.TextEditApplication
Property changes on: progs/textedit/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:02:40
|
Revision: 909
http://japi.svn.sourceforge.net/japi/?rev=909&view=rev
Author: christianhujer
Date: 2009-02-15 22:02:20 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Changed dircount build to use common build.
Modified Paths:
--------------
tools/dircount/trunk/build.xml
Added Paths:
-----------
tools/dircount/trunk/module.properties
Modified: tools/dircount/trunk/build.xml
===================================================================
--- tools/dircount/trunk/build.xml 2009-02-15 21:56:07 UTC (rev 908)
+++ tools/dircount/trunk/build.xml 2009-02-15 22:02:20 UTC (rev 909)
@@ -15,210 +15,11 @@
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-
+<!DOCTYPE project [
+ <!ENTITY commonBuild SYSTEM "common/commonBuild.xml">
+]>
<project name="dircount" default="compile">
- <property name="module.version" value="0.1" />
- <property name="module.name" value="dircount" />
- <property name="module.shortname" value="dircount" />
- <property name="module.title" value="DirCount" />
- <property name="module.main.class" value="net.sf.japi.dircount.DirCount" />
+ &commonBuild;
- <taskdef name="pack200" classpath="common/antlib/Pack200Task.jar" classname="com.sun.tools.apache.ant.pack200.Pack200Task" />
-
- <target
- name = "clean"
- description = "Cleans Sandbox"
- >
- <delete dir="classes" />
- <delete dir="docs" />
- </target>
-
- <target
- name = "compile"
- description = "Compiles production classes"
- >
- <mkdir dir="classes/production/${module.shortname}" />
- <mkdir dir="classes/test/${module.shortname}" />
- <javac
- srcdir="src/prj"
- destdir="classes/production/${module.shortname}"
- encoding="utf-8"
- source="1.5"
- target="1.5"
- >
- <classpath>
- <fileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" />
- <fileset dir="common/lib" includes="*.jar" excludes="LICENSE-*.jar" />
- </classpath>
- <exclude name="test/**/*.java" />
- </javac>
- <copy
- todir="classes/production/${module.shortname}"
- >
- <fileset dir="src/prj" includes="**/*.properties" excludes="test/**/*.properties" />
- <fileset dir="src/prj" includes="META-INF/services/**" />
- </copy>
- <copy
- todir="classes/production/${module.shortname}"
- >
- <fileset dir="lib" includes="LICENSE-*" />
- <fileset dir="." includes="COPYING" />
- </copy>
- </target>
-
- <target
- name = "dist"
- description = "Packs distribution archives."
- depends = "clean, compile"
- >
- <!--depends = "clean, compile, doc"
- -->
- <delete dir="dist" />
- <mkdir dir="dist" />
- <property name="distName" value="dist/${module.name}-${module.version}" />
- <parallel>
- <tar tarfile="${distName}.src.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.src.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.src.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="src/**" />
- <include name="build.xml" />
- </zipfileset>
- </jar>
- <jar destfile="${distName}.jar">
- <zipfileset dir="classes/production/${module.shortname}"/>
- <manifest>
- <attribute name="Main-Class" value="${module.main.class}" />
- <attribute name="Class-Path" value="lib/annotations.jar lib/japi-lib-lang-0.1.jar lib/japi-lib-swing-about-0.1.jar lib/japi-lib-swing-action-0.1.jar" />
- <attribute name="Implementation-Title" value="${module.name}" />
- <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" />
- <attribute name="Implementation-Version" value="${module.version}" />
- <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" />
- </manifest>
- </jar>
- <tar tarfile="${distName}.doc.tar">
- <tarfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </tarfileset>
- </tar>
- <zip destfile="${distName}.doc.zip">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- <include name="build.xml" />
- </zipfileset>
- </zip>
- <jar destfile="${distName}.doc.jar">
- <zipfileset dir="." prefix="${module.name}-${module.version}">
- <include name="docs/**" />
- </zipfileset>
- </jar>
- </parallel>
- <parallel>
- <gzip src="${distName}.src.tar" destfile="${distName}.src.tar.gz" />
- <bzip2 src="${distName}.src.tar" destfile="${distName}.src.tar.bz2" />
- <gzip src="${distName}.doc.tar" destfile="${distName}.doc.tar.gz" />
- <bzip2 src="${distName}.doc.tar" destfile="${distName}.doc.tar.bz2" />
- <pack200
- src="${distName}.jar"
- destfile="${distName}.pack.gz"
- gzipoutput="true"
- stripdebug="true"
- effort="9"
- keepfileorder="false"
- modificationtime="latest"
- deflatehint="false"
- />
- </parallel>
- <delete file="${distName}.src.tar" />
- <delete file="${distName}.doc.tar" />
- </target>
-
- <target
- name = "doc"
- description = "Creates public javadoc documentation."
- >
- <mkdir dir="docs/api" />
- <!--copy todir="docs/api" file="src/doc/api/public/copyright.html" />
- <copy todir="docs/api" file="src/doc/api/public/.htaccess" /-->
- <javadoc
- destdir = "docs/api"
- access = "protected"
- author = "yes"
- version = "yes"
- locale = "en_US"
- use = "yes"
- splitindex = "yes"
- windowtitle = "JAPI Library ${module.title} ${module.version} API documentation"
- doctitle = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- header = "JAPI Library ${module.title} ${module.version}<br />API Documentation"
- footer = "JAPI<br />Yet another Java API<br />Library ${module.title} ${module.version} API documentation"
- bottom = "<div style=" text-align:center;">© 2005-2006 Christian Hujer. All rights reserved. See <a href="{@docRoot}/copyright.html">copyright</a></div>"
- serialwarn = "yes"
- charset = "utf-8"
- docencoding = "utf-8"
- encoding = "utf-8"
- source = "1.5"
- linksource = "yes"
- link = "${user.javadoc.link}"
- >
- <!--
- overview = "src/overview.html"
- -->
- <classpath>
- <fileset dir="lib" includes="annotations.jar" />
- </classpath>
- <sourcepath>
- <pathelement path="${user.javadoc.javasrc}" />
- <pathelement path="src/prj" />
- </sourcepath>
- <packageset
- dir="src/prj"
- defaultexcludes="yes"
- >
- <include name="net/**" />
- </packageset>
- <tag enabled="true" name="retval" description="Return Values:" scope="methods" />
- <tag enabled="true" name="pre" description="Preconditions:" scope="methods,constructors" />
- <tag enabled="true" name="post" description="Postconditions:" scope="methods" />
- <tag enabled="true" name="invariant" description="Invariant:" scope="methods,fields" />
- <tag enabled="true" name="note" description="Notes:" />
- <tag enabled="true" name="warning" description="Warnings:" />
- <!--tag enabled="true" name="todo" description="Todo:" /-->
- <taglet name="com.sun.tools.doclets.ToDoTaglet" path="" />
- <tag enabled="true" name="fixme" description="Fixme:" />
- <tag enabled="true" name="xxx" description="XXX:" />
- </javadoc>
- </target>
-
- <target
- name = "buildapp"
- description = "Creates executable jar"
- >
- <property name="appName" value="${module.name}-${module.version}-app" />
- <jar destfile="${appName}.jar">
- <zipfileset dir="classes/production/${module.shortname}"/>
- <zipgroupfileset dir="lib" includes="*.jar" excludes="LICENSE-*.jar" />
- <manifest>
- <attribute name="Main-Class" value="${module.main.class}" />
- <!--attribute name="Class-Path" value="lib/annotations.jar lib/japi-lib-lang-0.1.jar lib/japi-lib-swing-about-0.1.jar lib/japi-lib-swing-action-0.1.jar" /-->
- <attribute name="Implementation-Title" value="${module.name}" />
- <attribute name="Implementation-Vendor" value="Christian Hujer + the JAPI Developers" />
- <attribute name="Implementation-Version" value="${module.version}" />
- <attribute name="Implementation-URL" value="http://sourceforge.net/projects/japi/" />
- </manifest>
- </jar>
- </target>
-
</project>
Added: tools/dircount/trunk/module.properties
===================================================================
--- tools/dircount/trunk/module.properties (rev 0)
+++ tools/dircount/trunk/module.properties 2009-02-15 22:02:20 UTC (rev 909)
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2009 Christian Hujer
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+update.focus=none
+name=DirCount
+shortname=DirCount
+title=DirCount
+package=net.sf.japi.dircount
+package.path=net/sf/japi/dircount
+main.class=net.sf.japi.dircount.DirCount
Property changes on: tools/dircount/trunk/module.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|