hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6407) Have a way to automatically update Eclipse .classpath file when new libs are added to the classpath through Ivy
Date Wed, 02 Dec 2009 21:52:20 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785021#action_12785021
] 

Konstantin Boudnik commented on HADOOP-6407:
--------------------------------------------

It seems like an easy way to solve this is to
- modify {{.eclipse.templates/.classpath}} to include only source code folders and some permanent
entries like {{build/classes}}. All dynamic content has to be replaces with  {{<classpathentry
kind="lib" path="build/ivy/lib/**}}

Then a separate process invoked by ant build will expand the macro def. above to the actual
content of the directory in question whenever a change of the libs occurred. Even {{ant eclipse-files}}
can be executed automatically after that. Then the user will simply need to refresh the project
in Eclipse IDE.

> Have a way to automatically update Eclipse .classpath file when new libs are added to
the classpath through Ivy
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6407
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6407
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Priority: Minor
>
> Currently Eclipse configuration (namely .classpath) isn't synchronized automatically
when lib versions are changed. This causes great inconvenience so people have to change their
project settings manually, etc. 
> It'd be great if these configs could be updated automatically every time such a change
takes place, e.g. whenever ivy is pulling in new version of a jar. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message