Sunday, January 30, 2011

Re: Is there a way to copy all maven referenced jars to the war/WEB-INF/lib

Did you run, mvn eclipse:eclipse? It should add the maven jars to the classpath, and used by Eclipse.

On Sun, Jan 30, 2011 at 10:01 AM, Mike.G <gsun616@gmail.com> wrote:
hi all:
 i'm using maven to organize my gwt project, everything works well but one defect: Is there a way to copy all maven referenced jars to the war/WEB-INF/lib?

when i use maven POM to add a new depencies, i have to copy the jar and it's dependent jar to WEB-INF/lib, usually i may forget copying some, which will lead to "no class def" error when i deliver the project to web server. but in development mode, it works well.

could someone help me? how did you tackle this messy situation? thanks very much.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Üdv,
Kriván Bálint

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment