Skip to content

Commit

Permalink
update migration script #1030
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Sep 18, 2022
1 parent 1d27951 commit 21a6409
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
includeAntRuntime='false'>
<include name="beast/pkgmgmt/**/**" />
</javac>

<copy todir="${build}">
<fileset dir="${beast2}/src" includes="**/*.png" />
</copy>

<jar jarfile="${build}/dist/launcher.jar">
<manifest>
Expand Down
6 changes: 3 additions & 3 deletions scripts/migrate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -354,22 +354,22 @@
"BactrianUpDownOperator" "beast.base.inference.operator.kernel.BactrianUpDownOperator"
"LG" "beastclassic.evolution.substitutionmodel.LG"
beast.inference.PathSampler modelselection.inference.PathSampler
starbeast3.SpeciesTree starbeast3.tree.SpeciesTree
starbeast3.SpeciesTreePrior starbeast3.evolution.speciation.SpeciesTreePrior
starbeast3.SpeciesTree starbeast3.tree.SpeciesTree
starbeast3.GeneTreeForSpeciesTreeDistribution starbeast3.evolution.speciation.GeneTreeForSpeciesTreeDistribution
starbeast3.StarBeast3Clock starbeast3.evolution.branchratemodel.StarBeast3Clock
starbeast3.StarBeastStartState starbeast3.core.StarBeastStartState
starbeast3.SpeciesTreeLogger starbeast3.core.SpeciesTreeLogger
starbeast3.GeneTreeLogger beast.base.evolution.TreeWithMetaDataLogger
beast.base.inference.OperatorScheduleRecalculator starbeast3.core.OperatorScheduleRecalculator
beast.evolution.tree.RNNIMetric beastlabs.evolution.tree.RNNIMetric
beast.base.evolution.tree.TreeDistanceLogger beastlabs.evolution.tree.TreeDistanceLogger
beast.base.evolution.tree.TreeDistanceLogger beastlabs.evolution.tree.TreeDistanceLogger'
;

if ($#ARGV < 0) {
print "Usage: perl migrate.pl <directory or file>\n";
print "If a directory is specified, it recursively attempts to convert java class + xml files from BEAST v2.6.x to v2.7.0\n";
print "If a file is specified, only that file is converted.";
print "If a file is specified, only that file is converted.\n";
exit(0);
}
@s = split('\n',$s);
Expand Down

0 comments on commit 21a6409

Please sign in to comment.