jlaskowski    2005/06/16 18:29:50

  Modified:    modules/core/src/java/org/openejb/alt/config/rules
                        CheckClasses.java CheckMethods.java
                        Messages.properties
  Log:

  Fix for #OPENEJB-26: Remove references to sf.net in text and help files
  
  Revision  Changes    Path
  1.3       +3 -3      
openejb1/modules/core/src/java/org/openejb/alt/config/rules/CheckClasses.java
  
  Index: CheckClasses.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/alt/config/rules/CheckClasses.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CheckClasses.java 14 Aug 2004 10:35:37 -0000      1.2
  +++ CheckClasses.java 16 Jun 2005 22:29:50 -0000      1.3
  @@ -15,7 +15,7 @@
    * 3. The name "OpenEJB" must not be used to endorse or promote
    *    products derived from this Software without prior written
    *    permission of The OpenEJB Group.  For written permission,
  - *    please contact [EMAIL PROTECTED]
  + *    please contact [EMAIL PROTECTED]
    *
    * 4. Products derived from this Software may not be called "OpenEJB"
    *    nor may "OpenEJB" appear in their names without prior written
  @@ -23,7 +23,7 @@
    *    trademark of The OpenEJB Group.
    *
    * 5. Due credit should be given to the OpenEJB Project
  - *    (http://openejb.sf.net/).
  + *    (http://www.openejb.org/).
    *
    * THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
    * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
  
  
  
  1.4       +3 -3      
openejb1/modules/core/src/java/org/openejb/alt/config/rules/CheckMethods.java
  
  Index: CheckMethods.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/alt/config/rules/CheckMethods.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CheckMethods.java 25 Oct 2004 12:34:39 -0000      1.3
  +++ CheckMethods.java 16 Jun 2005 22:29:50 -0000      1.4
  @@ -15,7 +15,7 @@
    * 3. The name "OpenEJB" must not be used to endorse or promote
    *    products derived from this Software without prior written
    *    permission of The OpenEJB Group.  For written permission,
  - *    please contact [EMAIL PROTECTED]
  + *    please contact [EMAIL PROTECTED]
    *
    * 4. Products derived from this Software may not be called "OpenEJB"
    *    nor may "OpenEJB" appear in their names without prior written
  @@ -23,7 +23,7 @@
    *    trademark of The OpenEJB Group.
    *
    * 5. Due credit should be given to the OpenEJB Project
  - *    (http://openejb.sf.net/).
  + *    (http://www.openejb.org/).
    *
    * THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
    * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
  
  
  
  1.2       +118 -118  
openejb1/modules/core/src/java/org/openejb/alt/config/rules/Messages.properties
  
  Index: Messages.properties
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/alt/config/rules/Messages.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Messages.properties       26 Mar 2004 21:41:57 -0000      1.1
  +++ Messages.properties       16 Jun 2005 22:29:50 -0000      1.2
  @@ -1,118 +1,118 @@
  -#

  -# Redistribution and use of this software and associated documentation

  -# ("Software"), with or without modification, are permitted provided

  -# that the following conditions are met:

  -#

  -# 1. Redistributions of source code must retain copyright

  -#    statements and notices.  Redistributions must also contain a

  -#    copy of this document.

  -#

  -# 2. Redistributions in binary form must reproduce the

  -#    above copyright notice, this list of conditions and the

  -#    following disclaimer in the documentation and/or other

  -#    materials provided with the distribution.

  -#

  -# 3. The name "OpenEJB" must not be used to endorse or promote

  -#    products derived from this Software without prior written

  -#    permission of The OpenEJB Group.  For written permission,

  -#    please contact [EMAIL PROTECTED]

  -#

  -# 4. Products derived from this Software may not be called "OpenEJB"

  -#    nor may "OpenEJB" appear in their names without prior written

  -#    permission of The OpenEJB Group. OpenEJB is a registered

  -#    trademark of The OpenEJB Group.

  -#

  -# 5. Due credit should be given to the OpenEJB Project

  -#    (http://openejb.sf.net/).

  -#

  -# THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS

  -# ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT

  -# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

  -# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL

  -# THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,

  -# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES

  -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR

  -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)

  -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,

  -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)

  -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED

  -# OF THE POSSIBILITY OF SUCH DAMAGE.

  -#

  -# Copyright 2002 (C) The OpenEJB Group. All Rights Reserved.

  -#

  -# $Id$

  -#

  -#--------------------------------------------------------------------

  -# Validation Rule messages

  -#--------------------------------------------------------------------

  -

  -# 0 - Class name

  -# 1 - Element (home, ejb-class, remote)

  -# 2 - Bean name

  -1.cannot.validate         Cannot validate jar

  -2.cannot.validate         Cannot validate jar

  -3.cannot.validate         {0}

  -

  -# 0 - Class name

  -# 1 - Element (home, ejb-class, remote)

  -# 2 - Bean name

  -1.missing.class           Missing class

  -2.missing.class           Missing class {0} 

  -3.missing.class           The class {0} not found. Check that the class 
specified in the {1} element for bean {2} is spelled correctly and the class is 
present in the jar

  -

  -# 0 - Class name

  -# 1 - EJB Class name

  -1.wrong.class.type        Wrong class type

  -2.wrong.class.type        Wrong class type {0}

  -3.wrong.class.type        The class {0} is the wrong type, it does not 
extend {1}

  -

  -# 0 - method name

  -# 1 - full method

  -# 2 - remote|home

  -# 3 - interface name

  -# 4 - EJB Class name

  -1.no.busines.method       No such business method

  -2.no.busines.method       Business method {0} not implemented.

  -3.no.busines.method       Business method {1} not implemented. The method 
was declared in the {2} interface {3}, but not implemented in the ejb class {4}

  -

  -# 0 - home interface

  -# 1 - remote interface

  -1.no.home.create          No create method.  

  -2.no.home.create          No create method in {0}.

  -3.no.home.create          The home interface {0} must declare at least one 
create method. Example:\n\n\tpublic {1} create() throws 
javax.ejb.CreateException, java.rmi.RemoteException;

  -

  -# 1 - EJB Class name

  -# 2 - create params

  -1.session.no.ejb.create     Create method not implemented.

  -2.session.no.ejb.create     Create method not implemented: ejbCreate({1}).

  -3.session.no.ejb.create     There should be a create method in the bean 
class {0} with the following signature:\n\n\tpublic void ejbCreate({1}) throws 
javax.ejb.CreateException

  -

  -# 1 - EJB Class name

  -# 2 - primary key class

  -# 3 - create params

  -1.entity.no.ejb.create    Create method not implemented.

  -2.entity.no.ejb.create    Create method not implemented: ejbCreate({2}).

  -3.entity.no.ejb.create    There should be a create method in the bean class 
{0} with the following signature:\n\n\tpublic {1} ejbCreate({2}) throws 
javax.ejb.CreateException

  -

  -# 1 - EJB Class name

  -# 2 - create params

  -1.no.ejb.post.create      No ejbPostCreate method

  -2.no.ejb.post.create      Missing create method: ejbPostCreate({1})

  -3.no.ejb.post.create      Entity create method with no matching 
ejbPostCreate.  There should be an ejbPostCreate method in the bean class {0} 
with the following signature:\n\n\tpublic void ejbPostCreate({1}) throws 
javax.ejb.CreateException

  -

  -# 1 - bean class

  -# 2 - create params

  -# 3 - home interface

  -1.unused.ejb.create       Unused ejbCreate method

  -2.unused.ejb.create       Unused ejbCreate method: ejbCreate({1})

  -3.unused.ejb.create       Create method will never be called.  The bean 
class {0} defines the create method ejbCreate({1}), but there is no matching 
create({1}) method in the home interface {2}

  -                                                                             
               

  -

  -# 0 - Class name

  -# 1 - Element (home, ejb-class, remote)

  -# 2 - Bean name

  -# 3 - Dependent Class name

  -1.misslocated.class           Misslocated class

  -2.misslocated.class           Misslocated class {0} 

  -3.misslocated.class           The class {0} was found in a parent 
classloader and was loaded from there rather than this jar.  However, a 
dependent class {3} was not found in the parent classloader.  \n\nThere are two 
ways to fix this:\n\nOne, remove the class {0} from the jar in the parent 
classloader to ensure the class is only loaded from this jar.\n\nTwo, move the 
dependent class {3} and any other dependent classes into the jar in the parent 
classloader.  \n\nMore information can be found at 
http://www.openejb.org/faq_validation.html#misslocated.class

  -

  +#
  +# Redistribution and use of this software and associated documentation
  +# ("Software"), with or without modification, are permitted provided
  +# that the following conditions are met:
  +#
  +# 1. Redistributions of source code must retain copyright
  +#    statements and notices.  Redistributions must also contain a
  +#    copy of this document.
  +#
  +# 2. Redistributions in binary form must reproduce the
  +#    above copyright notice, this list of conditions and the
  +#    following disclaimer in the documentation and/or other
  +#    materials provided with the distribution.
  +#
  +# 3. The name "OpenEJB" must not be used to endorse or promote
  +#    products derived from this Software without prior written
  +#    permission of The OpenEJB Group.  For written permission,
  +#    please contact [EMAIL PROTECTED]
  +#
  +# 4. Products derived from this Software may not be called "OpenEJB"
  +#    nor may "OpenEJB" appear in their names without prior written
  +#    permission of The OpenEJB Group. OpenEJB is a registered
  +#    trademark of The OpenEJB Group.
  +#
  +# 5. Due credit should be given to the OpenEJB Project
  +#    (http://www.openejb.org/).
  +#
  +# THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
  +# ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
  +# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
  +# THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  +# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  +# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  +# OF THE POSSIBILITY OF SUCH DAMAGE.
  +#
  +# Copyright 2002 (C) The OpenEJB Group. All Rights Reserved.
  +#
  +# $Id$
  +#
  +#--------------------------------------------------------------------
  +# Validation Rule messages
  +#--------------------------------------------------------------------
  +
  +# 0 - Class name
  +# 1 - Element (home, ejb-class, remote)
  +# 2 - Bean name
  +1.cannot.validate         Cannot validate jar
  +2.cannot.validate         Cannot validate jar
  +3.cannot.validate         {0}
  +
  +# 0 - Class name
  +# 1 - Element (home, ejb-class, remote)
  +# 2 - Bean name
  +1.missing.class           Missing class
  +2.missing.class           Missing class {0} 
  +3.missing.class           The class {0} not found. Check that the class 
specified in the {1} element for bean {2} is spelled correctly and the class is 
present in the jar
  +
  +# 0 - Class name
  +# 1 - EJB Class name
  +1.wrong.class.type        Wrong class type
  +2.wrong.class.type        Wrong class type {0}
  +3.wrong.class.type        The class {0} is the wrong type, it does not 
extend {1}
  +
  +# 0 - method name
  +# 1 - full method
  +# 2 - remote|home
  +# 3 - interface name
  +# 4 - EJB Class name
  +1.no.busines.method       No such business method
  +2.no.busines.method       Business method {0} not implemented.
  +3.no.busines.method       Business method {1} not implemented. The method 
was declared in the {2} interface {3}, but not implemented in the ejb class {4}
  +
  +# 0 - home interface
  +# 1 - remote interface
  +1.no.home.create          No create method.  
  +2.no.home.create          No create method in {0}.
  +3.no.home.create          The home interface {0} must declare at least one 
create method. Example:\n\n\tpublic {1} create() throws 
javax.ejb.CreateException, java.rmi.RemoteException;
  +
  +# 1 - EJB Class name
  +# 2 - create params
  +1.session.no.ejb.create     Create method not implemented.
  +2.session.no.ejb.create     Create method not implemented: ejbCreate({1}).
  +3.session.no.ejb.create     There should be a create method in the bean 
class {0} with the following signature:\n\n\tpublic void ejbCreate({1}) throws 
javax.ejb.CreateException
  +
  +# 1 - EJB Class name
  +# 2 - primary key class
  +# 3 - create params
  +1.entity.no.ejb.create    Create method not implemented.
  +2.entity.no.ejb.create    Create method not implemented: ejbCreate({2}).
  +3.entity.no.ejb.create    There should be a create method in the bean class 
{0} with the following signature:\n\n\tpublic {1} ejbCreate({2}) throws 
javax.ejb.CreateException
  +
  +# 1 - EJB Class name
  +# 2 - create params
  +1.no.ejb.post.create      No ejbPostCreate method
  +2.no.ejb.post.create      Missing create method: ejbPostCreate({1})
  +3.no.ejb.post.create      Entity create method with no matching 
ejbPostCreate.  There should be an ejbPostCreate method in the bean class {0} 
with the following signature:\n\n\tpublic void ejbPostCreate({1}) throws 
javax.ejb.CreateException
  +
  +# 1 - bean class
  +# 2 - create params
  +# 3 - home interface
  +1.unused.ejb.create       Unused ejbCreate method
  +2.unused.ejb.create       Unused ejbCreate method: ejbCreate({1})
  +3.unused.ejb.create       Create method will never be called.  The bean 
class {0} defines the create method ejbCreate({1}), but there is no matching 
create({1}) method in the home interface {2}
  +                                                                             
               
  +
  +# 0 - Class name
  +# 1 - Element (home, ejb-class, remote)
  +# 2 - Bean name
  +# 3 - Dependent Class name
  +1.misslocated.class           Misslocated class
  +2.misslocated.class           Misslocated class {0} 
  +3.misslocated.class           The class {0} was found in a parent 
classloader and was loaded from there rather than this jar.  However, a 
dependent class {3} was not found in the parent classloader.  \n\nThere are two 
ways to fix this:\n\nOne, remove the class {0} from the jar in the parent 
classloader to ensure the class is only loaded from this jar.\n\nTwo, move the 
dependent class {3} and any other dependent classes into the jar in the parent 
classloader.  \n\nMore information can be found at 
http://www.openejb.org/faq_validation.html#misslocated.class
  +
  
  
  

Reply via email to