You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <cz...@apache.org> on 2006/05/19 10:12:32 UTC

[2.2] Error building trunk

After the recent changes to our poms, I get the following error:

It seems that we are now using the wrong xml-apis version for compilation.

Carsten

Downloading:
http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
-2.8.0.pom
1K downloaded
Downloading:
http://mirrors.sunsite.dk/maven2/xml-apis/xml-apis/1.3.03/xml-apis-
1.3.03.pom
[WARNING] Unable to get resource from repository central
(http://ibiblio.org/mav
en2)
Downloading:
http://svn.apache.org/maven-snapshot-repository/xml-apis/xml-apis/1
.3.03/xml-apis-1.3.03.pom
[WARNING] Unable to get resource from repository apache.snapshot
(http://svn.apa
che.org/maven-snapshot-repository)
Downloading:
http://svn.apache.org/repository/xml-apis/poms/xml-apis-1.3.03.pom
[WARNING] Unable to get resource from repository apache-cvs
(http://svn.apache.o
rg/repository)
Downloading:
http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
-2.8.0.jar
1178K downloaded
[INFO] [compiler:compile]
Compiling 651 source files to
D:\dev\workspace\cocoon-2.2\core\cocoon-core\targe
t\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
\dom\DocumentWrapper.java:[26,19] cannot resolve symbol
symbol  : class DOMConfiguration
location: package dom

D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
\dom\DocumentWrapper.java:[39,19] cannot resolve symbol
symbol  : class UserDataHandler
location: package dom

D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
\dom\DocumentWrapper.java:[913,11] cannot resolve symbol
symbol  : class DOMConfiguration
location: class org.apache.cocoon.xml.dom.DocumentWrapper

D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
\dom\DocumentWrapper.java:[1011,56] cannot resolve symbol
symbol  : class UserDataHandler
location: class org.apache.cocoon.xml.dom.DocumentWrapper

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: [2.2] Error building trunk

Posted by Jorg Heymans <jh...@domek.be>.
Carsten Ziegeler wrote:
> After the recent changes to our poms, I get the following error:
> 
> It seems that we are now using the wrong xml-apis version for compilation.
> 

The only thing that i absolutely don't understand is why continuum did
not send a notification to the mailing list. It is scheduled to do a
clean build at 3am of all blocks that have scm changes, it should have
flagged this.

puzzled ...

Jorg


Re: [2.2] Error building trunk

Posted by Antonio Gallardo <ag...@agssa.net>.
Carsten Ziegeler escribió:
> Antonio Gallardo wrote:
>   
>> Hi Carsten,
>>
>> Would you send the result of
>>
>> ls -l ~/.m2/repository/xml-apis/xml-apis/1.3.03/
>>
>> in your machine?
>>
>>     
> I don't have a 1.3.03 directory there.
>   
Hence this is the problem. ;-)

Best Regards,

Antonio Gallardo.


Re: [2.2] Error building trunk

Posted by Carsten Ziegeler <cz...@apache.org>.
Antonio Gallardo wrote:
> Hi Carsten,
> 
> Would you send the result of
> 
> ls -l ~/.m2/repository/xml-apis/xml-apis/1.3.03/
> 
> in your machine?
> 
I don't have a 1.3.03 directory there.

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: [2.2] Error building trunk

Posted by Antonio Gallardo <ag...@agssa.net>.
Carsten Ziegeler escribió:
> The problem is that the version used by Xerces only supports Dom-level 2
> while we support
> DOM level 3 in some classes. I think we can just keep our own dependency
> to xml-apis and are done.
>   
Hi Carsten,

Would you send the result of

ls -l ~/.m2/repository/xml-apis/xml-apis/1.3.03/

in your machine?

Best Regards,

Antonio Gallardo.


Re: [2.2] Error building trunk

Posted by Carsten Ziegeler <cz...@apache.org>.
Reinhard Poetz wrote:
> Carsten Ziegeler wrote:
>> After the recent changes to our poms, I get the following error:
>>
>> It seems that we are now using the wrong xml-apis version for compilation.
> 
> sorry, was my fault. I forgot to checkin some changes. The problem is that 
> Xerces 2.8.0 has a transitive dependency on xml-apis 1.3.03.
> 
> I'm not a DOM specialist, but could somebody upgrade the three or four classes 
> that have problems with 1.3.03 so that they work together?
> 
The problem is that the version used by Xerces only supports Dom-level 2
while we support
DOM level 3 in some classes. I think we can just keep our own dependency
to xml-apis and are done.

Carsten
-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: [2.2] Error building trunk

Posted by Reinhard Poetz <re...@apache.org>.
Carsten Ziegeler wrote:
> After the recent changes to our poms, I get the following error:
> 
> It seems that we are now using the wrong xml-apis version for compilation.

sorry, was my fault. I forgot to checkin some changes. The problem is that 
Xerces 2.8.0 has a transitive dependency on xml-apis 1.3.03.

I'm not a DOM specialist, but could somebody upgrade the three or four classes 
that have problems with 1.3.03 so that they work together?


-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Re: [2.2] Error building trunk

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Carsten:

Seems like by error xml-apis jar in the ibiblio maven2 repository was 
stored as a maven 1 artifact:

http://ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/

Best Regards,

Antonio Gallardo.

Carsten Ziegeler escribió:
> After the recent changes to our poms, I get the following error:
>
> It seems that we are now using the wrong xml-apis version for compilation.
>
> Carsten
>
> Downloading:
> http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
> -2.8.0.pom
> 1K downloaded
> Downloading:
> http://mirrors.sunsite.dk/maven2/xml-apis/xml-apis/1.3.03/xml-apis-
> 1.3.03.pom
> [WARNING] Unable to get resource from repository central
> (http://ibiblio.org/mav
> en2)
> Downloading:
> http://svn.apache.org/maven-snapshot-repository/xml-apis/xml-apis/1
> .3.03/xml-apis-1.3.03.pom
> [WARNING] Unable to get resource from repository apache.snapshot
> (http://svn.apa
> che.org/maven-snapshot-repository)
> Downloading:
> http://svn.apache.org/repository/xml-apis/poms/xml-apis-1.3.03.pom
> [WARNING] Unable to get resource from repository apache-cvs
> (http://svn.apache.o
> rg/repository)
> Downloading:
> http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
> -2.8.0.jar
> 1178K downloaded
> [INFO] [compiler:compile]
> Compiling 651 source files to
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\targe
> t\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[26,19] cannot resolve symbol
> symbol  : class DOMConfiguration
> location: package dom
>
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[39,19] cannot resolve symbol
> symbol  : class UserDataHandler
> location: package dom
>
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[913,11] cannot resolve symbol
> symbol  : class DOMConfiguration
> location: class org.apache.cocoon.xml.dom.DocumentWrapper
>
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[1011,56] cannot resolve symbol
> symbol  : class UserDataHandler
> location: class org.apache.cocoon.xml.dom.DocumentWrapper
>
>   


Re: [2.2] Error building trunk

Posted by Carsten Ziegeler <cz...@apache.org>.
I just readded the dependency to xml-apis to fix these problems on my
machine.

Carsten

Carsten Ziegeler schrieb:
> After the recent changes to our poms, I get the following error:
> 
> It seems that we are now using the wrong xml-apis version for compilation.
> 
> Carsten
> 
> Downloading:
> http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
> -2.8.0.pom
> 1K downloaded
> Downloading:
> http://mirrors.sunsite.dk/maven2/xml-apis/xml-apis/1.3.03/xml-apis-
> 1.3.03.pom
> [WARNING] Unable to get resource from repository central
> (http://ibiblio.org/mav
> en2)
> Downloading:
> http://svn.apache.org/maven-snapshot-repository/xml-apis/xml-apis/1
> .3.03/xml-apis-1.3.03.pom
> [WARNING] Unable to get resource from repository apache.snapshot
> (http://svn.apa
> che.org/maven-snapshot-repository)
> Downloading:
> http://svn.apache.org/repository/xml-apis/poms/xml-apis-1.3.03.pom
> [WARNING] Unable to get resource from repository apache-cvs
> (http://svn.apache.o
> rg/repository)
> Downloading:
> http://mirrors.sunsite.dk/maven2/xerces/xercesImpl/2.8.0/xercesImpl
> -2.8.0.jar
> 1178K downloaded
> [INFO] [compiler:compile]
> Compiling 651 source files to
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\targe
> t\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[26,19] cannot resolve symbol
> symbol  : class DOMConfiguration
> location: package dom
> 
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[39,19] cannot resolve symbol
> symbol  : class UserDataHandler
> location: package dom
> 
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[913,11] cannot resolve symbol
> symbol  : class DOMConfiguration
> location: class org.apache.cocoon.xml.dom.DocumentWrapper
> 
> D:\dev\workspace\cocoon-2.2\core\cocoon-core\src\main\java\org\apache\cocoon\xml
> \dom\DocumentWrapper.java:[1011,56] cannot resolve symbol
> symbol  : class UserDataHandler
> location: class org.apache.cocoon.xml.dom.DocumentWrapper
> 


-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Re: [2.2] Error building trunk

Posted by Giacomo Pati <gi...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Fri, 19 May 2006, Antonio Gallardo wrote:

> Date: Fri, 19 May 2006 09:25:04 -0500
> From: Antonio Gallardo <ag...@agssa.net>
> Reply-To: dev@cocoon.apache.org
> To: dev@cocoon.apache.org
> Subject: Re: [2.2] Error building trunk
> 
> Giacomo Pati escribió:
>>  -----BEGIN PGP SIGNED MESSAGE-----
>>  Hash: SHA1
>>
>>  On Fri, 19 May 2006, Carsten Ziegeler wrote:
>> 
>> >  Date: Fri, 19 May 2006 10:12:32 +0200
>> >  From: Carsten Ziegeler <cz...@apache.org>
>> >  Reply-To: dev@cocoon.apache.org
>> >  To: Cocoon-Dev <de...@cocoon.apache.org>
>> >  Subject: [2.2] Error building trunk
>> > 
>> >  After the recent changes to our poms, I get the following error:
>>
>>  I've changed one to sync them to xercesImpl-2.8.0 (which another pom.xml
>>  was changed by someone to that version). But my trunk compiles without
>>  problems.
>> 
>> >  It seems that we are now using the wrong xml-apis version for 
>> >  compilation.
>>
>>  There is 2.0.2 available on ibiblio but I dunno whether this is needed (a
>>  change from 1.X to 2.X on an api jar makes me think about compatability
>>  problems).
> In xml-apis, there was a versioning problem and for this reasons 2.0.2 is 
> older than 1.3.03. 2.0.2 does not contain DOM 3. xml-apis 1.3.03 contains DOM 
> 3 and is the latest version.

Oh, I remember (long long ago IIRC) Thanks for clarification.

- -- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEbdg9LNdJvZjjVZARAsbXAJ9+t6jQBA1Z7X43tUWVsvpc50CuegCfYcxT
YQ8fZMlBrVOsnwdk7zYkKgQ=
=nSLO
-----END PGP SIGNATURE-----

Re: [2.2] Error building trunk

Posted by Antonio Gallardo <ag...@agssa.net>.
Giacomo Pati escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 19 May 2006, Carsten Ziegeler wrote:
>
>> Date: Fri, 19 May 2006 10:12:32 +0200
>> From: Carsten Ziegeler <cz...@apache.org>
>> Reply-To: dev@cocoon.apache.org
>> To: Cocoon-Dev <de...@cocoon.apache.org>
>> Subject: [2.2] Error building trunk
>>
>> After the recent changes to our poms, I get the following error:
>
> I've changed one to sync them to xercesImpl-2.8.0 (which another 
> pom.xml was changed by someone to that version). But my trunk compiles 
> without problems.
>
>> It seems that we are now using the wrong xml-apis version for 
>> compilation.
>
> There is 2.0.2 available on ibiblio but I dunno whether this is needed 
> (a change from 1.X to 2.X on an api jar makes me think about 
> compatability problems).
In xml-apis, there was a versioning problem and for this reasons 2.0.2 
is older than 1.3.03. 2.0.2 does not contain DOM 3. xml-apis 1.3.03 
contains DOM 3 and is the latest version.

Best Regards,

Antonio Gallardo.


Re: [2.2] Error building trunk

Posted by Giacomo Pati <gi...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 19 May 2006, Carsten Ziegeler wrote:

> Date: Fri, 19 May 2006 10:12:32 +0200
> From: Carsten Ziegeler <cz...@apache.org>
> Reply-To: dev@cocoon.apache.org
> To: Cocoon-Dev <de...@cocoon.apache.org>
> Subject: [2.2] Error building trunk
> 
> After the recent changes to our poms, I get the following error:

I've changed one to sync them to xercesImpl-2.8.0 (which another pom.xml 
was changed by someone to that version). But my trunk compiles without 
problems.

> It seems that we are now using the wrong xml-apis version for compilation.

There is 2.0.2 available on ibiblio but I dunno whether this is needed 
(a change from 1.X to 2.X on an api jar makes me think about 
compatability problems).

Giacomo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEbYGXLNdJvZjjVZARAkgBAJ4zuGyaAI4kcWHHYTxY3ssg+IXZ4QCg0SZF
RgBgQkSO937dzVPEzvPGeno=
=MR7y
-----END PGP SIGNATURE-----