xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Remy" <dr...@bea.com>
Subject RE: Building and running under JDK 1.3.1
Date Wed, 17 Mar 2004 19:10:13 GMT
Dutta Satadip wrote:
> Hello Dan,
> Currently, XMLBeans works on 1.4.X. Other users have expressed
> interest in having Xmlbeams backported to 1.3.X. Correct me If I am
> wrong, but someone (Matt??) is working on this.  
> 
> There was some email about a month back on this topic.
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=xmlbeans-dev@xml.apache.org&msgNo=602

i just filed a jira issue (http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=XMLBEANS-28)
to track getting Matt's jdk 1.3.x work available for Xmlbeans v.1.  Since Matt has already
done most/all of the work I don't think it will take very long to accomplish.  i expect this
will be available in the next few weeks.
rem

> 
> Hope this is useful.
> With Regards
> Dutta:)
> 
> 
> Dan Sterling <dsterlin@sct.com> wrote:
> 
> Hello,
> 
>   I have a requirement to execute in a 1.3.1 VM and would like to use
> XMLBeans.  Is this possible?  The build files appear to depend on jdk
> 1.4.  
> 
> Here is the output from a default build running from JDK 1.3.1
> 
> Thank you for your assistence.
> 
> D:\work\xmlbeans\xml-xmlbeans\v1>ant
> Buildfile: build.xml
> 
> dirs:
>     [mkdir] Created dir: D:\work\xmlbeans\xml-xmlbeans\v1\build
>     [mkdir] Created dir:
>     D:\work\xmlbeans\xml-xmlbeans\v1\build\classes [mkdir] Created
>     dir: D:\work\xmlbeans\xml-xmlbeans\v1\build\lib [mkdir] Created
>     dir: D:\work\xmlbeans\xml-xmlbeans\v1\build\ar [mkdir] Created
>     dir: D:\work\xmlbeans\xml-xmlbeans\v1\build\src [mkdir] Created
>     dir: D:\work\xmlbeans\xml-xmlbeans\v1\build\private [mkdir]
>     Created dir:
> D:\work\xmlbeans\xml-xmlbeans\v1\build\private\classes [mkdir]
> Created dir: D:\work\xmlbeans\xml-xmlbeans\v1\build\private\lib  
> 
> sources:
>       [zip] Building zip:
> D:\work\xmlbeans\xml-xmlbeans\v1\build\ar\xbeansrc.zip 
> 
> xmlinputstream.classes:
>     [mkdir] Created dir:
>     D:\work\xmlbeans\xml-xmlbeans\v1\build\classes\xmlinputstream
> [javac] Compiling 24 source files to
> D:\work\xmlbeans\xml-xmlbeans\v1\build\classes\xmlinputstre  
> am
> 
> xmlpublic.classes:
>     [mkdir] Created dir:
>     D:\work\xmlbeans\xml-xmlbeans\v1\build\classes\xmlpublic [javac]
>     Compiling 91 source files to
> D:\work\xmlbeans\xml-xmlbeans\v1\build\classes\xmlpublic [javac]
>    
>    
>    
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:81:
>     ' ;' expected [javac]         assert initialCapacity > 0; [javac]
>     ^ [javac]
>    
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:82:
>     ' ;' expected [javac]         assert loadFactor > 0 && loadFactor
>     < 1; [javac]                           ^ [javac]
>    
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:118:
> ';' expected [javac]         assert localName != null; [javac]       
> ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDate.java:108:
> canno     
> t resolve symbol
>     [javac] symbol  : class CharSequence
>     [javac] location: class org.apache.xmlbeans.GDate
>     [javac]     public GDate(CharSequence string)
>     [javac]                  ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDate.java:581:
> canno  
> t resolve symbol
>     [javac] symbol  : class CharSequence
>     [javac] location: class org.apache.xmlbeans.GDate
>     [javac]     private static final int twoDigit(CharSequence str,
>     int index) [javac]                                       ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDuration.java:107:
> c  
> annot resolve symbol
>     [javac] symbol  : class CharSequence
>     [javac] location: class org.apache.xmlbeans.GDuration
>    ! [javac]     public GDuration(CharSequence str)
>     [javac]                      ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:59:
> can  
> not resolve symbol
>     [javac] symbol  : class URI
>     [javac] location: package net
>     [javac] import java.net.URI;
>     [javac]                 ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:60:
> can  
> not resolve symbol
>     [javac] symbol  : class URISyntaxException
>     [javac] location: package net
>     [javac] import java.net.URISyntaxException;
>     [javac]                 ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:282:
> ca  
> nnot resolve symbol
>     [javac] symbol  : class URI
>     [javac] location: class org.apache.xmlbeans.XmlError
>     [javac]     protected static String formattedFileName(String
> rawString, URI base) !     [javac]                                   
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:412:
> ca  
> nnot resolve symbol
>     [javac] symbol  : class URI
>     [javac] location: class org.apache.xmlbeans.XmlError
>     [javac]     public String toString ( URI base )
>     [javac]                              ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDateBuilder.java:163
>> cannot resolve symbol
>     [javac] symbol  : class CharSequence
>     [javac] location: class org.apache.xmlbeans.GDateBuilder
>     [javac]     public GDateBuilder(CharSequence string)
>     [javac]                         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDateBuilder.java:163
>> GDateBuilder(org.apache.xmlbeans.GDateSpecification) is already
>> defined in org.apache.xmlbeans.GDa 
> teBuilder
>     [javac]     public GDateBuilder(CharSequence string)
>     [javac]            ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\SchemaComponent.java:
>     123: cannot resolve symbol [javac] symbol  : method assert 
>     (boolean) [javac] location: class
>     org.apache.xmlbeans.SchemaComponent.Ref [javac]             {
> assert(handle != null); _schemaTypeSystem = schemaTypeSystem; _handle
> = ha  
> ndle; }
>     [javac]               ! ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDate.java:943:
> canno  
> t resolve symbol
>     [javac] symbol  : method assert  (boolean)
>     [javac] location: class org.apache.xmlbeans.GDate
>     [javac]         assert(n >= 0 && n < 100);
>     [javac]         ^
>     [javac]
>  D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlCalendar.java:276:
> get(int) in org.apache.xmlbeans.XmlCalendar cannot override get(int)
> in java.util.Calendar; overrid  
> den method is final
>     [javac]     public int get(int field)
>     [javac]                ^
>     [javac]
>  D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlException.java:84:
>     cannot resolve symbol [javac] symbol  : constructor Exception 
>     (java.lang.String,java.lang.Throwable) [javac] location: class
>     java.lang.Exception [javac]     public XmlException ( String m,
>     Throwable t ) { super( m, t ); } [javac]                         
>     !                         ^ [javac]
>  D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlException.java:89:
>     cannot resolve symbol [javac] symbol  : constructor Exception 
>     (java.lang.Throwable) [javac] location: class java.lang.Exception
>     [javac]     public XmlException ( Throwable t           ) {
>     super( t );    } [javac]                                         
> ^ &nb! sp;   [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlException.java:112
>> cannot resolve symbol
>     [javac] symbol  : constructor Exception 
>     (java.lang.String,java.lang.Throwable) [javac] location: class
>     java.lang.Exception [javac]         super( m, t );
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlException.java:124
>> cannot resolve symbol
>     [javac] symbol  : method getCause  ()
>     [javac] lo! cation: class org.apache.xmlbeans.XmlRuntimeException
>     [javac]             xmlRuntimeException.getMessage(),
>     xmlRuntimeException.getCause() ); [javac]                        
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameSet.java:481:
> ca  
> nnot resolve symbol
>     [javac] symbol  : method lastIndexOf  (java.lang.String)
>     [javac] location: class java.lang.StringBuffer
> &nb! sp;   [javac]         int index = sb.lastIndexOf(", ");
>     [javac]                       ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:287:
> ca  
> nnot resolve symbol
>     [javac] symbol  : class URI
>     [javac] location: class org.apache.xmlbeans.XmlError
>     [javac]         URI uri = null;
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:292:
> ca  
> nnot resolve symbol
>     [javac] symbol  : class URI
>     [javac] location: class org.apache.xmlbeans.XmlError
>     [javac]             uri = new URI(rawString);
>     [javac]                       ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:298:
> ca  
> nnot resolve symbol
>     [javac] symbol  : class URISyntaxException
>     [javac] location: class org.apache.xmlbeans.XmlError
>     [javac! ]         catch (URISyntaxException e)
>     [javac]                ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlError.java:305:
> ca  
> nnot resolve symbol
>     [javac] symbol  : method toURI  ()
>     [javac] location: class java.io.File
>     [javac]             uri = new File(rawString).toURI();
>     [javac]                   ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlRuntimeException.j
> ava:83: cannot resolve symbol
>     [javac] symbol  : constructor RuntimeException 
>     (java.lang.String,java.lang.Throwable) [javac] location: class
>     java.lang.RuntimeException [javac]     public XmlRuntimeException
>     ( String m, Throwable t ) { super( m, t ); } [javac]             
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlRuntimeException.j
> ava:88: cannot resolve symbol
>     [javac] symbol  : constructor RuntimeException 
>     (java.lang.Throwable) [javac] location: class
>     java.lang.RuntimeException [javac]     public XmlRuntimeException
>     ( Throwable t           ) { super( t );    } [javac]             
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlRuntimeException.j
> ava:95: cannot resolve symbol
>     [javac] symbol  : constructor RuntimeException 
>     (java.lang.String,java.lang.Throwable) [javac] location: class
>     java.lang.RuntimeException [javac]         super( m, t );
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlRuntimeException.j
> ava:122: cannot resolve symbol
>     [javac] symbol  : method getCause  ()
>     [javac] location: class org.apache.xmlbeans.XmlException
>     [javac]         super( xmlException.getMessage(),
>     xmlException.getCause() ); [! javac]                             
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDateBuilder.java:852
>> cannot resolve symbol
>     [javac] symbol  : method assert  (boolean)
>     [javac] location: class org.apache.xmlbeans.GDateBuilder
>     [javac]                 assert(_D >= 1);
>     [javac]                 ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDateBuilder.java:977
>> cannot resolve symbol
>     [javac] symbol  : method getOffset  (long)
>     [javac] location: class java.util.TimeZone
>     [javac]         int offset = dtz.getOffset(date.getTime());
>     [javac]                         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\GDateBuilder.java:109
>     4: cannot resolve symbol [javac] symbol  : method getOffset 
>     (long) [javac] location: class java.util.TimeZone
>     [javac]             int offset = def.getOffset(to1970Ms);
>     [javac]                             ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:81:
> c  
> annot resolve symbol
>     [javac] symbol  : class assert
>     [javac] location: class org.apache.xmlbeans.QNameCache
>     [javac]         assert initialCapacity > 0;
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:81:
> i  
> nitialCapacity is already defined in QNameCache(int,float)
>     [javac]         assert initialCapacity > 0;
>     [javac]                ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:82:
> c  
> annot resolve symbol
>     [javac] symbol  : class assert
>     [javac] location: class org.apache.xmlbeans.QNameCache
>     [javac]       &n! bsp; assert loadFactor > 0 && loadFactor < 1;
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:82:
> l  
> oadFactor is already defined in QNameCache(int,float)
>     [javac]         assert loadFactor > 0 && loadFactor < 1;
>     [javac]                ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:118:
> cannot resolve symbol
>     [javac] symbol  : class assert
>     [javac] location: class org.apache.xmlbeans.QNameCache
>     [javac]         assert localName != null;
>     [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameCache.java:118:
> localName is already defined in
>     getName(java.lang.String,java.lang.String) [javac]         assert
>     localName != null; [javac]                ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\QNameSetBuilder.java:
>     747: cannot r! esolve symbol [javac] symbol  : method lastIndexOf
>     (java.lang.String) [javac] location: class java.lang.StringBuffer
>     [javac]         int index = sb.lastIndexOf(", ");
>     [javac]                       ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\SchemaTypeLoaderExcep
> tion.java:79: cannot resolve symbol
>     [javac] symbol  : method initCause  (java.lang.Exception)
>     [javac] location: class
>     org.apache.xmlbeans.SchemaTypeLoaderException [javac]        
>     initCause(cause); [javac]         ^
>     [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:116:
> ca  
> nnot resolve symbol
>     [javac] symbol  : method initCause  (java.lang.Throwable)
>     [javac] location: class java.lang.RuntimeException
>     [javac]         e.initCause(cause);
>     [javac]          ^
>     [javac]
>    
>    
>    
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:264:
>     ca nnot resolve symbol [javac] symbol  : method getCause  ()
>     [javac] location: class
>     java.lang.reflect.InvocationTargetException [javac]            
>     throw causedException(new IllegalStateException(e.getMessage()),
>     e.getCause( )); [javac]                                          
> ^ [javac]
>    
>    
>    
>    
>    
>    
>    
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:284:
> ca nnot resolve symbol [javac] symbol  : method getCause  () [javac]
> location: class java.lang.reflect.InvocationTargetException [javac]  
> throw causedException(new IllegalStateException(e.getMessage()),
> e.getCause( )); [javac]                                              
> ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:343:
> ca nnot resolve symbol [javac] symbol  : method getCause  () [javac]
> location: class java.lang.reflect.InvocationTargetException [javac]  
> throw wrappedException(e.getCause()); [javac]                        
> ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:393:
> ca             
> nnot resolve symbol
>     [javac] symbol  : method getCause  ()
>     [javac] location: class
>     java.lang.reflect.InvocationTargetException [javac]            
>     throw wrappedException(e.getCause()); [javac]                    
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:417:
> ca  
> nnot resolve symbol
>     [javac] symbol  : method getCause  ()
>     [javac] location: class
>     java.lang.reflect.InvocationTargetException [javac]            
> throw causedException(new IllegalStateException(e.getMessage()),
>     e.getCause( )); [javac]                                          
>     ^ [javac]
> D:\work\xmlbeans\xml-xmlbeans\v1\src\xmlpublic\org\apache\xmlbeans\XmlBeans.java:477:
> ca  
> nnot resolve symbol
>     [javac] symbol  : method getCause  ()
>     [javac] location: class
>     java.lang.reflect.InvocationTargetException [javac]            
> throw causedException(new IllegalStateException(e.getMes! sage()),
>     e.getCause( )); [javac]                                          
>     ^ [javac] 46 errors
> 
> BUILD FAILED
> file:D:/work/xmlbeans/xml-xmlbeans/v1/build.xml:562: Compile failed;
> see the compiler error output f 
> or details.
> 
> Total time: 9 seconds
> D:\work\xmlbeans\xml-xmlbeans\v1>

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message