You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mick Knutson <mi...@hotmail.com> on 2003/10/04 00:53:50 UTC

Compiling jsps/Tiles with ant?

I am wondering if anyone has any examples of using ant to build their jsp's?

I am using Tiles extensively, and keep getting NPE on <jspc>.
Also, <jspc> keeps wanting me to add /WEB-INF/web.xml to my root build path.
Currently it is not there, it is in ./src/web/WEB-INF/web.xml


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
Contact System" can help you Play Smart.


+00 1 (877) SoS-9119
+00 1 (708) 570-2772 Fax
---

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Compiling jsps/Tiles with ant?

Posted by Martin Gainty <mg...@hotmail.com>.
Mick-

Ant has a Jasper Compiler task called Jspc for handling JSP Compiles.
I have used it many times in the past to successfully compile J2EE Projects
http://ant.apache.org/manual/OptionalTasks/jspc.html

Enjoy,
Martin
----- Original Message ----- 
From: "James Mitchell" <jm...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, October 03, 2003 9:45 PM
Subject: Re: Compiling jsps/Tiles with ant?


> I don't do it myself (yet), but here's a few places to start with...
>
>
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=taskdef+name%3D%22jasper%22&btnG=Google+Search
>
>
>
> --
> James Mitchell
> Software Engineer / Struts Evangelist
> http://www.struts-atlanta.org
> 678.910.8017
> 770.822.3359
> AIM:jmitchtx
>
>
>
> ----- Original Message ----- 
> From: "Mick Knutson" <mi...@hotmail.com>
> To: "struts" <st...@jakarta.apache.org>
> Sent: Friday, October 03, 2003 6:53 PM
> Subject: Compiling jsps/Tiles with ant?
>
>
> > I am wondering if anyone has any examples of using ant to build their
> jsp's?
> >
> > I am using Tiles extensively, and keep getting NPE on <jspc>.
> > Also, <jspc> keeps wanting me to add /WEB-INF/web.xml to my root build
> path.
> > Currently it is not there, it is in ./src/web/WEB-INF/web.xml
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> >
> > The world is a playground...Play Hard, Play Smart.
> > Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
&
> > Contact System" can help you Play Smart.
> >
> >
> > +00 1 (877) SoS-9119
> > +00 1 (708) 570-2772 Fax
> > ---
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Compiling jsps/Tiles with ant?

Posted by Mick Knutson <mi...@hotmail.com>.
I have looked through google. And there just seems to _not_ be a reason why
my JSP's work fine on JBoss, but when I compile them, I keep getting a NPE.


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
Contact System" can help you Play Smart.


+00 1 (877) SoS-9119
+00 1 (708) 570-2772 Fax
---

----- Original Message ----- 
From: "James Mitchell" <jm...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, October 03, 2003 6:45 PM
Subject: Re: Compiling jsps/Tiles with ant?


> I don't do it myself (yet), but here's a few places to start with...
>
>
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=taskdef+name%3D%22jasper%22&btnG=Google+Search
>
>
>
> --
> James Mitchell
> Software Engineer / Struts Evangelist
> http://www.struts-atlanta.org
> 678.910.8017
> 770.822.3359
> AIM:jmitchtx
>
>
>
> ----- Original Message ----- 
> From: "Mick Knutson" <mi...@hotmail.com>
> To: "struts" <st...@jakarta.apache.org>
> Sent: Friday, October 03, 2003 6:53 PM
> Subject: Compiling jsps/Tiles with ant?
>
>
> > I am wondering if anyone has any examples of using ant to build their
> jsp's?
> >
> > I am using Tiles extensively, and keep getting NPE on <jspc>.
> > Also, <jspc> keeps wanting me to add /WEB-INF/web.xml to my root build
> path.
> > Currently it is not there, it is in ./src/web/WEB-INF/web.xml
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> >
> > The world is a playground...Play Hard, Play Smart.
> > Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
&
> > Contact System" can help you Play Smart.
> >
> >
> > +00 1 (877) SoS-9119
> > +00 1 (708) 570-2772 Fax
> > ---
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Compiling jsps/Tiles with ant?

Posted by James Mitchell <jm...@apache.org>.
I don't do it myself (yet), but here's a few places to start with...

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=taskdef+name%3D%22jasper%22&btnG=Google+Search



--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
770.822.3359
AIM:jmitchtx



----- Original Message ----- 
From: "Mick Knutson" <mi...@hotmail.com>
To: "struts" <st...@jakarta.apache.org>
Sent: Friday, October 03, 2003 6:53 PM
Subject: Compiling jsps/Tiles with ant?


> I am wondering if anyone has any examples of using ant to build their
jsp's?
>
> I am using Tiles extensively, and keep getting NPE on <jspc>.
> Also, <jspc> keeps wanting me to add /WEB-INF/web.xml to my root build
path.
> Currently it is not there, it is in ./src/web/WEB-INF/web.xml
>
>
> ---
> Thanks
> Mick Knutson
>
> The world is a playground...Play Hard, Play Smart.
> Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
> Contact System" can help you Play Smart.
>
>
> +00 1 (877) SoS-9119
> +00 1 (708) 570-2772 Fax
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org