Modify and release the JDK version of the business unit on the BOS Platform

Source: Internet
Author: User
In eas6, jdk1.4 was used before, so problems may occur during release. We need to modify E: \ kingdee630 \ EAS \ Bos \ bosmodular \ Bim \ eclipse \ plugins \ com. kingdee. bos. bim_6.1.0 \ configs \ ant two configuration files under the Directory: 1. Deploy. <javac srcdir = "$ {srctemp}" destdir = "$ {dir. classes} "DEBUG =" on "nowarn =" on "Source =" 1.5 "verbose =" false "fork =" false "target =" 1.5 "failonerror =" true "> <target name = "compileweb" Description = "compile web content" If = "deployweb"> <javac srcdir = "$ {dir. web_src} "destdir =" $ {dir. web_root}/WEB-INF/classes "DEBUG =" on "nowarn =" on "Source =" 1.5 "verbose =" true "fork =" false "target =" 1.5 "failonerror =" true "> <classpath Path =" $ {dir. classes} "> <fileset dir =" $ {dir. lib} "> <exclude name =" src /**/*. * "/> <include name =" SP /**/*. zip "/> <include name =" SP /**/*. jar "/> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> <fileset dir =" $ {dir. web_root}/WEB-INF/lib "> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> <fileset dir =" $ {dir. PROJECT}/web/webroot/WEB-INF/lib "> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> </classpath> <compilerarg value ="-xlint: unchecked "/> </javac> <copy description =" Copy resource file "todir =" $ {dir. web_root}/WEB-INF/classes "> <fileset dir =" $ {dir. web_src} "> <include name = "**/*. properties "/> </fileset> </copy> </Target> 2. Modify the build_metadate_jar.xml file <Target description =" compile Java file "name =" compile "depends =" deploy "> <javac srcdir = "$ {tempdir}/Java" destdir = "$ {tempdir}/classes" DEBUG = "off" nowarn = "on" Source = "1.5" target =" 1.5 "fork =" true "memoryinitialsize =" 128 M "memorymaximumsize =" 1024 M "failonerror =" true "tempdir =" $ {tempdir} "> <classpath> <fileset dir = "$ {dir. lib} "> <include name =" SP /**/*. zip "/> <include name =" SP /**/*. jar "/> <include name =" Web /**/*. zip "/> <include name =" Web /**/*. jar "/> <include name =" common /**/*. zip "/> <include name =" common /**/*. jar "/> <include name =" client /**/*. zip "/> <include name =" client /**/*. jar "/> <include name =" server /**/*. zip "/> <include name =" server /**/*. jar "/> </fileset> </classpath> </javac> <copy todir =" $ {tempdir}/classes "> <fileset dir =" $ {tempdir}/Java "> <include name = "**/*. properties "/> </fileset> </copy> </Target> the same error may occur when you use the deployment tool. In this case, you only need to modify the publish_local_apusic.xml file, just change the original version 1.4 to version 1.5.

 

Source Address: http://blog.csdn.net/h249059945/article/details/7827658

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.