File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF-Page render a problem, when shifted from ant to maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF-Page render a problem, when shifted from ant to maven" Watch "JSF-Page render a problem, when shifted from ant to maven" New topic
Author

JSF-Page render a problem, when shifted from ant to maven

Lakshmi Karancheti
Greenhorn

Joined: Jul 15, 2013
Posts: 5
Hello..

The project has recently been migrated from Maven to Ant and during sanity it is found that JSF pages are not being properly rendered. When the ear is extracted, it is found that the structure is intact.

Any suggestions?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

Welcome to the JavaRanch, Lakshmi!

JSF doesn't care how you build a WAR or EAR. Whether it's Maven, Ant, or MS-DOS batch files, it's all subject to the same J2EE standards.

Evidently your Ant conversion wasn't 100% faithful, so you're going to have to examine your EAR more closely.

One thing that I can think of regarding Ant is that I believe that it wants to create a web.xml file if you don't supply one. But I've never had that do anything other than display an annoying message when I did supply one.


Customer surveys are for companies who didn't pay proper attention to begin with.
Lakshmi Karancheti
Greenhorn

Joined: Jul 15, 2013
Posts: 5
Hi Tim!!

Thanks for the reply.

Found solution to my problem. We made some proprietary markings in our code, which is the root cause of all.

Now when they are deleted things are smooth again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF-Page render a problem, when shifted from ant to maven