• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Precompile jsp with ANT in weblogic

 
Sassy Kalaa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer the below link:

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

Hope that helps
 
Sassy Kalaa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this link

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


 
Sassy Kalaa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great, Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic