You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by dave- <da...@pacbell.net> on 2005/07/02 01:03:25 UTC

1_4_ALPHA_1 BUILD FAILED: webapp-build.xml:69: Unable to delete file cocoon.xconf.ant_patch

I started with a clean system and did the following:

svn checkout
- http://svn.apache.org/repos/asf/cocoon/tags/RELEASE_2_1_7/   to 
c:\ws27\cocoon-2.1.7
- http://svn.apache.org/repos/asf/lenya/tags/RELEASE_1_4_ALPHA_1  to 
c:\ws27\to lenya-1.4.x

set environment variables to
- JAVA_HOME=C:\j2sdk1.4.2_07
- COCOON_HOME=C:\ws27\cocoon-2.1.7
- COCOON_WEBAPP=C:\ws27\cocoon-2.1.7\build\webapp
- LENYA_HOME=C:\ws27\lenya-1.4.x

copy C:\ws27\lenya-1.4.x\src\cocoon\*.properties C:\ws27\cocoon-2.1.7

cd C:\ws27\cocoon-2.1.7
build

cd c:\ws27\lenya-1.4.x
copy build.properties local.build.properties

edit local.build.properties to
- cocoon.src.dir=../cocoon-2.1.7
- enable.uploads=true

build

The BUILD FAILED with the following error message:
- C:\ws27\lenya-1.4.x\src\targets\webapp-build.xml:69: Unable to delete 
file C:\ws27\lenya-1.4.x\build\lenya\webapp\WEB-INF\cocoon.xconf.ant_patch

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


Re: 1_4_ALPHA_1 BUILD FAILED: webapp-build.xml:69: Unable to delete file cocoon.xconf.ant_patch

Posted by dave- <da...@pacbell.net>.
Jann Forrer wrote:

>On Fri, 1 Jul 2005, dave- wrote:
>
>> started with a clean system and did the following:
>>
>>svn checkout
>>- http://svn.apache.org/repos/asf/cocoon/tags/RELEASE_2_1_7/   to
>>c:\ws27\cocoon-2.1.7
>>- http://svn.apache.org/repos/asf/lenya/tags/RELEASE_1_4_ALPHA_1  to
>>c:\ws27\to lenya-1.4.x
>>
>[ ... ]
>  
>
>>build
>>
>>The BUILD FAILED with the following error message:
>>- C:\ws27\lenya-1.4.x\src\targets\webapp-build.xml:69: Unable to delete
>>file C:\ws27\lenya-1.4.x\build\lenya\webapp\WEB-INF\cocoon.xconf.ant_patch
>>
>I am not sure why this happen but try to comment
>
><delete file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"/>
>
>in the file src/targets/webapp-build.xml and probably in publets-build.xml
>too.  You will end up with a cocoon.xconf.ant_patch
>in build/lenya/webapp/WEB-INF/ but your build might work. However you will
>have to check your cocoon.xconf wheter all components are included. Look
>for "Start configuration from 'publet'" in your cocoon.xconf. If you found
>that your cocoon.xconf is most likely correct.
>
>I had also a problem with the cocoon.xconf patches on my linux box which
>might somehow be related to your problem:
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=35579
>  
>
Yes, it is related .  Your fix also worked on my XP system.

However, changing the patch to overwrite did not work after a build 
clean.  It works only when you recompile.

>HTH
>
>Jann
>



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


Re: 1_4_ALPHA_1 BUILD FAILED: webapp-build.xml:69: Unable to delete file cocoon.xconf.ant_patch

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Fri, 1 Jul 2005, dave- wrote:

> I started with a clean system and did the following:
>
> svn checkout
> - http://svn.apache.org/repos/asf/cocoon/tags/RELEASE_2_1_7/   to
> c:\ws27\cocoon-2.1.7
> - http://svn.apache.org/repos/asf/lenya/tags/RELEASE_1_4_ALPHA_1  to
> c:\ws27\to lenya-1.4.x
>

[ ... ]
>
> build
>
> The BUILD FAILED with the following error message:
> - C:\ws27\lenya-1.4.x\src\targets\webapp-build.xml:69: Unable to delete
> file C:\ws27\lenya-1.4.x\build\lenya\webapp\WEB-INF\cocoon.xconf.ant_patch
>

I am not sure why this happen but try to comment

<delete file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"/>

in the file src/targets/webapp-build.xml and probably in publets-build.xml
too.  You will end up with a cocoon.xconf.ant_patch
in build/lenya/webapp/WEB-INF/ but your build might work. However you will
have to check your cocoon.xconf wheter all components are included. Look
for "Start configuration from 'publet'" in your cocoon.xconf. If you found
that your cocoon.xconf is most likely correct.

I had also a problem with the cocoon.xconf patches on my linux box which
might somehow be related to your problem:

http://issues.apache.org/bugzilla/show_bug.cgi?id=35579

HTH

Jann

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