You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Renaud Richardet <re...@wyona.com> on 2006/10/02 20:38:28 UTC

Re: svn commit: r449456- /lenya/trunk/src/targets/modules-build.xml

Jonathan Addison wrote:
> Hi Gav,
>
> Gav.... wrote:
>>  
>>> -----Original Message-----
>>> From: Josias Thöny [mailto:josias.thoeny@wyona.com]
>>> Sent: Tuesday, 26 September 2006 5:28 PM
>>> To: dev@lenya.apache.org
>>> Subject: Re: svn commit: r449456- /lenya/trunk/src/targets/modules-
>>> build.xml
>>>
>>> On Tue, 2006-09-26 at 11:18 +0200, Thorsten Scherler wrote:
>>>    
>>>> On Mon, 2006-09-25 at 14:58 -0400, Jonathan Addison wrote:
>>>>       
>>> [...]
>>>    
>>>>> BUILD FAILED
>>>>> D:\src\lenya-1.4.x\src\targets\webapp-build.xml:163: The following
>>>>>         
>>> error
>>>    
>>>>> occurre
>>>>> d while executing this line:
>>>>> java.lang.IllegalAccessError: class
>>>>> org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$Ance
>>>>> storIterator cannot access its superclass
>>>>> org.apache.xml.dtm.ref.DTMDefaultBaseI
>>>>> terators$InternalAxisIteratorBase
>>>>>
>>>>> Can anyone else confirm this?
>>>>>         
>>>> Hmm, seems that one need to apply the patch of the build.sh as well on
>>>> the build.bat. Josias wrote "I just committed a change to build.sh 
>>>> (path
>>>> of endorsed libraries)."
>>>>       
>>> Actually the path of the endorsed libraries looks ok in build.bat.
>>> Probably it's a different problem, but I have no clue what it might be.
>>>     
>>
>> I just svn up to the latest and can build on Windows using Java 1.5.08
>> Without errors - using the supplied build.bat.
>> No help I'm sure but just to clarify it does work as is, so maybe a 
>> Local problem.
>>   
>
> Thanks for checking.  It may be a local problem on my machine, but if 
> I remove this line:
>
> <factory name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
>
> from modules-build.xml then it works.
>
> Am I missing a library?  Btw I am using Java 1.4.
Similar problem here with Java 1.4, I get the following error:

prepare-modules:
     [xslt] Processing 
/home/lenya-1.4.x_trunk/build/lenya/temp/modules.xml to 
/home/lenya-1.4.x_trunk/build/lenya/temp/modules-build.xml
     [xslt] Loading stylesheet 
/home/lenya-1.4.x_trunk/src/resources/build/modules2build.xsl
     [xslt] Failed to process 
/home/lenya-1.4.x_trunk/build/lenya/temp/modules.xml

BUILD FAILED
/home/lenya-1.4.x_trunk/src/targets/webapp-build.xml:163: The following 
error occurred while executing this line:
/home/lenya-1.4.x_trunk/src/targets/modules-build.xml:41: 
java.lang.ClassNotFoundException: 
org.apache.xalan.xsltc.trax.TransformerFactoryImpl

and removing the line <factory 
name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
from modules-build.xml as Jonathan suggests fixes it.

Thanks,
Renaud

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org