| Summary: | [server] need a tool to create a serverworkspace for migration tests | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | 6.0 M2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
I have created the utility to reverse engineer version one of the simple metadata storage to be used for migration tests. I was able to get Ken to run on orion.eclipse.org: % cd serverworkspace % find . -type d > directories.txt % find . -type d > files.txt You then copy directories.txt, files.txt and simple_metadata_creator.sh into a folder and run: % ./simple_metadata_creator.sh This creates the framework of the serverworkspace. You then run the SimpleMetaDataCreatorV1 class: SimpleMetaDataCreatorV1 /opt/workspaces/serverworkspace This will fill in basic metadata based on the files that exist. You can then start the server using this server workspace, login and see the projects. Then run the migration to test everything looks good. This is delivered with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=12d4b098a89e9c03d5fc5286af7c8e88ba872ca6 I left an error "The 'javacProjectSettings' build entry should be set when there are project specific compiler settings" with the last set of changes. I have fixed with commit http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=3cbbe4b613ca6880f0c06743a1669e1883869fcc Since the SimpleMetaDataCreatorV1 class is obsolete now that we do not support version one or two anymore, I have removed SimpleMetaDataCreatorV1 during Orion 7.0 with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=f547908d0fd81d5139a8ade8ec665bf7bbb337a5 |