aspose file tools*
The moose likes BEA/Weblogic and the fly likes Precompile jsp with ANT in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Precompile jsp with ANT in weblogic" Watch "Precompile jsp with ANT in weblogic" New topic
Author

Precompile jsp with ANT in weblogic

Sassy Kalaa
Greenhorn

Joined: Jan 27, 2012
Posts: 4
Help Please!


This was my ant with jspc. I nned the equivalent of this in appc. Got an invaild tag error on -compileall -webapp

<java failonerror="true" fork="true" classname="weblogic.appc">
<arg line="-compileAll -webapp ${project.home}/docRoot -d ${project.home}/bin -verbose -keepgenerated -g *.jsp"
/>
<classpath>
<pathelement location="...jar" />
</classpath>

Thank you!
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Refer the below link:

http://www.coderanch.com/t/66927/BEA-Weblogic/Precompile-JSPs-Ant

Hope that helps


Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
Sassy Kalaa
Greenhorn

Joined: Jan 27, 2012
Posts: 4
Thank you, but NO, that will not help me. That's what I have now and trying to find out correct options to use

<java failonerror="true" fork="true" classname="weblogic.appc">

jspc will not work.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Try this link

http://chaitpress.wordpress.com/2010/10/28/how-to-pre-complie-jsps-in-weblogic/


Sassy Kalaa
Greenhorn

Joined: Jan 27, 2012
Posts: 4
Great, Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: Precompile jsp with ANT in weblogic