You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by sharif islam <sh...@gmail.com> on 2006/03/21 22:13:33 UTC

Lenya 1.4 build failed

I got the src via svn. But I am getting this error message. Not sure
if any files are missing.

BUILD FAILED
/usr/local/src/lenya-1.4.x/src/targets/init-build.xml:95: IOException:
java.io.FileNotFoundException:
/usr/local/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap (No such
file or directory)

init-build.xml (line 95:)
    <!-- patch sitemap.xmap -->
    <xpatch file="${build.webapp}/sitemap.xmap"
            includes="src/webapp/lenya/config/sitemap/*.xmap"/>

any idea where to look?
--sharif

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


Re: Lenya 1.4 build failed

Posted by sharif islam <sh...@gmail.com>.
On 3/22/06, Oliver Schalch <ol...@wyona.com> wrote:
> On Tue, 21 Mar 2006 15:55:32 -0600
> "sharif islam" <sh...@gmail.com> wrote:
>
> > [root@ webapp]# pwd
> > /usr/local/src/lenya-1.4.x/externals/cocoon_2_1_x/build/webapp
> > [root@ webapp]# ls -lrt
> > total 4
> > drwxr-xr-x  3 root root 4096 Mar 21 14:12 WEB-INF
>
> I had that error aswell sometimes, I guess I wrote it in another post,
> mostly clean building cocoon solves it, and make sure the build folder
> inside cocoon is *fully* removed before rebuilding cocoon/lenya. Then
> clean Lenya and build lenya again...

Yes, that did it. Thanks!

> Btw. are you working with eclipse and building sometimes with
> eclipse-project?

no.

--sharif

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


Re: Lenya 1.4 build failed

Posted by Oliver Schalch <ol...@wyona.com>.
On Tue, 21 Mar 2006 15:55:32 -0600
"sharif islam" <sh...@gmail.com> wrote:

> [root@ webapp]# pwd
> /usr/local/src/lenya-1.4.x/externals/cocoon_2_1_x/build/webapp
> [root@ webapp]# ls -lrt
> total 4
> drwxr-xr-x  3 root root 4096 Mar 21 14:12 WEB-INF

I had that error aswell sometimes, I guess I wrote it in another post, 
mostly clean building cocoon solves it, and make sure the build folder
inside cocoon is *fully* removed before rebuilding cocoon/lenya. Then
clean Lenya and build lenya again...

Btw. are you working with eclipse and building sometimes with
eclipse-project?



Oliver




-- 
Oliver Schalch                           oliver.schalch@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

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


Re: Lenya 1.4 build failed

Posted by sharif islam <sh...@gmail.com>.
On 3/21/06, Michael Wechner <mi...@wyona.com> wrote:


> well, the sitemap.xmap file is copied from the build of the Cocoon
> build, e.g.
>
> externals/cocoon_2_1_x/build/webapp/sitemap.xmap
>
> whereas the Lenya build process should build this automatically.
>
> Has this been created?
>
No, I don't see it.

[root@ webapp]# pwd
/usr/local/src/lenya-1.4.x/externals/cocoon_2_1_x/build/webapp
[root@ webapp]# ls -lrt
total 4
drwxr-xr-x  3 root root 4096 Mar 21 14:12 WEB-INF

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


Re: Lenya 1.4 build failed

Posted by Michael Wechner <mi...@wyona.com>.
sharif islam wrote:

>On 3/21/06, Michael Wechner <mi...@wyona.com> wrote:
>  
>
>>sharif islam wrote:
>>    
>>
>[....]
>  
>
>>>BUILD FAILED
>>>/usr/local/src/lenya-1.4.x/src/targets/init-build.xml:95: IOException:
>>>java.io.FileNotFoundException:
>>>/usr/local/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap (No such
>>>file or directory)
>>>      
>>>
>[...]
>  
>
>>what about permissions? Are you building it as root user?
>>    
>>
>
>Yes, I am building it as root.
>  
>

well, the sitemap.xmap file is copied from the build of the Cocoon 
build, e.g.

externals/cocoon_2_1_x/build/webapp/sitemap.xmap

whereas the Lenya build process should build this automatically.

Has this been created?

Michi

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


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


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


Re: Lenya 1.4 build failed

Posted by sharif islam <sh...@gmail.com>.
On 3/21/06, Michael Wechner <mi...@wyona.com> wrote:
> sharif islam wrote:
[....]
> >BUILD FAILED
> >/usr/local/src/lenya-1.4.x/src/targets/init-build.xml:95: IOException:
> >java.io.FileNotFoundException:
> >/usr/local/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap (No such
> >file or directory)
[...]
>
> what about permissions? Are you building it as root user?

Yes, I am building it as root.

--sharif

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


Re: Lenya 1.4 build failed

Posted by Michael Wechner <mi...@wyona.com>.
sharif islam wrote:

>I got the src via svn. But I am getting this error message. Not sure
>if any files are missing.
>
>BUILD FAILED
>/usr/local/src/lenya-1.4.x/src/targets/init-build.xml:95: IOException:
>java.io.FileNotFoundException:
>/usr/local/src/lenya-1.4.x/build/lenya/webapp/sitemap.xmap (No such
>file or directory)
>
>init-build.xml (line 95:)
>    <!-- patch sitemap.xmap -->
>    <xpatch file="${build.webapp}/sitemap.xmap"
>            includes="src/webapp/lenya/config/sitemap/*.xmap"/>
>
>any idea where to look?
>  
>

what about permissions? Are you building it as root user?

HTH

Michi

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


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


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