Migration.sh fails with "Could not create task or type"
System is upgraded from PRPC 6.2 to Pega 7.2. Running migrate.bat fails with an error.
/tmp/pega7/scripts/migrateSystem.xml:597: Could not create task or type of type: propertyfile.
Steps to Reproduce
- Update migrate.properties to move the rules from existing rules schema to newly created rules schema.
- Run Migrate.sh.
A defect or configuration issue in the operating environment:
The user running the migrate script had another version of Ant on the classpath and got in the way of the Ant JARs, which come with the media and required to run the script.
Make the following change to the operating environment:
Set the classpath variable so that it does not contain any reference to the existing Ant JARs, and run the migrate script.
Published June 17, 2016 - Updated October 8, 2020