Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 15135:0672512feb81
mx intellijinit: fix typo in project's language level settings
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Apr 2014 17:16:24 +0200 |
parents | f0fc09c0845e |
children | d93cc1fdf55e |
comparison
equal
deleted
inserted
replaced
15134:f0fc09c0845e | 15135:0672512feb81 |
---|---|
3736 update_file(compilerFile, compilerXml.xml(indent=' ', newl='\n')) | 3736 update_file(compilerFile, compilerXml.xml(indent=' ', newl='\n')) |
3737 | 3737 |
3738 # Wite misc.xml for global JDK config | 3738 # Wite misc.xml for global JDK config |
3739 miscXml = XMLDoc() | 3739 miscXml = XMLDoc() |
3740 miscXml.open('project', attributes={'version': '4'}) | 3740 miscXml.open('project', attributes={'version': '4'}) |
3741 miscXml.element('component', attributes={'name': 'ProjectRootManager', 'version': '2', 'languagelevel': _complianceToIntellijLanguageLevel(java().javaCompliance), 'project-jdk-name': str(java().javaCompliance), 'project-jdk-type': 'JavaSDK'}) | 3741 miscXml.element('component', attributes={'name': 'ProjectRootManager', 'version': '2', 'languageLevel': _complianceToIntellijLanguageLevel(java().javaCompliance), 'project-jdk-name': str(java().javaCompliance), 'project-jdk-type': 'JavaSDK'}) |
3742 miscXml.close('project') | 3742 miscXml.close('project') |
3743 miscFile = join(ideaProjectDirectory, 'misc.xml') | 3743 miscFile = join(ideaProjectDirectory, 'misc.xml') |
3744 update_file(miscFile, miscXml.xml(indent=' ', newl='\n')) | 3744 update_file(miscFile, miscXml.xml(indent=' ', newl='\n')) |
3745 | 3745 |
3746 | 3746 |