Eclipse project dependencies not updated [message #677378] |
Wed, 08 June 2011 06:45  |
Eclipse User |
|
|
|
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] by Moderator
|
|
|
Re: Eclipse project dependencies not updated [message #686129 is a reply to message #677378] |
Mon, 20 June 2011 21:23  |
Eclipse User |
|
|
|
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.07839 seconds