Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Update migrate.properties to move the rules from existing rules schema to newly created rules schema.
  2. 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.
Suggest Edit

Published June 17, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us