tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjorn A <b.pub...@limepark.se>
Subject Re: problem running Javamail and Ant
Date Mon, 07 Jul 2003 10:45:01 GMT
See inline comments
On Mon, 7 Jul 2003 19:56:25 +1000 (EST), kitty winslet 
<tomcatask@yahoo.com.au> wrote:
>
> Hi..  I just installed Tomcat web server in my W2K professional, but I 
> have very little knowledge about Java and Tomcat.  May I know whether 
> Javamail is already included in Tomcat? How do I send mail thru tomcat?  
> I download the Javamail-1.3.1 at 
> http://java.sun.com/products/javamail/index.html, the it only provide the 
> installation instruction for solaris, 95/NT.  Anyone know it can be 
> installed in Win2000 pro?? I followed the way (for win95) to install 
> javamail in my W2k pro PC, but  when I want to run the following demo, it 
> gives me the following error.  How do I solve the problem?
>
> C:\javamail\javamail-1.3.1\demo>java msgshow -
> Exception in thread "main" java.lang.NoClassDefFoundError: msgshow
it seems you havent compiled the application, or the compile failed...

>
> Besides, I also downloaded "ant", but when I type the command, it gives 
> me the following error.  Why?
> C:\>ant
> Buildfile: build.xml does not exist!
> Build failed
> C:\>

I'm not a ant guru, but ...
Ant is a build tool. afaik it does not do much on its own.
Say you develop a killer webapplication, and you'd wanna create a 
distribution version of that app. this process often includes many 
individual tasks. You'd have to compile your servlets, see to it that all 
the required libraries are in place, copy jsps, create a war file and other 
things... With ant you can do this automatically. But you have to describe 
what ant should copy where etc., and this is done in an xml file called 
build.xml

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/introduction.html
and subpages for further information...

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


Mime
View raw message