| Eclipse project dependencies not updated [message #677378] |
Wed, 08 June 2011 06:45  |
misja Messages: 1 Registered: June 2011 |
Junior Member |
|
|
I just started using Eclipse IAM and so far I like it, only there's one thing that I can't get to work:
When I add a new jar-dependency to a project (using IAM's 'manage dependencies'), I can see that my workspace is rebuilt and a series of Maven Events is displayed which seem to indicate that everything went fine.
Also the 'view dependencies' graph shows my new dependency.
However, the dependencies of my Eclipse project, as shown in 'Referenced Libraries', are not updated, so when I try to launch an application from Eclipse it fails because the new jar is not on its classpath.
The workaround is to run mvn eclipse:eclipse from the command line and refresh my project in Eclipse.
Is there a way to fix this?
Any help is greatly appreciated!
[Updated on: Wed, 08 June 2011 06:46] Report message to a moderator
|
|
|
| Re: Eclipse project dependencies not updated [message #686129 is a reply to message #677378] |
Mon, 20 June 2011 21:23  |
Carlos Sanchez Messages: 97 Registered: July 2009 |
Member |
|
|
usually a project -> clean will refresh the classpath container
On 6/8/11 3:45 AM, misja wrote:
> I just started using Eclipse IAM and so far I like it, only there's one
> thing that I can't get to work:
> When I add a new jar-dependency to a project (using IAM's 'manage
> dependencies'), I can see that my workspace is rebuilt and a series of
> Maven Events is displayed which seem to indicate that everything went fine.
>
> However, the dependencies of my Eclipse project, as shown in 'Referenced
> Libraries', are not updated, so when I try to launch an application from
> Eclipse it fails because the new jar is not on its classpath.
> The workaround is to run mvn eclipse:eclipse from the command line and
> refresh my project in Eclipse.
>
> Is there a way to fix this?
> Any help is greatly appreciated!
|
|
|
Powered by
FUDForum. Page generated in 0.01472 seconds