Skip to content
Snippets Groups Projects
Commit 25b8814c authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

removed old files

parent 95e2bd6a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
function replace(){
echo $1
sed -i -- '/onInitializing/d' $1
sed -i -- 's:connectInterThreads:connectPorts:' $1
sed -i -- 's:connectIntraThreads:connectPorts:' $1
sed -i -- 's:AnalysisConfiguration.connectPorts:connectPorts:' $1
sed -i -- 's:addThreadableStage:declareActive:' $1
sed -i -- 's: AnalysisConfiguration: Configuration:' $1
sed -i -- 's: AnalysisConfiguration: Configuration:' $1
sed -i -- 's:import teetime.framework.AnalysisConfiguration:import teetime.framework.Configuration:' $1
sed -i -- 's: Analysis: Execution:' $1
sed -i -- 's: Analysis: Execution:' $1
sed -i -- 's:import teetime.framework.Analysis:import teetime.framework.Execution:' $1
sed -i -- 's:import teetime.stage.basic.distributor.CopyByReferenceStrategy:import teetime.stage.basic.distributor.strategy.CopyByReferenceStrategy:' $1
}
echo "Migrating to TeeTime 2.0"
export -f replace
find $1 -type f -name *.java -exec bash -c 'replace "$0"' {} \;
echo "Done"
\ No newline at end of file
teetime.framework.pipe.SingleElementPipeFactory
teetime.framework.pipe.SpScPipeFactory
teetime.framework.pipe.UnboundedSpScPipeFactory
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment