[opencms-dev] Please, help with OpenCms-Maven Plugin
Enric Albiach
enric.albiach at mrmww.es
Wed Jan 21 13:13:42 CET 2009
Hi Felix,
I launch following maven tasks within "parent" directory:
· clean
· package
· tomcat:exploded
And all of them finish successfully. Finally, that's the content of my webapp/target/webapp directory:
Thanks again!
Enric
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] En nombre de Noz, Felix
Enviado el: miércoles, 21 de enero de 2009 12:22
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Please, help with OpenCms-Maven Plugin
Hello Enric,
this normaly happens when you don't use the tomcat:exploded task but copy only the war file to your webapps directory or use the tomcat:deploy task. In contrast to the statement of my collegue Adrian yesterday you have to either
- use the tomcat:exploded task
- or copy the whole webapp/target/webapp/ directory
So it's strange that this happens although you used the exploded task... Is there a resources directory within the webapp/target/webapp/ directory?
Regards
Felix
________________________________
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Enric Albiach
Gesendet: Mittwoch, 21. Januar 2009 10:58
An: zV-cm-opencms
Cc: opencms-dev at opencms.org
Betreff: [opencms-dev] Please, help with OpenCms-Maven Plugin
Hello!
I'm using your OpenCms-Maven Plugin. It's great!
But I have a problem. After all maven tasks have finished (and the application is deployed on my Tomcat), I use Open CMS entry point URL (http://localhost:8080/opencms-basic/opencms/system/login) in any of my web browsers and I get that:
I think that my "maven-generated" OpenCMS distribution doesn't have all the needed files. That's the folder "opencms-basic" on my Tomcat:
If I get the opencms-7.0.5.war official distribution, I can see that it contains a root directory called "resources" that doesn't exist when I use OpenCms-Maven Plugin.
I was doing something wrong but I don't know what? Do I have to do any setup after the execution of "tomcat:exploded" maven task? Could anybody help me?
Thanks in advance!
Enric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090121/71b12f4e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 37071 bytes
Desc: image003.jpg
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090121/71b12f4e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 38331 bytes
Desc: image004.jpg
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090121/71b12f4e/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 34324 bytes
Desc: image005.jpg
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090121/71b12f4e/attachment-0002.jpg>
More information about the opencms-dev
mailing list