You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jörn Nettingsmeier <po...@uni-duisburg-essen.de> on 2006/09/25 10:43:48 UTC

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

andreas@apache.org wrote:
> Author: andreas
> Date: Sun Sep 24 11:39:41 2006
> New Revision: 449456
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=449456
> Log:
> Set eol-style to native, set Trax TransformerFactory explicitely. This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.

this revision breaks the build on linux/x86_64 (opensuse 10.1):

prepare-modules:
Processing /srv/lenya/build/lenya/temp/modules.xml to 
/srv/lenya/build/lenya/temp/modules-build.xml
Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl

BUILD FAILED
/srv/lenya/src/targets/webapp-build.xml:163: The following error 
occurred while executing this line:
java.lang.NoClassDefFoundError: org/apache/bcel/generic/InstructionConstants

removing the added line
+      <factory name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
fixes the problem for me.

can other unix users confirm this problem, or is that a 
distribution-specific issue?



-- 
"Open source takes the bullshit out of software."
	- Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736

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


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

Posted by Jürgen Ragaller <ra...@null-oder-eins.ch>.
Am 25.09.2006 um 10:43 schrieb Jörn Nettingsmeier:

> andreas@apache.org wrote:
>> Author: andreas
>> Date: Sun Sep 24 11:39:41 2006
>> New Revision: 449456
>> URL: http://svn.apache.org/viewvc?view=rev&rev=449456
>> Log:
>> Set eol-style to native, set Trax TransformerFactory explicitely.  
>> This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.
>
> this revision breaks the build on linux/x86_64 (opensuse 10.1):
>
> prepare-modules:
> Processing /srv/lenya/build/lenya/temp/modules.xml to /srv/lenya/ 
> build/lenya/temp/modules-build.xml
> Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl
>
> BUILD FAILED
> /srv/lenya/src/targets/webapp-build.xml:163: The following error  
> occurred while executing this line:
> java.lang.NoClassDefFoundError: org/apache/bcel/generic/ 
> InstructionConstants
>
> removing the added line
> +      <factory  
> name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
> fixes the problem for me.
>
> can other unix users confirm this problem, or is that a  
> distribution-specific issue?

Same thing here - was just about to write a mail...

Jürgen

>
>
>
> -- 
> "Open source takes the bullshit out of software."
> 	- Charles Ferguson on TechnologyReview.com
>
> --
> Jörn Nettingsmeier, EDV-Administrator
> Institut für Politikwissenschaft
> Universität Duisburg-Essen, Standort Duisburg
> Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>


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


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

Posted by Renaud Richardet <re...@wyona.com>.
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


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

Posted by Jonathan Addison <jo...@wyona.com>.
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.

> Gav...
>
>   
>> josias
>>
>>
>>     
>>> HTH
>>>
>>> salu2
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.12.9/456 - Release Date: 9/25/2006
>>     
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
>   


-- 
Jonathan Addison                                 jon<at>wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
 


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


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

Posted by "Gav...." <br...@brightontown.com.au>.

> -----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.

Gav...

> 
> josias
> 
> 
> >
> > HTH
> >
> > salu2
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.9/456 - Release Date: 9/25/2006




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


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

Posted by Josias Thöny <jo...@wyona.com>.
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.

josias


> 
> HTH
> 
> salu2


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


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

Posted by Thorsten Scherler <th...@apache.org>.
On Mon, 2006-09-25 at 14:58 -0400, Jonathan Addison wrote:
> Jörn Nettingsmeier wrote:
> > Josias Thöny wrote:
> >> On Mon, 2006-09-25 at 10:43 +0200, Jörn Nettingsmeier wrote:
> >>> andreas@apache.org wrote:
> >>>> Author: andreas
> >>>> Date: Sun Sep 24 11:39:41 2006
> >>>> New Revision: 449456
> >>>>
> >>>> URL: http://svn.apache.org/viewvc?view=rev&rev=449456
> >>>> Log:
> >>>> Set eol-style to native, set Trax TransformerFactory explicitely. 
> >>>> This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.
> >>> this revision breaks the build on linux/x86_64 (opensuse 10.1):
> >>>
> >>> prepare-modules:
> >>> Processing /srv/lenya/build/lenya/temp/modules.xml to 
> >>> /srv/lenya/build/lenya/temp/modules-build.xml
> >>> Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl
> >>>
> >>> BUILD FAILED
> >>> /srv/lenya/src/targets/webapp-build.xml:163: The following error 
> >>> occurred while executing this line:
> >>> java.lang.NoClassDefFoundError: 
> >>> org/apache/bcel/generic/InstructionConstants
> >>>
> >>> removing the added line
> >>> +      <factory 
> >>> name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
> >>> fixes the problem for me.
> >>>
> >>> can other unix users confirm this problem, or is that a 
> >>> distribution-specific issue?
> >>
> >> I can confirm the problem (Ubuntu 6.06, x86_32, JDK 1.4.2).
> >> I just committed a change to build.sh (path of endorsed libraries). Now
> >> the build works again for me.
> >> Please test.
> >
> > works for me as well. thanks for the fix!
> >
> >
> 
> After an svn update on windows I am still receiving a build error:
> 
> prepare-modules:
> Processing D:\src\lenya-1.4.x\build\lenya\temp\modules.xml to 
> D:\src\lenya-1.4.x
> \build\lenya\temp\modules-build.xml
> Loading stylesheet D:\src\lenya-1.4.x\src\resources\build\modules2build.xsl
> 
> 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)."

HTH

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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


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

Posted by Jonathan Addison <jo...@wyona.com>.
Jörn Nettingsmeier wrote:
> Josias Thöny wrote:
>> On Mon, 2006-09-25 at 10:43 +0200, Jörn Nettingsmeier wrote:
>>> andreas@apache.org wrote:
>>>> Author: andreas
>>>> Date: Sun Sep 24 11:39:41 2006
>>>> New Revision: 449456
>>>>
>>>> URL: http://svn.apache.org/viewvc?view=rev&rev=449456
>>>> Log:
>>>> Set eol-style to native, set Trax TransformerFactory explicitely. 
>>>> This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.
>>> this revision breaks the build on linux/x86_64 (opensuse 10.1):
>>>
>>> prepare-modules:
>>> Processing /srv/lenya/build/lenya/temp/modules.xml to 
>>> /srv/lenya/build/lenya/temp/modules-build.xml
>>> Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl
>>>
>>> BUILD FAILED
>>> /srv/lenya/src/targets/webapp-build.xml:163: The following error 
>>> occurred while executing this line:
>>> java.lang.NoClassDefFoundError: 
>>> org/apache/bcel/generic/InstructionConstants
>>>
>>> removing the added line
>>> +      <factory 
>>> name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
>>> fixes the problem for me.
>>>
>>> can other unix users confirm this problem, or is that a 
>>> distribution-specific issue?
>>
>> I can confirm the problem (Ubuntu 6.06, x86_32, JDK 1.4.2).
>> I just committed a change to build.sh (path of endorsed libraries). Now
>> the build works again for me.
>> Please test.
>
> works for me as well. thanks for the fix!
>
>

After an svn update on windows I am still receiving a build error:

prepare-modules:
Processing D:\src\lenya-1.4.x\build\lenya\temp\modules.xml to 
D:\src\lenya-1.4.x
\build\lenya\temp\modules-build.xml
Loading stylesheet D:\src\lenya-1.4.x\src\resources\build\modules2build.xsl

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?

-- 
Jonathan Addison                                 jon<at>wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
 


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


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

Posted by Jörn Nettingsmeier <po...@uni-duisburg-essen.de>.
Josias Thöny wrote:
> On Mon, 2006-09-25 at 10:43 +0200, Jörn Nettingsmeier wrote:
>> andreas@apache.org wrote:
>>> Author: andreas
>>> Date: Sun Sep 24 11:39:41 2006
>>> New Revision: 449456
>>>
>>> URL: http://svn.apache.org/viewvc?view=rev&rev=449456
>>> Log:
>>> Set eol-style to native, set Trax TransformerFactory explicitely. This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.
>> this revision breaks the build on linux/x86_64 (opensuse 10.1):
>>
>> prepare-modules:
>> Processing /srv/lenya/build/lenya/temp/modules.xml to 
>> /srv/lenya/build/lenya/temp/modules-build.xml
>> Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl
>>
>> BUILD FAILED
>> /srv/lenya/src/targets/webapp-build.xml:163: The following error 
>> occurred while executing this line:
>> java.lang.NoClassDefFoundError: org/apache/bcel/generic/InstructionConstants
>>
>> removing the added line
>> +      <factory name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
>> fixes the problem for me.
>>
>> can other unix users confirm this problem, or is that a 
>> distribution-specific issue?
> 
> I can confirm the problem (Ubuntu 6.06, x86_32, JDK 1.4.2).
> I just committed a change to build.sh (path of endorsed libraries). Now
> the build works again for me.
> Please test.

works for me as well. thanks for the fix!


-- 
"Open source takes the bullshit out of software."
	- Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736

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


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

Posted by Josias Thöny <jo...@wyona.com>.
On Mon, 2006-09-25 at 10:43 +0200, Jörn Nettingsmeier wrote:
> andreas@apache.org wrote:
> > Author: andreas
> > Date: Sun Sep 24 11:39:41 2006
> > New Revision: 449456
> > 
> > URL: http://svn.apache.org/viewvc?view=rev&rev=449456
> > Log:
> > Set eol-style to native, set Trax TransformerFactory explicitely. This fixes bug 40113. Thanks to Michael Wohlfahrt for the patch.
> 
> this revision breaks the build on linux/x86_64 (opensuse 10.1):
> 
> prepare-modules:
> Processing /srv/lenya/build/lenya/temp/modules.xml to 
> /srv/lenya/build/lenya/temp/modules-build.xml
> Loading stylesheet /srv/lenya/src/resources/build/modules2build.xsl
> 
> BUILD FAILED
> /srv/lenya/src/targets/webapp-build.xml:163: The following error 
> occurred while executing this line:
> java.lang.NoClassDefFoundError: org/apache/bcel/generic/InstructionConstants
> 
> removing the added line
> +      <factory name="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" />
> fixes the problem for me.
> 
> can other unix users confirm this problem, or is that a 
> distribution-specific issue?

I can confirm the problem (Ubuntu 6.06, x86_32, JDK 1.4.2).
I just committed a change to build.sh (path of endorsed libraries). Now
the build works again for me.
Please test.

Josias

> 
> 
> 


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