You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by Noah Campbell <no...@gmail.com> on 2004/06/19 23:51:33 UTC

network downloads disabled error

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/


Re: network downloads disabled error

Posted by Noah Campbell <no...@gmail.com>.
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
<no...@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/


Re: network downloads disabled error

Posted by Noah Campbell <no...@gmail.com>.
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
<no...@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/