This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Problem with jspc task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Problem with jspc task" Watch "Problem with jspc task" New topic
Author

Problem with jspc task

Anu josh
Greenhorn

Joined: May 25, 2010
Posts: 4
I am using jspc task to compile jsp files. Files are getting compiled but my problem is:
In my application there are many files which are including other jsp/jspf files. If I compile my jsps using jspc I am getting compilation error for all those variable which are declared in including page but used in included page. SO my build is failing.

Is there any way to skip such error?


Thanks in advance.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi Anu and welcome to Javaranch!

Are you able to supply the error you're getting and the project structure you are using?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with jspc task
 
Similar Threads
precompilation of jsps using jspc
Precompilation of jsps using jspc command
Where do I find JspC
Help: precompile jsp with jspc
uriRoot implicitly set to