You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ba...@apache.org on 2008/09/23 05:32:56 UTC
svn commit: r698080 - in
/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects:
project-A/ project-A/placeholder.txt project-O/ project-O/placeholder.txt
Author: baerrach
Date: Mon Sep 22 20:32:56 2008
New Revision: 698080
URL: http://svn.apache.org/viewvc?rev=698080&view=rev
Log:
[MECLIPSE-493] Automatically locate workspace
Eclispe Plugin
- workspace type changes from String to File
- getWorkspaceConfiguration() now locates the workspace if it is null.
ReadWorkspaceLocations
- exposed some constants needed outside of class
- getProjectLocation()
- now package scoped for unit testing
- rewrote internals to read in the URI string inside ".location" file
- now closes stream
- readArtefact() now takes projectLocation as File instead of String
- readAvailableJREs() returns null if no prefs file exists and a workspace was located.
This causes the defaultJre to be used.
TempEclipseWorkspace
- added test fixtures used in TestCases.
- usePathToProject changed to which projects inside the workspace should be linked in the metadata/
This value was only null to avoid re-initializing the internal workspaces, which test fixtures resolves.
- Removed localizedIndicator as static test fixtures are configured once at class load time and
regenerating these files each test run is not a large burden. However misconfuration of the test files
and not regenerating was a source of errors during creation of extra ITs.
- Refactored out writeLocationFile()
- Deleted getWorkspaceLocation() as the variable is public.
AbstractEclipsePluginIT
- Added testProject( File basedir ) for ITs running inside the test eclipse workspaces.
Added:
maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/
maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt (with props)
maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/
maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt (with props)
Added: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt?rev=698080&view=auto
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt (added)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt Mon Sep 22 20:32:56 2008
@@ -0,0 +1 @@
+This is a placeholder file to ensure the directory is not empty.
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-A/placeholder.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt?rev=698080&view=auto
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt (added)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt Mon Sep 22 20:32:56 2008
@@ -0,0 +1 @@
+This is a placeholder file to ensure the directory is not empty.
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/eclipse/dynamicWorkspace/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/project-O/placeholder.txt
------------------------------------------------------------------------------
svn:eol-style = native