You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(94) |
Sep
(205) |
Oct
(139) |
Nov
(144) |
Dec
(252) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(44) |
Feb
(3) |
Mar
|
Apr
(32) |
May
(40) |
Jun
(24) |
Jul
(4) |
Aug
(20) |
Sep
(10) |
Oct
(61) |
Nov
(86) |
Dec
(79) |
2005 |
Jan
(82) |
Feb
(124) |
Mar
(9) |
Apr
(123) |
May
(125) |
Jun
(115) |
Jul
(35) |
Aug
(111) |
Sep
(62) |
Oct
(82) |
Nov
(77) |
Dec
(167) |
2006 |
Jan
(31) |
Feb
(29) |
Mar
(8) |
Apr
(16) |
May
(11) |
Jun
(104) |
Jul
(4) |
Aug
(115) |
Sep
(37) |
Oct
(2) |
Nov
(4) |
Dec
(6) |
2007 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(3) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
2008 |
Jan
|
Feb
(3) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(1) |
Oct
(1) |
Nov
(4) |
Dec
(1) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Konstantin P. <ko...@us...> - 2006-08-14 09:16:35
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18283 Modified Files: pom.xml Log Message: added jdo to m2 build. junit still needs some work Index: pom.xml =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/pom.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pom.xml 13 Aug 2006 10:24:51 -0000 1.6 --- pom.xml 14 Aug 2006 09:16:33 -0000 1.7 *************** *** 167,170 **** --- 167,172 ---- <module>plugin-hibernate</module> <module>plugin-interfaceextractor</module> + <module>plugin-jdo</module> + <module>plugin-jmx</module> </modules> <dependencies> |
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/testapp/org/xdoclet/testapp/interfaceextractor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11977/plugin-interfaceextractor/src/test/testapp/org/xdoclet/testapp/interfaceextractor Removed Files: Dummy.java OtherDummy.java ThirdDummy.java Log Message: fixing interfaceextractor build --- Dummy.java DELETED --- --- OtherDummy.java DELETED --- --- ThirdDummy.java DELETED --- |
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/java/org/xdoclet/testapp/interfaceextractor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11977/plugin-interfaceextractor/src/test/java/org/xdoclet/testapp/interfaceextractor Added Files: Dummy.java OtherDummy.java ThirdDummy.java Log Message: fixing interfaceextractor build --- NEW FILE: Dummy.java --- package org.xdoclet.testapp.interfaceextractor; /** * @author greg * @author $Author: moinsmoins $ (last edit) * @version $Revision: 1.1 $ */ public class Dummy { /** * this is dummy * @blah foo=bar */ public String dummyMethod() { System.out.println("stuff"); return "blah"; } public String thisOnewillHaveDifferentReturnTypesInOtherClasses() { return "foo"; } public Integer thisOnewillHaveDifferentParametersInOtherClasses() { return new Integer(27); } public int someLikeItHot(String yo) { return yo.hashCode(); } public void toRemove() { System.out.println("should not be there"); } public void otherDummy() { System.out.println("other"); } public int onlyInThisClass() { return 1; } } --- NEW FILE: OtherDummy.java --- package org.xdoclet.testapp.interfaceextractor; /** * @author greg * @author $Author: moinsmoins $ (last edit) * @version $Revision: 1.1 $ */ public class OtherDummy { /** * this is dummy, too. */ public String dummyMethod() { System.out.println("stuff 2"); return "blah 2"; } public Integer thisOnewillHaveDifferentParametersInOtherClasses(int x) { return new Integer(x); } public int someLikeItHot(String yo) { return yo.hashCode() * 3; } public void otherDummy() { System.out.println("2-other"); } public void toRemove() { System.out.println("should not be there"); } public StringBuffer blah() { return new StringBuffer("blablabla"); } public Integer thisOnewillHaveDifferentReturnTypesInOtherClasses() { return new Integer(3); } } --- NEW FILE: ThirdDummy.java --- package org.xdoclet.testapp.interfaceextractor; import java.util.Date; import java.util.Random; /** * @author greg * @author $Author: moinsmoins $ (last edit) * @version $Revision: 1.1 $ */ public class ThirdDummy { public void otherDummy() { System.out.println("3) other"); } public String dummyMethod() { System.out.println("stuff 3"); return "blah 3"; } public boolean random() { return new Random().nextBoolean(); } public void toRemove() { System.out.println("should not be there"); } public Date thisOnewillHaveDifferentReturnTypesInOtherClasses() { return new Date(); } public int someLikeItHot(String yo) { return yo.hashCode() - 384; } public Integer thisOnewillHaveDifferentParametersInOtherClasses(int x, int y, String s) { return new Integer(x + y + s.hashCode()); } } |
From: greg <moi...@us...> - 2006-08-13 11:39:14
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11977/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor Modified Files: InterfaceExtractorPluginTestCase.java Log Message: fixing interfaceextractor build Index: InterfaceExtractorPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor/InterfaceExtractorPluginTestCase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InterfaceExtractorPluginTestCase.java 13 Aug 2006 10:24:52 -0000 1.2 --- InterfaceExtractorPluginTestCase.java 13 Aug 2006 11:39:09 -0000 1.3 *************** *** 31,42 **** protected MetadataProvider createMetadataProvider() throws IOException { ! URL reader = getClass().getResource("/testapp/org/xdoclet/testapp/interfaceextractor"); return new QDoxMetadataProvider(new File(reader.getPath())); } protected URL getExpected() throws FileNotFoundException, MalformedURLException { ! ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/interfaceextractor/expected/Expected.java"); } - } --- 31,40 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! final URL reader = getResourceRelativeToThisPackage("../../testapp/interfaceextractor"); return new QDoxMetadataProvider(new File(reader.getPath())); } protected URL getExpected() throws FileNotFoundException, MalformedURLException { ! return getResourceRelativeToThisPackage("../../testapp/interfaceextractor/expected/Expected.java"); } } |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:58
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript Modified Files: ActionScript3Plugin2TestCase.java ActionScript3PluginTestCase.java ActionScriptPlugin2TestCase.java ActionScriptPluginTestCase.java DependencyFragmentPluginTestCase.java Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) Index: DependencyFragmentPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript/DependencyFragmentPluginTestCase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DependencyFragmentPluginTestCase.java 1 Dec 2005 00:06:40 -0000 1.2 --- DependencyFragmentPluginTestCase.java 13 Aug 2006 10:24:52 -0000 1.3 *************** *** 24,27 **** --- 24,28 ---- /** * @author Joe Berkovitz + * @author Konstantin Pribluda */ public class DependencyFragmentPluginTestCase extends AbstractTextGeneratingPluginTestCase { *************** *** 34,47 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! assertNotNull(basedir); ! File sourceDir = new File(basedir + "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo"); ! return new QDoxMetadataProvider(sourceDir); } protected URL getExpected() throws MalformedURLException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! return new File(basedir + ! "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/StaticDependencies.as").toURL(); } } \ No newline at end of file --- 35,44 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! URL reader = getClass().getResource("/org/xdoclet/testapp/pojo"); ! return new QDoxMetadataProvider(new File(reader.getPath())); } protected URL getExpected() throws MalformedURLException { ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/StaticDependencies.as"); } } \ No newline at end of file Index: ActionScriptPlugin2TestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript/ActionScriptPlugin2TestCase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ActionScriptPlugin2TestCase.java 1 Dec 2005 00:06:40 -0000 1.2 --- ActionScriptPlugin2TestCase.java 13 Aug 2006 10:24:52 -0000 1.3 *************** *** 34,47 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! assertNotNull(basedir); ! File sourceFile = new File(basedir + ! "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/YourBean.java"); ! return new QDoxMetadataProvider(sourceFile); } protected URL getExpected() throws MalformedURLException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! return new File(basedir + "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/YourBean.as").toURL(); } } \ No newline at end of file --- 34,43 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! return new QDoxMetadataProvider(Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/YourBean.java")); } protected URL getExpected() throws MalformedURLException { ! ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/YourBean.as"); } } \ No newline at end of file Index: ActionScriptPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript/ActionScriptPluginTestCase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ActionScriptPluginTestCase.java 1 Dec 2005 00:06:40 -0000 1.2 --- ActionScriptPluginTestCase.java 13 Aug 2006 10:24:52 -0000 1.3 *************** *** 6,12 **** package org.xdoclet.plugin.actionscript; - import java.io.File; import java.io.IOException; - import java.net.MalformedURLException; import java.net.URL; --- 6,10 ---- *************** *** 17,27 **** import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; - import org.generama.tests.AbstractTextGeneratingPluginTestCase; - import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz */ public class ActionScriptPluginTestCase extends AbstractTextGeneratingPluginTestCase { --- 15,24 ---- import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; import org.generama.tests.AbstractTextGeneratingPluginTestCase; import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz + * @author Konstantin Pribluda */ public class ActionScriptPluginTestCase extends AbstractTextGeneratingPluginTestCase { *************** *** 34,47 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! assertNotNull(basedir); ! File sourceFile = new File(basedir + ! "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/MyBean.java"); ! return new QDoxMetadataProvider(sourceFile); } protected URL getExpected() throws MalformedURLException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! return new File(basedir + "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/MyBean.as").toURL(); } } \ No newline at end of file --- 31,40 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! return new QDoxMetadataProvider( Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/MyBean.java")); } protected URL getExpected() throws MalformedURLException { ! ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/MyBean.as") ; } } \ No newline at end of file Index: ActionScript3Plugin2TestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript/ActionScript3Plugin2TestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ActionScript3Plugin2TestCase.java 19 Dec 2005 14:05:26 -0000 1.1 --- ActionScript3Plugin2TestCase.java 13 Aug 2006 10:24:51 -0000 1.2 *************** *** 6,12 **** package org.xdoclet.plugin.actionscript; - import java.io.File; import java.io.IOException; - import java.net.MalformedURLException; import java.net.URL; --- 6,10 ---- *************** *** 17,27 **** import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; - import org.generama.tests.AbstractTextGeneratingPluginTestCase; - import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz */ public class ActionScript3Plugin2TestCase extends AbstractTextGeneratingPluginTestCase { --- 15,24 ---- import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; import org.generama.tests.AbstractTextGeneratingPluginTestCase; import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz + * @author Konstantin Pribluda */ public class ActionScript3Plugin2TestCase extends AbstractTextGeneratingPluginTestCase { *************** *** 34,47 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! assertNotNull(basedir); ! File sourceFile = new File(basedir + ! "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/YourBean.java"); ! return new QDoxMetadataProvider(sourceFile); } protected URL getExpected() throws MalformedURLException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! return new File(basedir + "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/YourBean.as3").toURL(); } } --- 31,39 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! return new QDoxMetadataProvider(Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/YourBean.java")); } protected URL getExpected() throws MalformedURLException { ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/YourBean.as3"); } } Index: ActionScript3PluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/plugin/actionscript/ActionScript3PluginTestCase.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ActionScript3PluginTestCase.java 1 Dec 2005 00:06:40 -0000 1.2 --- ActionScript3PluginTestCase.java 13 Aug 2006 10:24:51 -0000 1.3 *************** *** 6,12 **** package org.xdoclet.plugin.actionscript; - import java.io.File; import java.io.IOException; - import java.net.MalformedURLException; import java.net.URL; --- 6,10 ---- *************** *** 17,27 **** import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; - import org.generama.tests.AbstractTextGeneratingPluginTestCase; - import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz */ public class ActionScript3PluginTestCase extends AbstractTextGeneratingPluginTestCase { --- 15,24 ---- import org.generama.VelocityTemplateEngine; import org.generama.WriterMapper; import org.generama.tests.AbstractTextGeneratingPluginTestCase; import org.xdoclet.QDoxMetadataProvider; /** * @author Joe Berkovitz + * @author Konstantin Pribluda */ public class ActionScript3PluginTestCase extends AbstractTextGeneratingPluginTestCase { *************** *** 34,47 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! assertNotNull(basedir); ! File sourceFile = new File(basedir + ! "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/MyBean.java"); ! return new QDoxMetadataProvider(sourceFile); } protected URL getExpected() throws MalformedURLException { ! String basedir = System.getProperty("xdoclet.actionscript.home"); ! return new File(basedir + "/../plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/MyBean.as3").toURL(); } } \ No newline at end of file --- 31,41 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! ! ! return new QDoxMetadataProvider(Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/MyBean.java")); } protected URL getExpected() throws MalformedURLException { ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/pojo/MyBean.as3"); } } \ No newline at end of file |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:58
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor Modified Files: InterfaceExtractorPluginTestCase.java Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) Index: InterfaceExtractorPluginTestCase.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor/src/test/java/org/xdoclet/plugin/interfaceextractor/InterfaceExtractorPluginTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InterfaceExtractorPluginTestCase.java 1 Dec 2005 01:03:21 -0000 1.1 --- InterfaceExtractorPluginTestCase.java 13 Aug 2006 10:24:52 -0000 1.2 *************** *** 31,51 **** protected MetadataProvider createMetadataProvider() throws IOException { ! String basedir = System.getProperty("xdoclet.interfaceextractor.home"); ! if (basedir == null) { ! basedir = "/Users/greg/dev/projects/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor"; ! } ! assertNotNull(basedir); ! ! return new QDoxMetadataProvider(new File(basedir + "/src/test/testapp")); } protected URL getExpected() throws FileNotFoundException, MalformedURLException { - String basedir = System.getProperty("xdoclet.interfaceextractor.home"); - if (basedir == null) { - basedir = "/Users/greg/dev/projects/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor"; - } - assertNotNull(basedir); ! return new File(basedir + "/src/test/java/org/xdoclet/testapp/interfaceextractor/expected/Expected.java").toURL(); } --- 31,41 ---- protected MetadataProvider createMetadataProvider() throws IOException { ! URL reader = getClass().getResource("/testapp/org/xdoclet/testapp/interfaceextractor"); ! return new QDoxMetadataProvider(new File(reader.getPath())); } protected URL getExpected() throws FileNotFoundException, MalformedURLException { ! return Thread.currentThread().getContextClassLoader().getResource("org/xdoclet/testapp/interfaceextractor/expected/Expected.java"); } |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:58
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-ejb/src/test/java Modified Files: log4j.properties Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) Index: log4j.properties =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/log4j.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** log4j.properties 13 Dec 2005 03:44:16 -0000 1.1 --- log4j.properties 13 Aug 2006 10:24:52 -0000 1.2 *************** *** 1,8 **** # log4j properties for testing puproses ! # Set root logger level to DEBUG and its only appender to A1. #log4j.rootLogger=INFO, A1 log4j.rootLogger=ALL, A1 ! # A1 is set to be a ConsoleAppender. log4j.appender.A1=org.apache.log4j.ConsoleAppender ! # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n ! log4j.category.org.apache.commons=OFF #log4j.category.org.xdoclet.plugin.ejb=DEBUG ! #log4j.category.org.xdoclet.plugin.qtags=DEBUG --- 1,13 ---- # log4j properties for testing puproses ! # Set root logger level to DEBUG and its only appender to A1. ! #log4j.rootLogger=INFO, A1 log4j.rootLogger=ALL, A1 ! # A1 is set to be a ConsoleAppender. ! log4j.appender.A1=org.apache.log4j.ConsoleAppender ! # A1 uses PatternLayout. ! log4j.appender.A1.layout=org.apache.log4j.PatternLayout ! log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n ! log4j.category.org.apache.commons=OFF ! log4j.category.org.xdoclet.plugin.ejb=ERROR ! log4j.category.org.xdoclet.plugin.qtags=ERROR |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:56
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-interfaceextractor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-interfaceextractor Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-interfaceextractor</artifactId> <name>xdoclet-plugin-interfaceextractor</name> <build> <!-- <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> --> <testResources> <testResource> <directory>${basedir}/src/test/testapp</directory> <includes> <include>**/*.java</include> </includes> </testResource> <testResource> <directory>${basedir}/src/test/java</directory> <includes> <include>**/*.java</include> </includes> </testResource> </testResources> </build> <properties> <xdoclet.plugin.namespace>interfaceextractor</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:56
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-externalizer In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-externalizer Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-externalizer</artifactId> <name>xdoclet-plugin-externalizer</name> <build> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> </build> <properties> <xdoclet.plugin.namespace>externalizer</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:55
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-castor In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-castor Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-castor</artifactId> <name>xdoclet-plugin-castor</name> <build> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> </build> <properties> <xdoclet.plugin.namespace>castor</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:55
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo Modified Files: YourBean.java Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) Index: YourBean.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript/src/test/java/org/xdoclet/testapp/pojo/YourBean.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** YourBean.java 14 Apr 2006 13:16:29 -0000 1.4 --- YourBean.java 13 Aug 2006 10:24:52 -0000 1.5 *************** *** 29,33 **** public void setBaseName(String name) { ! this.baseName = baseName; } } --- 29,33 ---- public void setBaseName(String name) { ! this.baseName = name; } } |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:55
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-ejb Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-ejb</artifactId> <name>xdoclet-plugin-ejb</name> <build> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>geronimo-spec</groupId> <artifactId>geronimo-spec-ejb</artifactId> <version>2.1-rc4</version> </dependency> <dependency> <groupId>geronimo-spec</groupId> <artifactId>geronimo-spec-jms</artifactId> <version>1.1-rc4</version> </dependency> </dependencies> <properties> <xdoclet.plugin.namespace>ejb</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:55
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237 Modified Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) Index: pom.xml =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/pom.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pom.xml 11 Aug 2006 18:42:19 -0000 1.5 --- pom.xml 13 Aug 2006 10:24:51 -0000 1.6 *************** *** 160,164 **** --- 160,170 ---- <module>taglib-qtags</module> <module>taglib</module> + <module>plugin-actionscript</module> + <module>plugin-beaninfo</module> + <module>plugin-castor</module> + <module>plugin-ejb</module> + <module>plugin-externalizer</module> <module>plugin-hibernate</module> + <module>plugin-interfaceextractor</module> </modules> <dependencies> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:54
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-actionscript In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-actionscript Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-actionscript</artifactId> <name>xdoclet-plugin-actionscript</name> <build> <testResources> <testResource> <directory>${basedir}/src/test/java</directory> <includes> <include>**/*.as</include> <include>**/*.as3</include> <include>**/*.java</include> </includes> </testResource> </testResources> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> </build> <properties> <xdoclet.plugin.namespace>actionscript</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-13 10:24:54
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-beaninfo In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24237/plugin-beaninfo Added Files: pom.xml Log Message: added m2 builds up to interfaceextractor ( alphabetically ) - greg please check it works ;) --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-taglib-plugin</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> <relativePath>../taglib</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-plugin-beaninfo</artifactId> <name>xdoclet-plugin-beaninfo</name> <build> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> </plugin> </plugins> </build> <properties> <xdoclet.plugin.namespace>beaninfo</xdoclet.plugin.namespace> </properties> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-11 18:42:26
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags/src/test/java/org/xdoclet/plugin/qtags/qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30985/plugin-qtags/src/test/java/org/xdoclet/plugin/qtags/qtags Removed Files: QtagsTestCase.java Log Message: m2 build works partially --- QtagsTestCase.java DELETED --- |
From: Konstantin P. <ko...@us...> - 2006-08-11 18:42:26
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30985/plugin-hibernate/src/test/java Modified Files: log4j.properties Log Message: m2 build works partially Index: log4j.properties =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/log4j.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** log4j.properties 26 Apr 2005 07:00:12 -0000 1.4 --- log4j.properties 11 Aug 2006 18:42:20 -0000 1.5 *************** *** 11,14 **** ! log4j.category.org.xdoclet.plugin.hibernate=DEBUG ! log4j.category.org.xdoclet.plugin.qtags=DEBUG --- 11,14 ---- ! log4j.category.org.xdoclet.plugin.hibernate=ERROR ! log4j.category.org.xdoclet.plugin.qtags=ERROR |
From: Konstantin P. <ko...@us...> - 2006-08-11 18:42:26
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags/src/main/java/org/xdoclet/plugin/qtags/qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30985/plugin-qtags/src/main/java/org/xdoclet/plugin/qtags/qtags Removed Files: QtagsAliasTag.java QtagsAllowedValueTag.java QtagsDefaultTag.java QtagsDeprecatedTag.java QtagsIgnoreTag.java QtagsListToken.java QtagsLocationTag.java QtagsOnceTag.java QtagsRequiredTag.java QtagsVerbatimTag.java Log Message: m2 build works partially --- QtagsIgnoreTag.java DELETED --- --- QtagsAllowedValueTag.java DELETED --- --- QtagsAliasTag.java DELETED --- --- QtagsLocationTag.java DELETED --- --- QtagsListToken.java DELETED --- --- QtagsDefaultTag.java DELETED --- --- QtagsDeprecatedTag.java DELETED --- --- QtagsRequiredTag.java DELETED --- --- QtagsVerbatimTag.java DELETED --- --- QtagsOnceTag.java DELETED --- |
From: Konstantin P. <ko...@us...> - 2006-08-11 18:42:22
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30985 Modified Files: pom.xml Log Message: m2 build works partially Index: pom.xml =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/pom.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pom.xml 11 Aug 2006 17:15:10 -0000 1.4 --- pom.xml 11 Aug 2006 18:42:19 -0000 1.5 *************** *** 78,82 **** <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory> <extensions> - <!-- <extension> <groupId>org.apache.maven.wagon</groupId> --- 78,81 ---- *************** *** 84,88 **** <version>1.0-beta-1-SNAPSHOT</version> </extension> ! --></extensions> <resources> <resource> --- 83,87 ---- <version>1.0-beta-1-SNAPSHOT</version> </extension> ! </extensions> <resources> <resource> |
From: Konstantin P. <ko...@us...> - 2006-08-11 18:42:22
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30985/plugin-qtags Modified Files: pom.xml Log Message: m2 build works partially Index: pom.xml =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-qtags/pom.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pom.xml 11 Aug 2006 17:15:10 -0000 1.3 --- pom.xml 11 Aug 2006 18:42:20 -0000 1.4 *************** *** 9,60 **** <artifactId>xdoclet-plugin-qtags</artifactId> <name>xdoclet-plugin-qtags</name> - <profiles> - <profile> - <!-- use to bootstrap build of qtags ( no validation ) --> - <id>bootstrap</id> - </profile> - <profile> - <!-- default profile uses boot strapped version of itself --> - <id>blabla</id> - <build> - <plugins> - <plugin> - <groupId>xdoclet</groupId> - <artifactId>maven2-xdoclet2-plugin</artifactId> - <configuration> - <configs> - <config> - <plugin>org.xdoclet.plugin.qtags.impl.QTagImplPlugin</plugin> - <includes>**/Qtags*.java</includes> - </config> - <config> - <plugin>org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin</plugin> - <includes>**/Qtags*.java</includes> - <params> - <packagereplace>org.xdoclet.plugin.qtags.qtags</packagereplace> - </params> - </config> - </configs> - </configuration> - <dependencies> - <dependency> - <groupId>xdoclet-plugins</groupId> - <artifactId>xdoclet-plugin-qtags</artifactId> - <version>${pom.version}</version> - </dependency> - </dependencies> - <executions> - <execution> - <id>xdoclet</id> - <phase>generate-sources</phase> - <goals> - <goal>xdoclet</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> </project> \ No newline at end of file --- 9,11 ---- |
From: Konstantin P. <ko...@us...> - 2006-08-11 17:16:00
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/qtags/parameter In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28258/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/qtags/parameter Modified Files: Lazy.java Log Message: started work on split qtags in plugin and taglib for m2 build Index: Lazy.java =================================================================== RCS file: /cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/qtags/parameter/Lazy.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Lazy.java 25 Apr 2006 17:23:44 -0000 1.8 --- Lazy.java 11 Aug 2006 17:15:10 -0000 1.9 *************** *** 17,20 **** --- 17,21 ---- * @qtags.allowed-value proxy * @qtags.allowed-value no-proxy + * @qtags.allowed-value extra */ String getLazy(); |
From: Konstantin P. <ko...@us...> - 2006-08-11 17:15:59
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/taglib-qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28258/taglib-qtags Added Files: pom.xml Log Message: started work on split qtags in plugin and taglib for m2 build --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-plugins</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>xdoclet-taglib-qtags</artifactId> <name>xdoclet-taglib-qtags</name> <build> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> <configuration> <configs> <config> <plugin>org.xdoclet.plugin.qtags.impl.QTagImplPlugin</plugin> <includes>**/Qtags*.java</includes> </config> <config> <plugin>org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin</plugin> <includes>**/Qtags*.java</includes> <params> <packagereplace>org.xdoclet.plugin.qtags.qtags</packagereplace> </params> </config> </configs> </configuration> <dependencies> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-plugin-qtags</artifactId> <version>${pom.version}</version> </dependency> </dependencies> <executions> <execution> <id>xdoclet</id> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-11 17:15:18
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/taglib In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28258/taglib Added Files: pom.xml Log Message: started work on split qtags in plugin and taglib for m2 build --- NEW FILE: pom.xml --- <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <artifactId>xdoclet-plugins</artifactId> <groupId>xdoclet-plugins</groupId> <version>1.0.4-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-taglib-plugin</artifactId> <packaging>pom</packaging> <name>Base POM for xdoclet plugins using own tag library</name> <build> <pluginManagement> <plugins> <plugin> <groupId>xdoclet</groupId> <artifactId>maven2-xdoclet2-plugin</artifactId> <executions> <execution> <id>xdoclet</id> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-plugin-qtags</artifactId> <version>${pom.version}</version> </dependency> <dependency> <groupId>xdoclet-plugins</groupId> <artifactId>xdoclet-taglib-qtags</artifactId> <version>${pom.version}</version> </dependency> </dependencies> <goals> <goal>xdoclet</goal> </goals> <configuration> <configs> <config> <plugin>org.xdoclet.plugin.qtags.impl.QTagImplPlugin</plugin> <includes>**/*.java</includes> </config> <config> <plugin>org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin</plugin> <includes>**/*.java</includes> <params> <packagereplace>org.xdoclet.plugin.${xdoclet.plugin.namespace}.qtags</packagereplace> </params> </config> </configs> </configuration> </plugin> </plugins> </pluginManagement> </build> </project> |
From: Konstantin P. <ko...@us...> - 2006-08-11 17:15:17
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/taglib-qtags/src/test/java/org/xdoclet/plugin/qtags/qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28258/taglib-qtags/src/test/java/org/xdoclet/plugin/qtags/qtags Added Files: QtagsTestCase.java Log Message: started work on split qtags in plugin and taglib for m2 build --- NEW FILE: QtagsTestCase.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import junit.framework.TestCase; import java.util.Arrays; import java.util.List; import org.xdoclet.XDocletTag; import com.thoughtworks.qdox.model.AbstractJavaEntity; import com.thoughtworks.qdox.model.JavaClass; import com.thoughtworks.qdox.model.JavaField; import com.thoughtworks.qdox.model.JavaMethod; import com.thoughtworks.qdox.model.JavaSource; /** * test suite for qtags capabilities in metacircular way. * * @author Konstantin Pribluda */ public class QtagsTestCase extends TestCase { private JavaClass clazz; private JavaField field; private JavaMethod constructor; private JavaMethod method; /** * qtags.allowed-value can be used on class or method level */ public void testQtagsAllowedValueTag() throws Exception { allowedValueTag(method); allowedValueTag(clazz); try { allowedValueTag(field); fail(); } catch (RuntimeException expected) { } try { allowedValueTag(constructor); fail(); } catch (RuntimeException ex) { } } public void testQtagsDefaultTagShouldOnlyBeAllowedOnMethodOnce() throws Exception { XDocletTag tagOne = defaultTag(method); XDocletTag tagTwo = defaultTag(method); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { method.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { defaultTag(clazz); fail(); } catch (RuntimeException expected) { } try { defaultTag(field); fail(); } catch (RuntimeException expected) { } try { defaultTag(constructor); fail(); } catch (RuntimeException expected) { } } public void testQtagsDeprecatedTagShouldOnlyBeAllowedOnClassOnce() throws Exception { XDocletTag tagOne = deprecatedTag(clazz); XDocletTag tagTwo = deprecatedTag(clazz); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { clazz.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { deprecatedTag(method); fail(); } catch (RuntimeException expected) { } try { deprecatedTag(field); fail(); } catch (RuntimeException expected) { } try { deprecatedTag(constructor); fail(); } catch (RuntimeException expected) { } } public void testQtagsIgnoreTagShouldOnlyBeAllowedOnClassOnce() throws Exception { XDocletTag tagOne = ignoreTag(clazz); XDocletTag tagTwo = ignoreTag(clazz); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { clazz.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { ignoreTag(method); fail(); } catch (RuntimeException expected) { } try { ignoreTag(field); fail(); } catch (RuntimeException expected) { } try { ignoreTag(constructor); fail(); } catch (RuntimeException expected) { } } public void testQtagsLocationTagShouldOnlyBeAllowedOnClassWithConstrainedValues() throws Exception { XDocletTag tagOne = locationTag(clazz, "class"); XDocletTag tagTwo = locationTag(clazz, "method"); XDocletTag tagThree = locationTag(clazz, "field"); XDocletTag tagFour = locationTag(clazz, "constructor"); try { locationTag(clazz, "blah"); fail(); } catch (RuntimeException expected) { } List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo, tagThree, tagFour}); try { clazz.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { locationTag(method, "method"); fail(); } catch (RuntimeException expected) { } try { locationTag(field, "field"); fail(); } catch (RuntimeException expected) { } try { locationTag(constructor, "constructor"); fail(); } catch (RuntimeException expected) { } } public void testQtagsOnceTagShouldOnlyBeAllowedOnClassOnce() throws Exception { XDocletTag tagOne = onceTag(clazz); XDocletTag tagTwo = onceTag(clazz); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { clazz.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { onceTag(method); fail(); } catch (RuntimeException expected) { } try { onceTag(field); fail(); } catch (RuntimeException expected) { } try { onceTag(constructor); fail(); } catch (RuntimeException expected) { } } public void testQtagsRequiredTagShouldOnlyBeAllowedOnMethodOnce() throws Exception { XDocletTag tagOne = requiredTag(method); XDocletTag tagTwo = requiredTag(method); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { method.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { requiredTag(clazz); fail(); } catch (RuntimeException expected) { } try { requiredTag(field); fail(); } catch (RuntimeException expected) { } try { requiredTag(constructor); fail(); } catch (RuntimeException expected) { } } public void testQtagsVerbatimTagShouldOnlyBeAllowedOnMethodOnce() throws Exception { XDocletTag tagOne = verbatimTag(method); XDocletTag tagTwo = verbatimTag(method); List tags = Arrays.asList(new XDocletTag[] {tagOne, tagTwo}); try { method.setTags(tags); // fail("only one is allowed"); } catch (RuntimeException expected) { } try { verbatimTag(clazz); fail(); } catch (RuntimeException expected) { } try { verbatimTag(field); fail(); } catch (RuntimeException expected) { } try { verbatimTag(constructor); fail(); } catch (RuntimeException expected) { } } protected void setUp() throws Exception { super.setUp(); clazz = new JavaClass(); clazz.setParent(new JavaSource()); method = new JavaMethod(); method.setParent(clazz); constructor = new JavaMethod(); constructor.setParent(clazz); constructor.setConstructor(true); field = new JavaField(); field.setParent(clazz); } private XDocletTag allowedValueTag(AbstractJavaEntity entity) { return new QtagsAllowedValueTagImpl(QtagsAllowedValueTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag defaultTag(AbstractJavaEntity entity) { return new QtagsDefaultTagImpl(QtagsDefaultTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag deprecatedTag(AbstractJavaEntity entity) { return new QtagsDeprecatedTagImpl(QtagsDeprecatedTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag ignoreTag(AbstractJavaEntity entity) { return new QtagsIgnoreTagImpl(QtagsIgnoreTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag locationTag(AbstractJavaEntity entity, String value) { return new QtagsLocationTagImpl(QtagsLocationTagImpl.NAME, value, entity, 22); } private XDocletTag onceTag(AbstractJavaEntity entity) { return new QtagsOnceTagImpl(QtagsOnceTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag requiredTag(AbstractJavaEntity entity) { return new QtagsRequiredTagImpl(QtagsRequiredTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } private XDocletTag verbatimTag(AbstractJavaEntity entity) { return new QtagsVerbatimTagImpl(QtagsVerbatimTagImpl.NAME, " blurge dsdh dsjk sdjk hdjkfh s", entity, 22); } } |
From: Konstantin P. <ko...@us...> - 2006-08-11 17:15:16
|
Update of /cvsroot/xdoclet-plugins/xdoclet-plugins/taglib-qtags/src/main/java/org/xdoclet/plugin/qtags/qtags In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28258/taglib-qtags/src/main/java/org/xdoclet/plugin/qtags/qtags Added Files: QtagsAliasTag.java QtagsAllowedValueTag.java QtagsDefaultTag.java QtagsDeprecatedTag.java QtagsIgnoreTag.java QtagsListToken.java QtagsLocationTag.java QtagsOnceTag.java QtagsRequiredTag.java QtagsVerbatimTag.java Log Message: started work on split qtags in plugin and taglib for m2 build --- NEW FILE: QtagsIgnoreTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * class level tag to specify that marked interface shall be not generated * itself. ( But methods will be used ) This is necessary to allow tag interface inheritance. ( For example, * hibernate has shitload of collection tags which share a lot of common parameters. ) * @qtags.location class * @qtags.once */ public interface QtagsIgnoreTag extends DocletTag { } --- NEW FILE: QtagsAllowedValueTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * specify one of the allowed values for tag or parameter * @qtags.location class * @qtags.location method */ public interface QtagsAllowedValueTag extends DocletTag { } --- NEW FILE: QtagsAliasTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * class level tag to specify deprecated aliases of current tag. those will be * bombed on creation * @deprecated I to not think that we really need this.... */ public interface QtagsAliasTag extends DocletTag { } --- NEW FILE: QtagsLocationTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * class level tag to specify allowed locations. this tag cab ne used only on class level to specify * locations where usage is allowed. Recognized values are "class" "method" "constructor" "field" * @qtags.location class * @qtags.allowed-value class * @qtags.allowed-value method * @qtags.allowed-value constructor * @qtags.allowed-value field */ public interface QtagsLocationTag extends DocletTag { } --- NEW FILE: QtagsListToken.java --- /* * Copyright (c) 2005 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * Specify the token used in list processing * * @qtags.location method * @qtags.once * @qtags.allowed-value comma * @qtags.allowed-value semicolon */ public interface QtagsListToken extends DocletTag { } --- NEW FILE: QtagsDefaultTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * specify default value for tag or tag parameter. this can be used only * on method level. * * @author Konstantin Pribluda * * @qtags.location method * @qtags.once */ public interface QtagsDefaultTag extends DocletTag { } --- NEW FILE: QtagsDeprecatedTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * class level tag to specify deprecation of \@-tag. * @qtags.location class * @qtags.once */ public interface QtagsDeprecatedTag extends DocletTag { } --- NEW FILE: QtagsRequiredTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * specify that certain value is required to be present. * @qtags.location method * @qtags.once */ public interface QtagsRequiredTag extends DocletTag { } --- NEW FILE: QtagsVerbatimTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * specify that the parameter name should not be hyphenated * @qtags.location method * @qtags.once */ public interface QtagsVerbatimTag extends DocletTag { } --- NEW FILE: QtagsOnceTag.java --- /* * Copyright (c) 2003 * XDoclet Team * All rights reserved. */ package org.xdoclet.plugin.qtags.qtags; import com.thoughtworks.qdox.model.DocletTag; /** * specify that this tag can be use once on given program element * @qtags.location class * @qtags.once */ public interface QtagsOnceTag extends DocletTag { } |