ahhh, thanks I see the prob, yes I had an old JavaMail jar... and assumed that j2ee 1.3 == JavaMail 1.3
the j2ee 1.3 javadoc http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/mail/Folder.html is missing the getDeletedMessageCount() but it is in the JavaMail 1.3 javadoc http://java.sun.com/products/javamail/1.3/docs/javadocs/javax/mail/Folder.ht ml and http://java.sun.com/j2ee/1.4/docs/api/javax/mail/Folder.html thanks dan > -----Original Message----- > From: Carsten Ziegeler > Sent: Thursday, January 09, 2003 2:17 AM > To: [EMAIL PROTECTED] > Subject: RE: couple notes on latest 2.1 build > > Hi, > > I just downloaded the 1.3 API implementation from Sun of the mail.jar > and it works, the method getDeletedMessageCount() was added to the 1.3 > API. > So, it seems that your version is not a true 1.3 version. > > If you don't need the scratchpad stuff, you can set the > cocoon.webapp.scratchpad.include property in properties.xml to > false - and cocoon will compile (after a build clean). > > Carsten > > > -----Original Message----- > > From: Twadell, Daniel M [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 09, 2003 12:17 AM > > To: '[EMAIL PROTECTED]' > > Subject: couple notes on latest 2.1 build > > > > > > > > Hi all, just some input on two issues with latest 2.1 builds > > I HAD to add mail.jar and mod the jars.xml to get passed lots of > > javax.mail > > compile probs.. > > ( the condition on mail.jar does not seem to be correct) > > > > after adding j2ee 1.3 mail.jar > > > > one compile issue in > > scratchpad/src/org/apache/cocoon/mail/MailContentHandlerDelegate.java > > METHOD javax.mail.Folder.getDeletedMessageCount(); > > > > is referencing a beta java J2EE 1.4 APIs > > > > line 385 // addAttribute("deleted-messages", > > String.valueOf(folder.getDeletedMessageCount())); > > do you want to target j2ee 1.4 yet.... > > > > > > ALSO > > > > > > > > I am testing the latest 2.1 build on tomcat 4.1.17 > > with the webapp-local compile, the basic app was > > giving this error > > http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg24597.html > > > > it worked fine in 4.0.? tomcat > > > > problem seems to be the entity entry in document-v10.dtd > > > > <!ENTITY % charEntity SYSTEM "characters.ent"> > > %charEntity; > > > > I removed the above lines from all four document-v10.dtd > > and the cocoon servlet will work under my 4.1.17 > > > > some on know the new right why to include the characters.ent ??? > > > > > > > > I hope that provides a little ground work > > > > > > thanks > > dan > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]