1.1 --- a/samples/componentinjection/anagram-modular/nbproject/project.xml Sat Jun 14 10:06:45 2008 +0200
1.2 +++ b/samples/componentinjection/anagram-modular/nbproject/project.xml Sat Jun 14 10:06:48 2008 +0200
1.3 @@ -16,6 +16,12 @@
1.4 <encoding>UTF-8</encoding>
1.5 </source-folder>
1.6 <source-folder>
1.7 + <label>src-word-static</label>
1.8 + <type>java</type>
1.9 + <location>src-api</location>
1.10 + <encoding>UTF-8</encoding>
1.11 + </source-folder>
1.12 + <source-folder>
1.13 <label>Anagram Modular</label>
1.14 <location>.</location>
1.15 <encoding>UTF-8</encoding>
1.16 @@ -58,6 +64,10 @@
1.17 <label>src-api</label>
1.18 <location>src-api</location>
1.19 </source-folder>
1.20 + <source-folder style="packages">
1.21 + <label>src-word-static</label>
1.22 + <location>src-word-static</location>
1.23 + </source-folder>
1.24 <source-file>
1.25 <location>build.xml</location>
1.26 </source-file>
1.27 @@ -79,6 +89,12 @@
1.28 <source-level>1.5</source-level>
1.29 </compilation-unit>
1.30 <compilation-unit>
1.31 + <package-root>src-word-static</package-root>
1.32 + <classpath mode="compile">src-api</classpath>
1.33 + <built-to>build/word-static/classes</built-to>
1.34 + <source-level>1.5</source-level>
1.35 + </compilation-unit>
1.36 + <compilation-unit>
1.37 <package-root>src-test</package-root>
1.38 <classpath mode="compile">src-new-api:../libs/dist/junit-4.4.jar</classpath>
1.39 <source-level>1.5</source-level>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/samples/componentinjection/anagram-modular/src-word-static/META-INF/services/org.apidesign.anagram.api.WordLibrary Sat Jun 14 10:06:48 2008 +0200
2.3 @@ -0,0 +1,1 @@
2.4 +org.apidesign.anagram.wordstatic.StaticWordLibrary
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/samples/componentinjection/anagram-modular/src-word-static/org/apidesign/anagram/wordstatic/StaticWordLibrary.java Sat Jun 14 10:06:48 2008 +0200
3.3 @@ -0,0 +1,58 @@
3.4 +
3.5 +package org.apidesign.anagram.wordstatic;
3.6 +
3.7 +import org.apidesign.anagram.api.WordLibrary;
3.8 +
3.9 +
3.10 +public final class StaticWordLibrary implements WordLibrary {
3.11 + private static String wordList[] = {
3.12 + "abstraction",
3.13 + "ambiguous",
3.14 + "arithmetic",
3.15 + "backslash",
3.16 + "bitmap",
3.17 + "circumstance",
3.18 + "combination",
3.19 + "consequently",
3.20 + "consortium",
3.21 + "decrementing",
3.22 + "dependency",
3.23 + "disambiguate",
3.24 + "dynamic",
3.25 + "encapsulation",
3.26 + "equivalent",
3.27 + "expression",
3.28 + "facilitate",
3.29 + "fragment",
3.30 + "hexadecimal",
3.31 + "implementation",
3.32 + "indistinguishable",
3.33 + "inheritance",
3.34 + "internet",
3.35 + "java",
3.36 + "localization",
3.37 + "microprocessor",
3.38 + "navigation",
3.39 + "optimization",
3.40 + "parameter",
3.41 + "patrick",
3.42 + "pickle",
3.43 + "polymorphic",
3.44 + "rigorously",
3.45 + "simultaneously",
3.46 + "specification",
3.47 + "structure",
3.48 + "lexical",
3.49 + "likewise",
3.50 + "management",
3.51 + "manipulate",
3.52 + "mathematics",
3.53 + "hotjava",
3.54 + "vertex",
3.55 + "unsigned",
3.56 + "traditional"};
3.57 +
3.58 + public String[] getWords() {
3.59 + return wordList;
3.60 + }
3.61 +}