Exclude JSP compilation in Google App Engine Java Project

0 views
Skip to first unread message

Fizer Khan via StackOverflow

unread,
Jun 24, 2013, 1:14:01 PM6/24/13
to google-appengin...@googlegroups.com

My Google app engine project uses Grunt plugin to build and run the server. Some grunt plugin internally has some jsp file. Google app engine tried to build this file and failed.

Preparing to deploy:
    Created staging directory at: '/var/folders/yy/x50s_8ts01z7xztl9q06d6tr0000gn/T/appcfg6028032315799350871.tmp'
    Scanning for jsp files.
    Compiling jsp files.
com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files.
Exception in thread "main" org.apache.jasper.JasperException:

file:/private/var/folders/yy/x50s_8ts01z7xztl9q06d6tr0000gn/T/appcfg6028032315799350871.tmp/node_modules/grunt-pages/node_modules/pygmentize-bundled/vendor/pygments/tests/examplefiles/test.jsp(12,1) File "/node_modules/grunt-pages/node_modules/pygmentize-bundled/vendor/pygments/tests/examplefiles/error.html" not found
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
    at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300)
    at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:441)
    at org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1748)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:127)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
    at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:120)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
    at org.apache.jasper.JspC.processFile(JspC.java:1192)
    at org.apache.jasper.JspC.execute(JspC.java:1341)
    at com.google.appengine.tools.development.LocalJspC.main(LocalJspC.java:18)
Error while executing: ...

How to exclude compiling jsp files from specific directory(eg:node_modules)?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/17281113/exclude-jsp-compilation-in-google-app-engine-java-project

Fizer Khan via StackOverflow

unread,
Jun 24, 2013, 3:19:03 PM6/24/13
to google-appengin...@googlegroups.com

My Google app engine project uses Grunt plugin to build and run the server. Some grunt plugin internally has some html file. Google app engine tried to build this file and failed.

Preparing to deploy:
    Created staging directory at: '/var/folders/yy/x50s_8ts01z7xztl9q06d6tr0000gn/T/appcfg6028032315799350871.tmp'
    Scanning for jsp files.
    Compiling jsp files.
com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files.
Exception in thread "main" org.apache.jasper.JasperException:

file:/private/var/folders/yy/x50s_8ts01z7xztl9q06d6tr0000gn/T/appcfg6028032315799350871.tmp/node_modules/grunt-pages/node_modules/pygmentize-bundled/vendor/pygments/tests/examplefiles/test.jsp(12,1) File "/node_modules/grunt-pages/node_modules/pygmentize-bundled/vendor/pygments/tests/examplefiles/error.html" not found
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
    at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300)
    at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:441)
    at org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1748)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:127)
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
    at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:120)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
    at org.apache.jasper.JspC.processFile(JspC.java:1192)
    at org.apache.jasper.JspC.execute(JspC.java:1341)
    at com.google.appengine.tools.development.LocalJspC.main(LocalJspC.java:18)
Error while executing: ...

How to exclude JSP compilation from specific directory(eg:node_modules)?

Reply all
Reply to author
Forward
0 new messages