Support Article
Migration.sh fails with "Could not create task or type"
SA-24325
Summary
System is upgraded from PRPC 6.2 to Pega 7.2. Running migrate.bat fails with an error.
Error Messages
BUILD FAILED
/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.
Root Cause
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.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.