Thanks guys.

I'm trying to figure out how to write a JSF renderer in JSP.  First, I
need to be able to compile the JSP into a java file that can be built
with the rest of the project.

I'll let you know how it goes.


On Mon, 17 Jan 2005 16:45:53 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> Yes... here's the fragment of my ant build file: 
> 
>      <!-- generate java files from jsp's --> 
>         <jspc 
>                 srcdir="${http.home}/${app.realname}" 
>                 package="org.apache.jsp" 
>                 destdir="${http.home}/${app.realname}/WEB-INF/src" 
>                 compiler="jasper41" 
>                 failonerror="false" 
>                
> webinc="${http.home}/${app.realname}/WEB-INF/webJSPfragments.xml" 
>                
> compilerclasspath="${catalina.home}/common/lib/jasper-compiler.jar;${catalina.home}/common/lib/jasper-compiler.jar">
>                 <include name="**/*.jsp" /> 
>         </jspc> 
> 
>         <xmltask preservetype="true"
> source="${http.home}/${app.realname}/WEB-INF/web.xml" 
>                 dest="${http.home}/${app.realname}/WEB-INF/web.xml"
> encoding="ISO-8859-1"> 
>         <insert path="/web-app/"
> file="${http.home}/${app.realname}/WEB-INF/webJSPfragments.xml"/> 
>     </xmltask> 
> 
> 
> 
> 
> 
> Heath Borders <[EMAIL PROTECTED]> 
> 
> 17.01.2005 16:28 
> Bitte antworten an "MyFaces Discussion"         
>         An:        MyFaces Discussion <[email protected]> 
>         Kopie:         
>         Thema:        Compiling .jsp files into .java files using ant
> 
> 
> 
> 
> Does anyone know how to use the jspc ant task?
> 
> --
> -Heath Borders-Wing 
> [EMAIL PROTECTED] 
> 


-- 
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to