It's likey to be just the class path. There's an article on IBM about
writing mailets with a useful bit on using ant to build the SAR.
http://www-106.ibm.com/developerworks/java/library/j-james2.html
<fileset dir="${project.dir}/${temp.dir}/SAR-INF/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${project.dir}/${james.dir}/lib">
<include name="*.jar"/>
</fileset>
This is the classpath part of my ant script.
HTH
Linds
-----Original Message-----
From: Fox Sterling [mailto:[EMAIL PROTECTED]
Sent: 11 November 2003 15:21
To: James Users List
Subject: Errors Compiling Mailets
I was atempting to write my own mailet to access resources in a database. I
copied the database connection code from the JDBCVirtualUserTable.java class
and atempted to compile. I got a lot of "cannot access" messages for a
bunch of classes under the avalon framework. I then tried to compile
JDBCVirtualUserTable.java it's self, and still got the "cannot access"
messages. Any ideas on what I might be doing wrong to compile these files?
I'm using the command line to compile the files.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]