cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twadell, Daniel M" <Daniel.Twad...@jbosc.ksc.nasa.gov>
Subject RE: couple notes on latest 2.1 build
Date Thu, 09 Jan 2003 13:52:46 GMT
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:	cocoon-dev@xml.apache.org
> 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:Daniel.Twadell@jbosc.ksc.nasa.gov]
> > Sent: Thursday, January 09, 2003 12:17 AM
> > To: 'cocoon-dev@xml.apache.org'
> > 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: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message