Former-commit-id:0abf64b77c
[formerly195158c004
] [formerlyd708932029
[formerly 7d17407c5b0a4a3f9b4b083891a5a5975c645810]] Former-commit-id:d708932029
Former-commit-id:7bd9c63dc7
20 lines
715 B
Bash
20 lines
715 B
Bash
#!/bin/bash
|
|
|
|
# Next, we need to prepare our workspace because Hudson does not have 'export' capability.
|
|
echo "INFO: Begin - Preparing Workspace"
|
|
|
|
# Remove all SVN metadata.
|
|
find ./ -name .svn -exec rm -rf {} \;
|
|
|
|
# There are a few projects we need to move around. We want all of the individual cave,
|
|
# cots, edexOsgi, nativeLib, and RadarServer projects in our workspace.
|
|
PROJECT_LIST=( 'cave' 'cots' 'edexOsgi' 'nativeLib' 'RadarServer' 'ncep' 'localization' )
|
|
for project in ${PROJECT_LIST[*]};
|
|
do
|
|
# Move the individual projects out of the project directory into the workspace.
|
|
mv ${project}/* .
|
|
# Remove the empty project directory.
|
|
rm -rf ${project}
|
|
done
|
|
|
|
echo "INFO: Finished - Preparing Workspace"
|