You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2001/09/10 18:17:52 UTC

cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

jfclere     01/09/10 09:17:52

  Modified:    webapps/examples build.xml
  Log:
  Add mail.jar otherwise the SendMailServlet does not compile.
  
  Revision  Changes    Path
  1.11      +1 -0      jakarta-tomcat-4.0/webapps/examples/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/examples/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	2001/09/09 04:00:08	1.10
  +++ build.xml	2001/09/10 16:17:52	1.11
  @@ -17,6 +17,7 @@
   
     <!-- ================== Derived Property Values ========================= -->
     <property name="servlet.jar"     value="${servletapi.home}/lib/servlet.jar"/>
  +  <property name="mail.jar"        value="${mail.home}/lib/mail.jar"/>
   
   
     <!-- =================== BUILD: Create Directories ====================== -->
  
  
  

Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 11 Sep 2001, Punky Tse wrote:

> Date: Tue, 11 Sep 2001 10:04:19 +0800
> From: Punky Tse <pu...@yahoo.com>
> Reply-To: tomcat-dev@jakarta.apache.org, Punky Tse <pu...@yahoo.com>
> To: tomcat-dev@jakarta.apache.org
> Cc: remm@apache.org
> Subject: Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml
>
> Reme,
>
> Thank you for commiting the patch.  And it works now.
>
> One other thing is that I need to have xalan.jar inclued in my classpath so
> that the tomcat-doc target can be built sucessfully.  I read from
> BUILDING.txt that the xalan.jar is not a prerequsite but just a
> recommendation to have it set.  Could just change the BUILDING.txt by
> stating that xalan.jar is required in classpath when building "dist" target,
> or do you have better idea on that?
>
> Punky
>

Sigh, for whatever reason the Ant 1.4 folks decided not to include
xalan.jar in the standard distribution (probably 'cause no standard Ant
task needs it).  I've updated "BUILDING.txt" to tell you what you have to
do to set this up.

Craig



>
> ----- Original Message -----
> From: "Remy Maucherat" <re...@apache.org>
> To: <to...@jakarta.apache.org>
> Sent: Tuesday, September 11, 2001 1:20 AM
> Subject: Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml
>
>
> > > That is worse:
> > >
> > > Have a look to catalina/build.xml (lib/mail.jar).
> > >
> > > I will test and commit a better patch...
> >
> > What is the problem with that change (which I already committed) ?
> > In my JAF and JavaMail packages, there is no lib directory, so the default
> > property value didn't work for me.
> >
> > Remy
>
>


Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by Punky Tse <pu...@yahoo.com>.
Reme,

Thank you for commiting the patch.  And it works now.

One other thing is that I need to have xalan.jar inclued in my classpath so
that the tomcat-doc target can be built sucessfully.  I read from
BUILDING.txt that the xalan.jar is not a prerequsite but just a
recommendation to have it set.  Could just change the BUILDING.txt by
stating that xalan.jar is required in classpath when building "dist" target,
or do you have better idea on that?

Punky


----- Original Message -----
From: "Remy Maucherat" <re...@apache.org>
To: <to...@jakarta.apache.org>
Sent: Tuesday, September 11, 2001 1:20 AM
Subject: Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml


> > That is worse:
> >
> > Have a look to catalina/build.xml (lib/mail.jar).
> >
> > I will test and commit a better patch...
>
> What is the problem with that change (which I already committed) ?
> In my JAF and JavaMail packages, there is no lib directory, so the default
> property value didn't work for me.
>
> Remy


Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Remy Maucherat wrote:
> 
> > That is worse:
> >
> > Have a look to catalina/build.xml (lib/mail.jar).
> >
> > I will test and commit a better patch...
> 
> What is the problem with that change (which I already committed) ?

No problem... Just my repository is some hours too old ;-). Next time I will
read the jakarta-tomcat-4.0-cvs before committing.

> In my JAF and JavaMail packages, there is no lib directory, so the default
> property value didn't work for me.
> 
> Remy

Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by Remy Maucherat <re...@apache.org>.
> That is worse:
>
> Have a look to catalina/build.xml (lib/mail.jar).
>
> I will test and commit a better patch...

What is the problem with that change (which I already committed) ?
In my JAF and JavaMail packages, there is no lib directory, so the default
property value didn't work for me.

Remy


Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
That is worse:

Have a look to catalina/build.xml (lib/mail.jar).

I will test and commit a better patch...

Punky Tse wrote:
> 
> Seems like only need this should work....
> 
> Index: build.xml
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-tomcat-4.0/webapps/examples/build.xml,v
> retrieving revision 1.11
> diff -r1.11 build.xml
> 20,21c20,21
> <   <property name="mail.jar"
> value="${mail.home}/lib/mail.jar"/>
> <
> ---
> >   <property name="mail.jar"
> value="${mail.home}/mail.jar"/>
> >   <property name="activation.jar"
> value="${activation.home}/activation.jar"/>
> 
> --- jfclere@apache.org wrote:
> > jfclere     01/09/10 09:17:52
> >
> >   Modified:    webapps/examples build.xml
> >   Log:
> >   Add mail.jar otherwise the SendMailServlet does
> > not compile.
> >
> >   Revision  Changes    Path
> >   1.11      +1 -0
> > jakarta-tomcat-4.0/webapps/examples/build.xml
> >
> >   Index: build.xml
> >
> >
> ===================================================================
> >   RCS file:
> >
> /home/cvs/jakarta-tomcat-4.0/webapps/examples/build.xml,v
> >   retrieving revision 1.10
> >   retrieving revision 1.11
> >   diff -u -r1.10 -r1.11
> >   --- build.xml       2001/09/09 04:00:08     1.10
> >   +++ build.xml       2001/09/10 16:17:52     1.11
> >   @@ -17,6 +17,7 @@
> >
> >      <!-- ================== Derived Property Values
> > ========================= -->
> >      <property name="servlet.jar"
> > value="${servletapi.home}/lib/servlet.jar"/>
> >   +  <property name="mail.jar"
> > value="${mail.home}/lib/mail.jar"/>
> >
> >
> >      <!-- =================== BUILD: Create
> > Directories ====================== -->
> >
> >
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com

Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Punky Tse wrote:
> 
> Seems like only need this should work....

Sure: It is in the class list. (But I do not have yet the example that uses it).

> 
> Index: build.xml
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-tomcat-4.0/webapps/examples/build.xml,v
> retrieving revision 1.11
> diff -r1.11 build.xml
> 20,21c20,21
> <   <property name="mail.jar"
> value="${mail.home}/lib/mail.jar"/>
> <
> ---
> >   <property name="mail.jar"
> value="${mail.home}/mail.jar"/>
> >   <property name="activation.jar"
> value="${activation.home}/activation.jar"/>
> 
> --- jfclere@apache.org wrote:
> > jfclere     01/09/10 09:17:52
> >
> >   Modified:    webapps/examples build.xml
> >   Log:
> >   Add mail.jar otherwise the SendMailServlet does
> > not compile.
> >
> >   Revision  Changes    Path
> >   1.11      +1 -0
> > jakarta-tomcat-4.0/webapps/examples/build.xml
> >
> >   Index: build.xml
> >
> >
> ===================================================================
> >   RCS file:
> >
> /home/cvs/jakarta-tomcat-4.0/webapps/examples/build.xml,v
> >   retrieving revision 1.10
> >   retrieving revision 1.11
> >   diff -u -r1.10 -r1.11
> >   --- build.xml       2001/09/09 04:00:08     1.10
> >   +++ build.xml       2001/09/10 16:17:52     1.11
> >   @@ -17,6 +17,7 @@
> >
> >      <!-- ================== Derived Property Values
> > ========================= -->
> >      <property name="servlet.jar"
> > value="${servletapi.home}/lib/servlet.jar"/>
> >   +  <property name="mail.jar"
> > value="${mail.home}/lib/mail.jar"/>
> >
> >
> >      <!-- =================== BUILD: Create
> > Directories ====================== -->
> >
> >
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com

Re: cvs commit: jakarta-tomcat-4.0/webapps/examples build.xml

Posted by Punky Tse <pu...@yahoo.com>.
Seems like only need this should work....

Index: build.xml
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat-4.0/webapps/examples/build.xml,v
retrieving revision 1.11
diff -r1.11 build.xml
20,21c20,21
<   <property name="mail.jar"       
value="${mail.home}/lib/mail.jar"/>
<
---
>   <property name="mail.jar"       
value="${mail.home}/mail.jar"/>
>   <property name="activation.jar" 
value="${activation.home}/activation.jar"/>




--- jfclere@apache.org wrote:
> jfclere     01/09/10 09:17:52
> 
>   Modified:    webapps/examples build.xml
>   Log:
>   Add mail.jar otherwise the SendMailServlet does
> not compile.
>   
>   Revision  Changes    Path
>   1.11      +1 -0     
> jakarta-tomcat-4.0/webapps/examples/build.xml
>   
>   Index: build.xml
>  
>
===================================================================
>   RCS file:
>
/home/cvs/jakarta-tomcat-4.0/webapps/examples/build.xml,v
>   retrieving revision 1.10
>   retrieving revision 1.11
>   diff -u -r1.10 -r1.11
>   --- build.xml	2001/09/09 04:00:08	1.10
>   +++ build.xml	2001/09/10 16:17:52	1.11
>   @@ -17,6 +17,7 @@
>    
>      <!-- ================== Derived Property Values
> ========================= -->
>      <property name="servlet.jar"    
> value="${servletapi.home}/lib/servlet.jar"/>
>   +  <property name="mail.jar"       
> value="${mail.home}/lib/mail.jar"/>
>    
>    
>      <!-- =================== BUILD: Create
> Directories ====================== -->
>   
>   
>   


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com