You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Marcus Crafter <cr...@fztig938.bank.dresdner.net> on 2001/07/02 20:15:07 UTC

[C2 patch] include.webapp.libs not set

Hi All,

	In the build.xml, the property "include.webapp.libs" is never set
	anywhere, causing the webapp to be created without the required jars
	being copied to WEB-INF/lib. :-(

	Is this intended behaviour ?
	
	If it's not intended, in the attached patch I've removed the 'if'
	clause from the 'prepare-webapp-libs' task altogether so that the libs
	are correctly copied across (makes testing things with the webapp
	easier).

	Cheers,

	Marcus

	PS. Initially I tried to make this conditional with 'available', but
	'available' can only test for files, classes, and jvm resources.
	Anyone know of a better way ?

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750

Re: [C2 patch] include.webapp.libs not set

Posted by giacomo <gi...@apache.org>.
On Mon, 2 Jul 2001, Marcus Crafter wrote:

> Hi All,
>
> 	In the build.xml, the property "include.webapp.libs" is never set
> 	anywhere, causing the webapp to be created without the required jars
> 	being copied to WEB-INF/lib. :-(
>
> 	Is this intended behaviour ?

Yes, you can build your war file without the libs (default) or you
specify a "-Dinclude.webapp.libs=yes" on your build command to include
them. Also there is a "install.war" property which isn't set and its
intention is  to set it like above to tell the installation path for the
war file for direct deployment into your servlets endine webapps
directory.

Giacomo

 >
> 	If it's not intended, in the attached patch I've removed the 'if'
> 	clause from the 'prepare-webapp-libs' task altogether so that the libs
> 	are correctly copied across (makes testing things with the webapp
> 	easier).
>
> 	Cheers,
>
> 	Marcus
>
> 	PS. Initially I tried to make this conditional with 'available', but
> 	'available' can only test for files, classes, and jvm resources.
> 	Anyone know of a better way ?
>
>


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


RE: [C2 patch] include.webapp.libs not set

Posted by Marcus Crafter <cr...@fztig938.bank.dresdner.net>.
Hi Vadim,

On Mon, 2 Jul 2001, Vadim Gritsenko wrote:

> I think it was intended...
> In install.txt, read around lines 37-38:
>     [unix]  ./build.sh  -Dinclude.webapp.libs=yes webapp
>     [win32] .\build.bat -Dinclude.webapp.libs=yes webapp
> That's how it supposed to be used...

	Ah. I see. Thanks for your help.

	Is there a problem copying the jars to WEB-INF/lib by default on some
	containers ??

	Cheers,

	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750


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


RE: [C2 patch] include.webapp.libs not set

Posted by Vadim Gritsenko <vg...@hns.com>.
Hi,

I think it was intended...
In install.txt, read around lines 37-38:
    [unix]  ./build.sh  -Dinclude.webapp.libs=yes webapp
    [win32] .\build.bat -Dinclude.webapp.libs=yes webapp
That's how it supposed to be used...

Vadim

> -----Original Message-----
> From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net]
> Sent: Monday, July 02, 2001 14:15
> To: Cocoon Developers Mailing List
> Subject: [C2 patch] include.webapp.libs not set
> 
> 
> Hi All,
> 
> 	In the build.xml, the property "include.webapp.libs" is never set
> 	anywhere, causing the webapp to be created without the required jars
> 	being copied to WEB-INF/lib. :-(
> 
> 	Is this intended behaviour ?
> 	
> 	If it's not intended, in the attached patch I've removed the 'if'
> 	clause from the 'prepare-webapp-libs' task altogether so that the libs
> 	are correctly copied across (makes testing things with the webapp
> 	easier).
> 
> 	Cheers,
> 
> 	Marcus
> 
> 	PS. Initially I tried to make this conditional with 'available', but
> 	'available' can only test for files, classes, and jvm resources.
> 	Anyone know of a better way ?
> 
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   Open Software Associates GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'     Email : Marcus.Crafter@osa.de
>           &&&&.        Business Hours : +49 69 9757 200
>     &&&&&&&:           After Hours    : +49 69 49086750
> 

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