如何将Grails 2.4升级到2.5

时间:2015-05-16 03:35:36

标签: grails

如何将2.5.0升级为Version: 3.6.4.RELEASE Build Id: 201503100339 Platform: Eclipse Luna SR1 (4.4.2) Grails 2.4.4. Mac 10.10 Java jdk1.8.0_45.jdk

我正在使用STS

fstream infile(file_name.c_str());

for(int i=0;i<10;i++){

        infile >> array[i];
}

infile.close();

1 个答案:

答案 0 :(得分:1)

grails升级命令从2.4开始。你必须运行set-grails-version

grails set-grails-version 2.5.6

然后进入BuildConfig.groovy并手动升级您的依赖项/插件: https://github.com/grails/grails-core/releases/tag/v2.5.0