[Building Sakai] Eclipse metadata files (reviving an old proposal)

Stephen Swinsburg s.swinsburg at lancaster.ac.uk
Wed Apr 22 11:03:26 PDT 2009


+1 to removing them. Another reason is that it only takes a small  
mistake in one person's environment and that person committing them  
back to the repo to screw up everyone else's environments, less hassle  
to leave them out of the repo altogether.

cheers,
Steve



On 22/04/2009, at 6:59 PM, Stephen Marquard wrote:

> +1 to removing them completely.
>
>>>> On Wed, Apr 22, 2009 at  7:45 PM, Anthony Whyte  
>>>> <arwhyte at umich.edu> wrote:
> Back in Sept 2008 Aaron regenerated the Eclipse metadata files in
> trunk (.classpath, etc.) by running from the base folder:
>
> mvn eclipse:clean
> mvn eclipse:eclipse
>
> The said files in trunk are wildly out-of-date again so I have
> regenerated them (see example below).  I have done the same for the
> 2.6.x and 2.6.0 branches since each of these binds to a different
> kernel artifact.  The metadata files now reflect the latest Kernel
> (K1) bindings as well other dependencies that have been changed
> (e.g., trunk commonons-io upgrade from 1.2 to 1.4).
>
> Aaron also recommended removing these metadata files completely from
> trunk since tools exist for generating them locally.  I'd like
> resurrect this proposal and see if the community thinks that removing
> these files is a good idea.  See the sakai-dev thread for more
> details of that earlier discussion.
>
> http://www.nabble.com/Remove-Replace-all-eclipse-files-for-2.6-
> release--to19690993.html#a19690993
>
> If the vote is to stay with the status quo, I should note that I have
> added this regeneration task to my release management duties;
> whenever I generate a K1 release I'll refresh the Eclipse metadata
> files in trunk, the current maintenance branch (e.g., 2.6.x) and any
> other branches dependent on kernel bindings.
>
> Trunk developers should perform an svn update to pick up these  
> changes.
>
> Cheers,
>
> Anth
>
>
>> From this (trunk/.../access-impl example):
>
> <classpath>
>   <classpathentry kind="src" path="src/bundle" including="**/
> *.properties" excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   <classpathentry kind="var" path="M2_REPO/commons-fileupload/
> commons-fileupload/1.1.1/commons-fileupload-1.1.1.jar"/>
>   <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.2/
> commons-io-1.2.jar"/>
>   <classpathentry kind="var" path="M2_REPO/commons-logging/commons-
> logging/1.0.4/commons-logging-1.0.4.jar"/>
>   <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/
> junit-3.8.1.jar"/>
>   <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.2/
> logkit-1.2.jar"/>
>   <classpathentry kind="var" path="M2_REPO/oro/oro/2.0.8/
> oro-2.0.8.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-component-manager/1.0RC2-SNAPSHOT/sakai-component-
> manager-1.0RC2-SNAPSHOT.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-kernel-api/1.0RC2-SNAPSHOT/sakai-kernel-api-1.0RC2- 
> SNAPSHOT.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-kernel-util/1.0RC2-SNAPSHOT/sakai-kernel-util-1.0RC2-
> SNAPSHOT.jar"/>
>   <classpathentry kind="src" path="/sakai-velocity-tool"/>
>   <classpathentry kind="src" path="/sakai-velocity-tool-api"/>
>   <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/
> 2.4/servlet-api-2.4.jar"/>
>   <classpathentry kind="var" path="M2_REPO/velocity/velocity/1.3.1/
> velocity-1.3.1.jar"/>
> </classpath>
>
>
> to this:
>
> <classpath>
>   <classpathentry kind="src" path="src/bundle" including="**/
> *.properties" excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   <classpathentry kind="var" path="M2_REPO/commons-fileupload/
> commons-fileupload/1.1.1/commons-fileupload-1.1.1.jar"/>
>   <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.4/
> commons-io-1.4.jar"/>
>   <classpathentry kind="var" path="M2_REPO/commons-logging/commons-
> logging/1.0.4/commons-logging-1.0.4.jar"/>
>   <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/
> junit-3.8.1.jar"/>
>   <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.2/
> logkit-1.2.jar"/>
>   <classpathentry kind="var" path="M2_REPO/oro/oro/2.0.8/
> oro-2.0.8.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-component-manager/1.1-SNAPSHOT/sakai-component-manager-1.1-
> SNAPSHOT.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-kernel-api/1.1-SNAPSHOT/sakai-kernel-api-1.1-SNAPSHOT.jar"/>
>   <classpathentry kind="var" path="M2_REPO/org/sakaiproject/kernel/
> sakai-kernel-util/1.1-SNAPSHOT/sakai-kernel-util-1.1-SNAPSHOT.jar"/>
>   <classpathentry kind="src" path="/sakai-velocity-tool"/>
>   <classpathentry kind="src" path="/sakai-velocity-tool-api"/>
>   <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/
> 2.4/servlet-api-2.4.jar"/>
>   <classpathentry kind="var" path="M2_REPO/velocity/velocity/1.3.1/
> velocity-1.3.1.jar"/>
> </classpath>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090422/416b4b0e/attachment.bin 


More information about the sakai-dev mailing list