You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/03/01 00:24:00 UTC

Re: Problem: Building Cocoon with ant under Eclipse 3.0M7

Gianugo Rabellino dijo:
> Antoine Lévy-Lambert wrote:
>
>> Hi Andreas,
>>
>> I do not know what is causing your problem, and whether your problem is
>> solved in ant 1.6.1.
>> Maybe it is a problem connected to Eclipse integration.
>>
>> I do not really have a clue why you are getting this illegal argument
>> exception.
>>
>
> I was hit by that a few days ago on a different project, and it's an
> endorsed problem, due to a wrong Xerces version. Now, don't ask me how
> to fix that in eclipse, but if you can make ant use Cocoon's xerces you
> should be fine.

This is a very weird error. I am compiling and debugging Cocoon CVS with
Eclipse 3.0 M7 and no problems reported.

I don't think the problem is releated to Xerces in ant 1.6.1:

Eclipse 3.0 M7 uses Ant 1.6.0 and XML4J 4.0.13 based on Xerces 2.0.0
<website>http://www.alphaworks.ibm.com/tech/xml4j</website>
Cocoon 2.1.5-dev (CVS) uses Ant 1.6.1 and Xerces 2.6.2

I will review the build system if there can be a potential problem.

Hope this help.

Best Regards,

Antonio Gallardo

Re: Problem: Building Cocoon with ant under Eclipse 3.0M7

Posted by Joerg Heinicke <jo...@gmx.de>.
On 01.03.2004 00:24, Antonio Gallardo wrote:

>>I was hit by that a few days ago on a different project, and it's an
>>endorsed problem, due to a wrong Xerces version. Now, don't ask me how
>>to fix that in eclipse, but if you can make ant use Cocoon's xerces you
>>should be fine.
> 
> 
> This is a very weird error. I am compiling and debugging Cocoon CVS with
> Eclipse 3.0 M7 and no problems reported.
> 
> I don't think the problem is releated to Xerces in ant 1.6.1:
> 
> Eclipse 3.0 M7 uses Ant 1.6.0 and XML4J 4.0.13 based on Xerces 2.0.0
> <website>http://www.alphaworks.ibm.com/tech/xml4j</website>
> Cocoon 2.1.5-dev (CVS) uses Ant 1.6.1 and Xerces 2.6.2
> 
> I will review the build system if there can be a potential problem.

I don't understand your argument. I'm almost sure it is an endorsed libs 
problem as almost everything related to XML and JDK 1.4 is a endorsed 
libs problem :-( I don't see how Eclipse (or the ant process started 
from inside Eclipse) should make an exception for this.

Joerg