[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    Re: network downloads disabled error
From:       Noah Campbell <noahcampbell () gmail ! com>
Date:       2004-06-20 0:02:51
Message-ID: de70b39d04061917027cb5f7f8 () mail ! gmail ! com
[Download RAW message or body]

I did the cvs fetch from eclipse.  I also tried building from the
command line and got the same error.

I'll remove the -dl switch and see if I can make it work.

Thanks,
Noah

On Sat, 19 Jun 2004 15:21:54 -0700, Radu Preotiuc-Pietro <radup@bea.com> wrote:
> 
> Hm, I have just built v2 and it works fine for me. I would not reccomend using that \
> "-dl" switch during build. Maybe something wrong in your eclipse setup rather?
> The schema that was not found originally was supposed to be picked up from \
> "xml-xmlbeans\v2\src\xmlschema\schema", hope this helps 
> Radu
> 
> 
> 
> -----Original Message-----
> From: Noah Campbell [mailto:noahcampbell@gmail.com]
> Sent: Saturday, June 19, 2004 3:03 PM
> To: xmlbeans-dev@xml.apache.org
> Subject: Re: network downloads disabled error
> 
> Sorry to followup with my own post but I got the following error:
> 
> used java 1.4 and 1.5
> 
> typeimpl.classes:
> [javac] Compiling 429 source files to C:\Program Files\eclipse\workspace\xml
> -xmlbeans\v2\build\classes\typeimpl
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\BaseAttribute.java:17: duplicate class: org.w3.xml
> .x1998.namespace.BaseAttribute
> [javac] public interface BaseAttribute extends org.apache.xmlbeans.XmlObject
> 
> [javac]        ^
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\LangAttribute.java:17: duplicate class: org.w3.xml
> .x1998.namespace.LangAttribute
> [javac] public interface LangAttribute extends org.apache.xmlbeans.XmlObject
> 
> [javac]        ^
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\SpaceAttribute.java:17: duplicate class: org.w3.xm
> l.x1998.namespace.SpaceAttribute
> [javac] public interface SpaceAttribute extends org.apache.xmlbeans.XmlObjec
> t
> [javac]        ^
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\impl\BaseAttributeImpl.java:15: duplicate class: o
> rg.w3.xml.x1998.namespace.impl.BaseAttributeImpl
> [javac] public class BaseAttributeImpl extends org.apache.xmlbeans.impl.valu
> es.XmlComplexContentImpl implements org.w3.xml.x1998.namespace.BaseAttribute
> [javac]        ^
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\impl\LangAttributeImpl.java:15: duplicate class: o
> rg.w3.xml.x1998.namespace.impl.LangAttributeImpl
> [javac] public class LangAttributeImpl extends org.apache.xmlbeans.impl.valu
> es.XmlComplexContentImpl implements org.w3.xml.x1998.namespace.LangAttribute
> [javac]        ^
> [javac] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build\src\xsdsche
> ma\org\w3\xml\x1998\namespace\impl\SpaceAttributeImpl.java:15: duplicate class:
> org.w3.xml.x1998.namespace.impl.SpaceAttributeImpl
> [javac] public class SpaceAttributeImpl extends org.apache.xmlbeans.impl.val
> ues.XmlComplexContentImpl implements org.w3.xml.x1998.namespace.SpaceAttribute
> [javac]        ^
> [javac] Note: * uses or overrides a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 6 errors
> 
> BUILD FAILED
> C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\build.xml:387: Compile failed
> ; see the compiler error output for details.
> 
> On Sat, 19 Jun 2004 17:51:33 -0400, Noah Campbell
> <noahcampbell@gmail.com> wrote:
> > 
> > Hi,
> > 
> > When I checked out xmlbeans from CVS on 6/20/04 ~ 5:30pm EST I got the
> > following error when I ran ant in the v2 directory.
> > 
> > After a little digging I added the -dl flag to the xsdschema.classes
> > arg list.  After that it compiles.
> > 
> > Cheers,
> > Noah
> > 
> > xsdschema.classes:
> > [delete] Deleting directory C:\Program Files\eclipse\workspace\xml-xmlbeans\v
> > 2\build\classes\xsdschema
> > [java] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\src\xsdschema\sch
> > ema\XMLSchema.xsd:0: error: Could not load resource "http://www.w3.org/2001/xml.
> > xsd" (network downloads disabled).
> > [java] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\src\xsdschema\sch
> > ema\XMLSchema.xsd:0: warning: Schema <notation> is not yet supported for this re
> > lease.
> > [java] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\src\xsdschema\sch
> > ema\XMLSchema.xsd:0: error: Attribute lang@http://www.w3.org/XML/1998/namespace
> > not found.
> > [java] C:\Program Files\eclipse\workspace\xml-xmlbeans\v2\src\xsdschema\sch
> > ema\XMLSchema.xsd:0: error: Attribute lang@http://www.w3.org/XML/1998/namespace
> > not found.
> > [java] Time to build schema type system: 1.641 seconds
> > [java] BUILD FAILED
> > 
> 
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
> 
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
> 
> 

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic