You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sipungora <ko...@yahoo.de> on 2011/05/01 18:30:38 UTC
gwt + jsf?
Hi,
I'm developing a new application in gwt and I'm using an old application in
jsf. I can build both with maven. And after build classes of jsf-project are
correct arranged in WEB-INF/classes of gwt-war. My gwt project is also a
dynamic web project. But if I deploy my gwt project into Tomcat-Server in
Eclipse, the gwt-war will only be deployed without jsf-classes.
It seems the war will be taken, that is created by gwt compilation with
google plugin for eclipse. What can I do in this case?
Also:
I have jsf-war-dependency in the gwt-project. And it will "correct" be built
with maven. But the gwt-war will be deployed, that is created by google
plugin for eclipse and it contains no classes of jsf.
Thanks in advance.
Best Regards.
-sipungora--
View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4363026.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: gwt + jsf?
Posted by Wayne Fay <wa...@gmail.com>.
> My problem now is, how can I configure my pom so, that the jar will be in
> WEB-INF/lib of my war?
> Currently I do it manually.
Posting this question reveals that you don't understand the very basic
fundamental concepts of Maven. Go back to the beginning, read the
documentation on the website, do the Maven in 5 minutes and Maven in
30 minutes exercises, grab one of the free ebooks on Maven and work
through a sample project or two, and then come back when you have real
questions.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: gwt + jsf?
Posted by sipungora <ko...@yahoo.de>.
Solution:
"mvn war:inplace"
this creates war(webapp) directory in my eclipse project. All
jar-dependencies will be copied into WEB-INF/lib.
Exactly this webapp will be published in eclipse tomcat.
And if I test it, it works!
Cool.
--
View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4365083.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: gwt + jsf?
Posted by sipungora <ko...@yahoo.de>.
stephenconnolly wrote:
>
> sounds like you don't have an issue with maven... did you mean to send
> this
> to the eclipse or the m2eclipse list?
>
> - Stephen
>
> ---
> Sent from my Android phone, so random spelling mistakes, random nonsense
> words and other nonsense are a direct result of using swype to type on the
> screen
> On 1 May 2011 17:31, "sipungora" <kostyando@yahoo.de> wrote:
>
probably I do it later. But now I have found a work around. I've created a
new project with only for gwt-project needed java classes. I make it to jar.
And so I have now in gwt-project this jar-dependency and I don't need a
jsf-war dependency.
My problem now is, how can I configure my pom so, that the jar will be in
WEB-INF/lib of my war?
Currently I do it manually.
Thank you in advance.
Best Regards.
-sipungora--
View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4363731.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: gwt + jsf?
Posted by Stephen Connolly <st...@gmail.com>.
sounds like you don't have an issue with maven... did you mean to send this
to the eclipse or the m2eclipse list?
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 1 May 2011 17:31, "sipungora" <ko...@yahoo.de> wrote: