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. Wolfgang Kaltz" <ka...@interactivesystems.info> on 2005/03/21 14:56:11 UTC
building trunk
There is a build error on a fresh checkout of trunk (I did a build clean
on Cocoon & Lenya):
Error in: /home/ds9kaltz/src/lenya/trunk/src/confpatch/form-encoding.xweb
BUILD FAILED
/home/ds9kaltz/src/lenya/trunk/src/targets/init-build.xml:91:
IOException: java.io.IOException: XPath
(/web-app/servlet/init-param[param-name='form-encoding']/param-value)
returned not one node, but 0 nodes
I see that in the built web.xml, the form-encoding parameter is
commented out. It seems to be that way in the default web.xml delivered
with Cocoon. So the xpath would indeed return 0 nodes.
I saw there were some changes in the build process, maybe it's due to that ?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "J. Wolfgang Kaltz" <ka...@interactivesystems.info>.
Torsten Schlabach schrieb:
> I just tried with a clean checkout and a clean unpacked Cocoon source tree
> and I can confirm Wolfgang's problem.
>
> @Wolfgang:
>
>>>If I remove the commenting out in web.xml, the build works.
>
>
> Where? In cocoon/src/webapp ... ?
Yes; or afterwards in the web.xml copied into lenya
(./build/lenya/webapp/WEB-INF/web.xml)
remove the comments and run build again
Re: building trunk
Posted by Torsten Schlabach <ts...@apache.org>.
I just tried with a clean checkout and a clean unpacked Cocoon source tree
and I can confirm Wolfgang's problem.
@Wolfgang:
>> If I remove the commenting out in web.xml, the build works.
Where? In cocoon/src/webapp ... ?
Regards,
Torsten
> Gregor J. Rothfuss schrieb:
>> J. Wolfgang Kaltz wrote:
>>
>>> There is a build error on a fresh checkout of trunk (I did a build
>>> clean on Cocoon & Lenya):
>>>
>>> Error in:
>>> /home/ds9kaltz/src/lenya/trunk/src/confpatch/form-encoding.xweb
>>>
>>> BUILD FAILED
>>> /home/ds9kaltz/src/lenya/trunk/src/targets/init-build.xml:91:
>>> IOException: java.io.IOException: XPath
>>> (/web-app/servlet/init-param[param-name='form-encoding']/param-value)
>>> returned not one node, but 0 nodes
>>
>>
>> i just did a clean build of trunk, deleted the cocoon build too. worked
>> just fine for me.
>
> What version of Cocoon are you using ?
> in the Cocoon 2.1.6 sources, the web.xml has the form-encoding parameter
> commented out. And the current form-encoding.xweb seems to fail if that
> is the case.
>
> If I remove the commenting out in web.xml, the build works.
>
> ---------------------------------------------------------------------
> 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: building trunk
Posted by Andreas Hartmann <an...@wyona.org>.
Michael Wechner wrote:
> Gregor J. Rothfuss wrote:
>
>> Michael Wechner wrote:
>>
>>>> 2.1.7-dev
>>>
>>>
>>>
>>> I guess it would make sense to reflect that within
>>>
>>> build.properties
>>
>>
>>
>> or better yet, make it a rule that lenya trunk is to be compiled
>> against the 2.1 branch.
>
>
>
> then you might want to add BRANCH_2_1_X, whereas I think it's better to
> base
> Lenya on the most recent release (also 1.4-dev), because otherwise people
> might be hesitant to use it in production.
This has already be discussed, we agreed on continuous integration
for the trunk.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
> then you might want to add BRANCH_2_1_X, whereas I think it's better to
> base
> Lenya on the most recent release (also 1.4-dev), because otherwise people
> might be hesitant to use it in production.
fair enough. at the same time, i will always run against the latest from
svn to make sure it works.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:
> Michael Wechner wrote:
>
>>> 2.1.7-dev
>>
>>
>> I guess it would make sense to reflect that within
>>
>> build.properties
>
>
> or better yet, make it a rule that lenya trunk is to be compiled
> against the 2.1 branch.
then you might want to add BRANCH_2_1_X, whereas I think it's better to base
Lenya on the most recent release (also 1.4-dev), because otherwise people
might be hesitant to use it in production.
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
>> 2.1.7-dev
>
> I guess it would make sense to reflect that within
>
> build.properties
or better yet, make it a rule that lenya trunk is to be compiled against
the 2.1 branch. if you check out cocoon from svn and name it cocoon-2.1,
you don't have to change your l.b.p all the time.
it may even make sense to contemplate a move to 2.2, which is getting
closer as well:
http://www.anyware-tech.com/blogs/sylvain/archives/000171.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:
> J. Wolfgang Kaltz wrote:
>
>> What version of Cocoon are you using ?
>> in the Cocoon 2.1.6 sources, the web.xml has the form-encoding
>> parameter commented out. And the current form-encoding.xweb seems to
>> fail if that is the case.
>
>
> 2.1.7-dev
I guess it would make sense to reflect that within
build.properties
Michi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
J. Wolfgang Kaltz wrote:
> What version of Cocoon are you using ?
> in the Cocoon 2.1.6 sources, the web.xml has the form-encoding parameter
> commented out. And the current form-encoding.xweb seems to fail if that
> is the case.
2.1.7-dev
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "J. Wolfgang Kaltz" <ka...@interactivesystems.info>.
Gregor J. Rothfuss schrieb:
> J. Wolfgang Kaltz wrote:
>
>> There is a build error on a fresh checkout of trunk (I did a build
>> clean on Cocoon & Lenya):
>>
>> Error in: /home/ds9kaltz/src/lenya/trunk/src/confpatch/form-encoding.xweb
>>
>> BUILD FAILED
>> /home/ds9kaltz/src/lenya/trunk/src/targets/init-build.xml:91:
>> IOException: java.io.IOException: XPath
>> (/web-app/servlet/init-param[param-name='form-encoding']/param-value)
>> returned not one node, but 0 nodes
>
>
> i just did a clean build of trunk, deleted the cocoon build too. worked
> just fine for me.
What version of Cocoon are you using ?
in the Cocoon 2.1.6 sources, the web.xml has the form-encoding parameter
commented out. And the current form-encoding.xweb seems to fail if that
is the case.
If I remove the commenting out in web.xml, the build works.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: building trunk
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
J. Wolfgang Kaltz wrote:
> There is a build error on a fresh checkout of trunk (I did a build clean
> on Cocoon & Lenya):
>
> Error in: /home/ds9kaltz/src/lenya/trunk/src/confpatch/form-encoding.xweb
>
> BUILD FAILED
> /home/ds9kaltz/src/lenya/trunk/src/targets/init-build.xml:91:
> IOException: java.io.IOException: XPath
> (/web-app/servlet/init-param[param-name='form-encoding']/param-value)
> returned not one node, but 0 nodes
i just did a clean build of trunk, deleted the cocoon build too. worked
just fine for me.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org