You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Kedar Upadhye <Ke...@eyield.com> on 2002/06/17 14:16:05 UTC

Custom tag question !

Hi All,

A small question on tag libs :

I have created a simple and working Struts application.  It builds and runs correctly. Now I have created a new tag class for some custom display. But when I build the project now, it does not build a .class file for this new .java file (which is the tag library source.) The file is located in the same location as all other source files. How do I "tell the build.xml" to build this file as well ?

Please reply ASAP.

Thanks in advance.

regards
-- Kedar


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Custom tag question !

Posted by Arron Bates <st...@keyboardmonkey.com>.
Simply putting your own java file in the same package as the rest of the 
Struts tags should see it compile into the struts.jar. There's no 
singling out of files, it just compiles the whole source tree. I use it 
for development of tags myself.

If it's not happening, the best source for the specifics of building 
with ANT, is ANT's site itself...
    http://jakarta.apache.org/ant

    ...because you're building with it, also means that you have the 
manual for it. It's in the ANT distrib.


Arron.



Kedar Upadhye wrote:

>Hi All,
>
>A small question on tag libs :
>
>I have created a simple and working Struts application.  It builds and runs correctly. Now I have created a new tag class for some custom display. But when I build the project now, it does not build a .class file for this new .java file (which is the tag library source.) The file is located in the same location as all other source files. How do I "tell the build.xml" to build this file as well ?
>
>Please reply ASAP.
>
>Thanks in advance.
>
>regards
>-- Kedar
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>