From: tama3 Date: Tue, 28 Aug 2007 06:38:45 +0000 (+0000) Subject: update document X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6fd89bf9f8506ce8638b5292462b5ddb52d25842;p=stigmata%2Fstigmata.git update document git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/stigmata/trunk@175 acee48c3-7b26-0410-bdac-b3d0e5314bbc --- diff --git a/pom.xml b/pom.xml index e565574..5784620 100755 --- a/pom.xml +++ b/pom.xml @@ -199,10 +199,6 @@ The bug is that resource file is copied to target/classes directory, too. org.apache.maven.plugins - maven-pmd-plugin - - - org.apache.maven.plugins maven-javadoc-plugin en diff --git a/src/site/apt/download.apt b/src/site/apt/download.apt index 66732d3..a971e6c 100755 --- a/src/site/apt/download.apt +++ b/src/site/apt/download.apt @@ -34,9 +34,9 @@ permissions and limitations under the License. *{{{http://commons.cafebabe.jp/xmlcli/}Jakarta Commons CLI}} 1.0 - *{{{http://commons.cafebabe.jp/xmlcli/}XmlCli}} 1.2 + *{{{http://talisman.sourceforge.jp/xmlcli/}XmlCli}} 1.2.1 - *{{{http://math.nist.gov/javanumerics/jama/}Jama}} 1.0.2 (stigmata-1.0.0 or later) + *{{{http://math.nist.gov/javanumerics/jama/}Jama}} 1.0.2 (stigmata-1.0.0 or later; this library is destributed from stigmata maven2 remote repository) *{{{http://browserlaunch2.sourceforge.net/}BrowserLauncher2}} 1.2 (stigmata-1.1.0 or later; as needed) @@ -46,7 +46,7 @@ permissions and limitations under the License. **How to install requirements into your Maven local repository - If you want to compile stigmata from source codes, you must install + If you want to compile stigmata from source codes, you may install manually Jama and BrowserLauncher2 into your maven2 local repository. Because maven2 default remote repository do not has them. Other libraries can be automatically downloaded by Maven2. @@ -105,7 +105,7 @@ Next, add dependency tag entry to dependencies tag in `pom.xml.' jp.naist.se stigmata - 1.0-beta + 1.0.0 : diff --git a/src/site/apt/relaxng.apt b/src/site/apt/relaxng.apt new file mode 100755 index 0000000..2bc69d7 --- /dev/null +++ b/src/site/apt/relaxng.apt @@ -0,0 +1,402 @@ + ---- + Relax NG + ---- + Haruaki Tamada + ---- + 2006-12-12 + ---- + +Overview + + Stigmata supports two types of xml file. One is + {{{#Stigmata setting xml}configuration settings}} of Stigmata. Another is + {{{#Birthmarking result xml}result of birthmarking}}. + +{Stigmata setting xml} + + This schema is defined for configuration settings of Stigmata. A xml +file formatted in this schema can be specified <<<--config-file>>> option +of Stigmata. + + You can see DTDs of those schema at {{{dtd.html}DTD}} + +*Schema + +---- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + any + all + + + + + + + + + + + + + + + + + + + + + + LESS_THAN + LESS_EQUALS + GREATER_THAN + GREATER_EQUALS + EQUALS_AS + NOT_EQUALS_AS + STARTS_WITH + NOT_STARTS_WITH + ENDS_WITH + NOT_ENDS_WITH + MATCH + NOT_MATCH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +---- + +{Birthmarking result xml} + + This schema is defined for a result of Stigmata. The result of +Stigmata is birthmark service list, list of extracted birthmarks, and +similarities between all combinations of class files. Those +information is shown as xml file formatted in this DTD. + +*Schema + +---- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +---- \ No newline at end of file diff --git a/src/site/site.xml b/src/site/site.xml index c03c3c2..d72db8d 100755 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -40,6 +40,7 @@ + diff --git a/src/test/java/jp/naist/se/stigmata/birthmarks/BirthmarkCompareTest.java b/src/test/java/jp/naist/se/stigmata/birthmarks/BirthmarkCompareTest.java index cf0b4ba..bbf5ed7 100755 --- a/src/test/java/jp/naist/se/stigmata/birthmarks/BirthmarkCompareTest.java +++ b/src/test/java/jp/naist/se/stigmata/birthmarks/BirthmarkCompareTest.java @@ -1,5 +1,9 @@ package jp.naist.se.stigmata.birthmarks; +/* + * $Id$ + */ + import jp.naist.se.stigmata.BirthmarkSet; import jp.naist.se.stigmata.Stigmata; @@ -7,6 +11,11 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; +/** + * + * @author Haruaki Tamada + * @version $Revision$ $Date$ + */ public class BirthmarkCompareTest{ private Stigmata stigmata; private BirthmarkSet[] birthmarks; diff --git a/src/test/java/jp/naist/se/stigmata/birthmarks/cvfv/CVFVBirthmarkExtractorTest.java b/src/test/java/jp/naist/se/stigmata/birthmarks/cvfv/CVFVBirthmarkExtractorTest.java index 1df90c7..274ba28 100755 --- a/src/test/java/jp/naist/se/stigmata/birthmarks/cvfv/CVFVBirthmarkExtractorTest.java +++ b/src/test/java/jp/naist/se/stigmata/birthmarks/cvfv/CVFVBirthmarkExtractorTest.java @@ -16,7 +16,7 @@ import jp.naist.se.stigmata.Stigmata; /** * * @author Haruaki TAMADA - * @version$Revision$ $Date$ + * @version $Revision$ $Date$ */ public class CVFVBirthmarkExtractorTest{ private Stigmata stigmata; @@ -38,7 +38,7 @@ public class CVFVBirthmarkExtractorTest{ Birthmark birthmark = array[0].getBirthmark("cvfv"); Assert.assertEquals("cvfv", birthmark.getType()); - Assert.assertEquals(7, birthmark.getElementCount()); + Assert.assertEquals(6, birthmark.getElementCount()); BirthmarkElement[] elements = birthmark.getElements(); Assert.assertEquals("jp.naist.se.stigmata.birthmarks.cvfv.TypeAndValueBirthmarkElement", @@ -53,8 +53,6 @@ public class CVFVBirthmarkExtractorTest{ elements[4].getClass().getName()); Assert.assertEquals("jp.naist.se.stigmata.birthmarks.cvfv.TypeAndValueBirthmarkElement", elements[5].getClass().getName()); - Assert.assertEquals("jp.naist.se.stigmata.birthmarks.cvfv.TypeAndValueBirthmarkElement", - elements[6].getClass().getName()); Assert.assertEquals("Ljp/naist/se/stigmata/Stigmata;", ((TypeAndValueBirthmarkElement)elements[0]).getSignature()); diff --git a/src/test/java/jp/naist/se/stigmata/birthmarks/is/ISBirthmarkExtractorTest.java b/src/test/java/jp/naist/se/stigmata/birthmarks/is/ISBirthmarkExtractorTest.java index 2405141..8ec496c 100755 --- a/src/test/java/jp/naist/se/stigmata/birthmarks/is/ISBirthmarkExtractorTest.java +++ b/src/test/java/jp/naist/se/stigmata/birthmarks/is/ISBirthmarkExtractorTest.java @@ -16,7 +16,7 @@ import jp.naist.se.stigmata.Stigmata; /** * * @author Haruaki TAMADA - * @version$Revision$ $Date$ + * @version $Revision$ $Date$ */ public class ISBirthmarkExtractorTest{ private Stigmata stigmata; diff --git a/src/test/java/jp/naist/se/stigmata/birthmarks/smc/SmcBirthmarkExtractorTest.java b/src/test/java/jp/naist/se/stigmata/birthmarks/smc/SmcBirthmarkExtractorTest.java index 1a67bd2..a3b0919 100755 --- a/src/test/java/jp/naist/se/stigmata/birthmarks/smc/SmcBirthmarkExtractorTest.java +++ b/src/test/java/jp/naist/se/stigmata/birthmarks/smc/SmcBirthmarkExtractorTest.java @@ -16,7 +16,7 @@ import jp.naist.se.stigmata.Stigmata; /** * * @author Haruaki TAMADA - * @version$Revision$ $Date$ + * @version $Revision$ $Date$ */ public class SmcBirthmarkExtractorTest{ private Stigmata stigmata; diff --git a/src/test/java/jp/naist/se/stigmata/birthmarks/uc/UCBirthmarkExtractorTest.java b/src/test/java/jp/naist/se/stigmata/birthmarks/uc/UCBirthmarkExtractorTest.java index 2a874e6..60c1969 100755 --- a/src/test/java/jp/naist/se/stigmata/birthmarks/uc/UCBirthmarkExtractorTest.java +++ b/src/test/java/jp/naist/se/stigmata/birthmarks/uc/UCBirthmarkExtractorTest.java @@ -16,7 +16,7 @@ import jp.naist.se.stigmata.Stigmata; /** * * @author Haruaki TAMADA - * @version$Revision$ $Date$ + * @version $Revision$ $Date$ */ public class UCBirthmarkExtractorTest{ private Stigmata stigmata;