Jeff Martin wrote:
>
> Noticed a couple of days ago that the nighly Gump builds
> were failing for Alexandria. I've had a quick look and
> it's failing because it can't find one of the classes
> generated by castor. So it looks like either castor is
> failing (There doesn't seem to any error mesages) or the
> classpath for the build is slightly funny.
>
> Anyone got any ideas?
>
> P.S It all works fine on my box :-P

Obviously, you don't have the latest castor.  Castor is not failing, and
all of the generated classes can be found.  However, the output for one
class has changed significantly.  I've attached the diffs below.

- Sam Ruby

--- msg.java   Sun Feb 04 19:51:52 2001
+++ /xml0/api/blame/msg.java  Sun Feb 04 08:33:58 2001
@@ -1,6 +1,6 @@
 /*
  * This class was automatically generated with
- * <a href="http://castor.exolab.org">Castor 0.8.10</a>, using an
+ * <a href="http://castor.exolab.org">Castor 0.8.12</a>, using an
  * XML Schema.
  * $Id$
  */
@@ -14,8 +14,6 @@
 import java.io.Reader;
 import java.io.Serializable;
 import java.io.Writer;
-import java.util.Enumeration;
-import java.util.Vector;
 import org.exolab.castor.xml.*;
 import org.exolab.castor.xml.MarshalException;
 import org.exolab.castor.xml.ValidationException;
@@ -45,13 +43,6 @@
     **/
     private boolean _has_line;

-    /**
-     * internal character storage
-    **/
-    private java.lang.String _content = "";
-
-    private java.util.Vector _anyObject;
-

       //----------------/
      //- Constructors -/
@@ -59,7 +50,6 @@

     public Msg() {
         super();
-        _anyObject = new Vector();
     } //-- org.apache.alexandria.xml.api.blame.Msg()


@@ -68,16 +58,6 @@
     //-----------/

     /**
-     *
-     * @param vObject
-    **/
-    public void addObject(java.lang.Object vObject)
-        throws java.lang.IndexOutOfBoundsException
-    {
-        _anyObject.addElement(vObject);
-    } //-- void addObject(java.lang.Object)
-
-    /**
     **/
     public void deleteLine()
     {
@@ -86,20 +66,6 @@

     /**
     **/
-    public java.util.Enumeration enumerateObject()
-    {
-        return _anyObject.elements();
-    } //-- java.util.Enumeration enumerateObject()
-
-    /**
-    **/
-    public java.lang.String getContent()
-    {
-        return this._content;
-    } //-- java.lang.String getContent()
-
-    /**
-    **/
     public java.lang.String getFile()
     {
         return this._file;
@@ -113,40 +79,6 @@
     } //-- int getLine()

     /**
-     *
-     * @param index
-    **/
-    public java.lang.Object getObject(int index)
-        throws java.lang.IndexOutOfBoundsException
-    {
-        //-- check bounds for index
-        if ((index < 0) || (index > _anyObject.size())) {
-            throw new IndexOutOfBoundsException();
-        }
-
-        return (java.lang.Object) _anyObject.elementAt(index);
-    } //-- java.lang.Object getObject(int)
-
-    /**
-    **/
-    public java.lang.Object[] getObject()
-    {
-        int size = _anyObject.size();
-        java.lang.Object[] mArray = new Object[size];
-        for (int index = 0; index < size; index++) {
-            mArray[index] = (Object) _anyObject.elementAt(index);
-        }
-        return mArray;
-    } //-- java.lang.Object[] getObject()
-
-    /**
-    **/
-    public int getObjectCount()
-    {
-        return _anyObject.size();
-    } //-- int getObjectCount()
-
-    /**
     **/
     public java.lang.String getSuspect()
     {
@@ -203,33 +135,6 @@
     } //-- void marshal(org.xml.sax.DocumentHandler)

     /**
-    **/
-    public void removeAllObject()
-    {
-        _anyObject.removeAllElements();
-    } //-- void removeAllObject()
-
-    /**
-     *
-     * @param index
-    **/
-    public java.lang.Object removeObject(int index)
-    {
-        Object obj = _anyObject.elementAt(index);
-        _anyObject.removeElementAt(index);
-        return (java.lang.Object) obj;
-    } //-- java.lang.Object removeObject(int)
-
-    /**
-     *
-     * @param _content
-    **/
-    public void setContent(java.lang.String _content)
-    {
-        this._content = _content;
-    } //-- void setContent(java.lang.String)
-
-    /**
      *
      * @param _file
     **/
@@ -247,34 +152,6 @@
         this._line = _line;
         this._has_line = true;
     } //-- void setLine(int)
-
-    /**
-     *
-     * @param vObject
-     * @param index
-    **/
-    public void setObject(java.lang.Object vObject, int index)
-        throws java.lang.IndexOutOfBoundsException
-    {
-        //-- check bounds for index
-        if ((index < 0) || (index > _anyObject.size())) {
-            throw new IndexOutOfBoundsException();
-        }
-        _anyObject.setElementAt(vObject, index);
-    } //-- void setObject(java.lang.Object, int)
-
-    /**
-     *
-     * @param objectArray
-    **/
-    public void setObject(java.lang.Object[] objectArray)
-    {
-        //-- copy array
-        _anyObject.removeAllElements();
-        for (int i = 0; i < objectArray.length; i++) {
-            _anyObject.addElement(objectArray[i]);
-        }
-    } //-- void setObject(java.lang.Object)

     /**
      *


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to