Project templates fail to restore all files

Answered

 

I am using the Community edition of IntelliJ 2017.1, and when I try and create a project from a user created project template some of the files that are put in the new project are empty.
 
I have checked in the zip file of the project template itself, and the files in the zip are not empty, so it would appear that there is something wrong with the creation process.
 
The files that are empty are .jsp and .js files, though not all of the .jsp and .js files are empty.
 
 
Also, it does not appear to make a difference whether I create the project template using "Replace parameters with placeholders" or not.
 
Looking at the log files it appears that there are Velocity errors parsing those files. The files are valid JSP and JS files, and the errors appear to be related to Velocity expecting its syntax. I am not using Velocity in the project at all. An example with the JS files is that I am using the jQuery ajax function, and it doesn't like the $.ajax({ syntax.
 
Any help on how to use the project template feature would be most useful.
 
Many thanks
 
Peter 
0
1 comment

Please file a bug at https://youtrack.jetbrains.com/issues/IDEA and attach the sample template project to reproduce it, also attach idea.log with the exceptions (https://intellij-support.jetbrains.com/hc/articles/207241085).

It's likely the same issue as https://youtrack.jetbrains.com/issue/IDEA-107676, so you can just attach your files there.

0

Please sign in to leave a comment.