Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#1652] Play idealize generates wrong paths : We are missing a slash

  • Loading branch information...
commit ba90c8b83dfb92e4cb13770a73feb5790f7f069c 1 parent b16c4da
Igmar Palsenberg authored Notalifeform committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 framework/pym/play/commands/intellij.py
View
6 framework/pym/play/commands/intellij.py
@@ -46,10 +46,10 @@ def execute(**kargs):
srcpath = os.path.join(module, 'src')
lXML += ' <content url="file://%s">\n <sourceFolder url="file://%s" isTestSource="false" />\n </content>\n' % (module, os.path.join(module, 'app').replace('\\', '/'))
if os.path.exists(srcpath):
- msXML += ' <root url="file://$MODULE_DIR$%s"/>\n' % (app.toRelative(srcpath).replace('\\', '/'))
+ msXML += ' <root url="file://$MODULE_DIR$/%s"/>\n' % (app.toRelative(srcpath).replace('\\', '/'))
if os.path.exists(libpath):
- mlXML += ' <root url="file://$MODULE_DIR$%s"/>\n' % (app.toRelative(libpath).replace('\\', '/'))
- jdXML += ' <jarDirectory url="file://$MODULE_DIR$%s" recursive="false"/>\n' % (app.toRelative(libpath).replace('\\', '/'))
+ mlXML += ' <root url="file://$MODULE_DIR$/%s"/>\n' % (app.toRelative(libpath).replace('\\', '/'))
+ jdXML += ' <jarDirectory url="file://$MODULE_DIR$/%s" recursive="false"/>\n' % (app.toRelative(libpath).replace('\\', '/'))
replaceAll(imlFile, r'%LINKS%', lXML)
replaceAll(imlFile, r'%MODULE_LINKS%', mlXML)
replaceAll(imlFile, r'%MODULE_LIB_CLASSES%', msXML)
Please sign in to comment.
Something went wrong with that request. Please try again.