the bug of idea14

1,In my Modules,there hava one 'sp.js' file,the directory like this:

2,in my jsp file,i include the 'sp.js' like this:
      <script type="text/javascript" src="<%=path%>/resources/system/sp.js"/>
    It works correctly

But ,I do somethig below ,bug comes:
1,I create one directory names 'sp' under system,and move 'sp.js' to 'sp' directory,so the directory like this:

2,so ,the idea14 change my jsp's content of the include:
       <script type="text/javascript" src="<%=path%>/resources/system/sp/sp.js/system/sp.js"/>
    Obviously,it‘s wrony.
3,I move 'sp.js' to 'system' to diretory,so the directory like this:
     but ,the jsp's include was changed to :
        <script type="text/javascript" src="<%=path%>/resources/system/sp.js/system/sp/sp.js/system/sp.js"/>


Please sign in to leave a comment.