Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3949/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete

Modified Files:
        InheritedForm.java SimpleForm.java SimpleValidatorForm.java 
        SimpleValidatorFormWithNoFields.java 
Added Files:
        TestMessages.java TestMessages.properties 
        TestMessages_de.properties TestMessages_de_DE.properties 
        TestMessages_de_DE_he.properties TestTiles1.java 
        TestTiles2.java TestTiles3.java tiles-defs.xml 
Log Message:
fix for XDP-73 and some improvements of build process


Index: SimpleValidatorForm.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleValidatorForm.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SimpleValidatorForm.java    26 Apr 2005 07:23:32 -0000      1.3
--- SimpleValidatorForm.java    2 Jul 2005 13:16:30 -0000       1.4
***************
*** 1 ****
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/simpleValidatorForm"
 * @author Alexandre Martins
 */
public class SimpleValidatorForm extends 
org.apache.struts.validator.ValidatorForm {

    private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    /**
     * @struts.validator type="required" msgkey="MSGS.ID"
     * @struts.validator-var name="anyVar" value="anyVarValue"
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    /**
     * @struts.validator type="required" msgkey="MSGS.NAME"
     */
    public void setName(String name) {
        this.name = name;
    }
}
--- 1 ----
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/simpleValidatorForm"
 * @author Alexandre Martins
 */
public class SimpleValidatorForm extends 
org.apache.struts.validator.ValidatorForm {

        /**
         * 
         */
        private static final long serialVersionUID = 1L;
        private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    /**
     * @struts.validator type="required" msgkey="MSGS.ID"
     * @struts.validator-var name="anyVar" value="anyVarValue"
     */
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    /**
     * @struts.validator type="required" msgkey="MSGS.NAME"
     */
    public void setName(String name) {
        this.name = name;
    }
}

--- NEW FILE: TestMessages_de.properties ---
language_message=Standartmeldung, deutsche Sprache

--- NEW FILE: TestMessages.properties ---
default_message=default locale message

--- NEW FILE: TestMessages.java ---
/*
 * Copyright (c) 2004
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * Messages Test Class
 *
 * @author Eduardo Franceschi
 * 
 * Class message
 * @struts.msg key="default_message" msg="default locale message"
 */
public class TestMessages {
        
        /**
         * Field message
     * @struts.msg key="language_message" msg="Standartmeldung, deutsche 
Sprache" lang="de"
         */
        private int blah;
        
        /**
         * Constructor message
     * @struts.msg key="country_message" msg="Standartmeldung, deutsche 
Sprache, Deustschland" lang="de" country="DE"
         */
        TestMessages() {
        }

        /**
         * Method message
     * @struts.msg key="variant_message" msg="Standartmeldung, deutsche 
Sprache, Deustschland, Hessen" lang="de" country="DE" variant="he"
         */
        void doAnyThing() {
        }
        
}

--- NEW FILE: TestTiles2.java ---
/*
 * Copyright (c) 2004
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.tiles name="tile_child" extends="default_tile"
 * @struts.tiles-put name="prop1" value="othervalue1"
 */
public class TestTiles2 {
}

Index: SimpleValidatorFormWithNoFields.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleValidatorFormWithNoFields.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SimpleValidatorFormWithNoFields.java        26 Apr 2005 07:23:32 -0000      
1.3
--- SimpleValidatorFormWithNoFields.java        2 Jul 2005 13:16:30 -0000       
1.4
***************
*** 1 ****
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/simpleValidatorFormWithNoField"
 * @author Alexandre Martins
 */
public class SimpleValidatorFormWithNoFields extends 
org.apache.struts.validator.ValidatorForm {
}
--- 1,14 ----
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.struts.complete;
! 
! /**
!  * @struts.form name="/simpleValidatorFormWithNoField"
!  * @author Alexandre Martins
!  */
! public class SimpleValidatorFormWithNoFields extends 
org.apache.struts.validator.ValidatorForm {
! 
! }

--- NEW FILE: TestMessages_de_DE_he.properties ---
variant_message=Standartmeldung, deutsche Sprache, Deustschland, Hessen

Index: SimpleForm.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleForm.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SimpleForm.java     22 Jan 2005 15:33:18 -0000      1.2
--- SimpleForm.java     2 Jul 2005 13:16:30 -0000       1.3
***************
*** 1 ****
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/simpleForm"
 * @author Alexandre Martins
 */
public class SimpleForm extends org.apache.struts.action.ActionForm {
}
\ No newline at end of file
--- 1 ----
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/simpleForm"
 * @author Alexandre Martins
 */
public class SimpleForm extends org.apache.struts.action.ActionForm {

        /**
         * 
         */
        private static final long serialVersionUID = 1L;
}
\ No newline at end of file

Index: InheritedForm.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/InheritedForm.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** InheritedForm.java  26 Apr 2005 07:23:32 -0000      1.3
--- InheritedForm.java  2 Jul 2005 13:16:30 -0000       1.4
***************
*** 1 ****
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/inherited-form" 
extends="org.xdoclet.plugin.struts.complete.SimpleForm"
 * @author Alexandre Martins
 */
public class InheritedForm extends SimpleForm {
}
--- 1 ----
! /*
 * Copyright (c) 2003
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.form name="/inherited-form" 
extends="org.xdoclet.plugin.struts.complete.SimpleForm"
 * @author Alexandre Martins
 */
public class InheritedForm extends SimpleForm {

        /**
         * 
         */
        private static final long serialVersionUID = 1L;
}

--- NEW FILE: TestTiles1.java ---
/*
 * Copyright (c) 2004
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @author Eduardo Franceschi
 * 
 * @struts.tiles name="default_tile" path="/default.jsp"
 * @struts.tiles-put name="prop1" value="value1"
 * @struts.tiles-put name="prop2" value="value2"
 */
public class TestTiles1 {
}

--- NEW FILE: tiles-defs.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles 
Configuration//EN" "http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>

<tiles-definitions>
  <definition name="static" path="/static.jsp"> 
    <put name="prop1" value="value1"></put>  
    <put name="prop2" value="value2"></put> 
  </definition>  
  <definition name="default_tile" path="/default.jsp">
    <put name="prop1" value="value1"/>
    <put name="prop2" value="value2"/>
  </definition>
  <definition name="tile_child" extends="default_tile">
    <put name="prop1" value="othervalue1"/>
  </definition>
  <definition name="twice_1" path="/twice1.jsp">
    <put name="prop1" value="value1"/>
    <put name="prop2" value="value2"/>
  </definition>
  <definition name="twice_2" path="/twice2.jsp">
    <put name="prop3" value="value3"/>
    <put name="prop4" value="value4"/>
  </definition>
</tiles-definitions>

--- NEW FILE: TestMessages_de_DE.properties ---
country_message=Standartmeldung, deutsche Sprache, Deustschland

--- NEW FILE: TestTiles3.java ---
/*
 * Copyright (c) 2004
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.struts.complete;

/**
 * @struts.tiles name="twice_1" path="/twice1.jsp"
 * @struts.tiles-put name="prop1" value="value1" parent="twice_1"
 * @struts.tiles-put name="prop2" value="value2" parent="twice_1"
 * @struts.tiles name="twice_2" path="/twice2.jsp"
 * @struts.tiles-put name="prop3" value="value3" parent="twice_2"
 * @struts.tiles-put name="prop4" value="value4" parent="twice_2"
 */
public class TestTiles3 {
}



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to