{platform.active} \。 replace = platform。 / > < replaceregex pattern = ^ deployment\。 {deployment.method} \\ \\ scriptfile = replace = deployment.scriptfile = / > < replaceregex pattern = ^ deployments \。 Java ME.<loadproperties srcfile="${user.properties.file}"> <filterchain> <replaceregex pattern="^platforms\.${platform.active}\." replace="platform."/> <replaceregex pattern="^deployment\.${deployment.method}\.scriptfile=" replace="deployment.scriptfile="/> <replaceregex pattern="^deployments\.${deployment.method}\.${deployment.instance}\.([^=]+)=" replace="\1="/> </filterchain></loadproperties>java.util.regex.PatternSyntaxException: Illegal repetition near index 12Error in the first line. Why? 解决方案 {user.properties.file}"> <filterchain> <replaceregex pattern="^platforms\.{platform.active}\." replace="platform."/> <replaceregex pattern="^deployment\.{deployment.method}\.scriptfile=" replace="deployment.scriptfile="/> <replaceregex pattern="^deployments\. 这篇关于为什么我在这个build.xml中出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-20 14:16