You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2003/04/18 01:31:57 UTC
Problem with build system validation (was: [ANN] Improved Sendmail
Action + Sendmail Logicsheet)
Now to cocoon-dev, because it seems to be a more general problem with
the build system:
When excluding the mail block via local.blocks.properties I can't finish
the build process because of validation:
D:/cocoon-2.1/tools/src/check-jars.xsl:90:36: Warning!
File mail/lib/mail.jar is declared in lib/jars.xml, but doesn't
appear in the lib/ directory.
If this file was removed, please update the lib/jars.xml file to
remove this file entry.
: Fatal Error! Stylesheet f³hrte zu Beendigung
: Fatal Error! Fatal error during transformation Cause: Fatal error
during transformation
Failed to process D:\cocoon-2.1\lib\jars.xml
BUILD FAILED
file:///D:/cocoon-2.1/src/targets/validate-build.xml:51: Fatal error
during transformation
But it doesn't make much sense, when I can't exclude a block because of
validation.
Joerg
Joerg Heinicke wrote:
> Sorry, but I can't compile Cocoon any longer.
>
> Joerg
>
>
> D:\cocoon-2.1\src\blocks\mail\java\org\apache\cocoon\mail\MailMessageSender.java:79:
> cannot resolve symbol
> symbol : class MimeBodyPart
> location: package internet
> import javax.mail.internet.MimeBodyPart;
> ^
> D:\cocoon-2.1\src\blocks\mail\java\org\apache\cocoon\mail\MailMessageSender.java:279:
> cannot resolve symbol
> symbol : class MimeBodyPart
> location: class org.apache.cocoon.mail.MailMessageSender
> bodypart = new MimeBodyPart();
> ^
> D:\cocoon-2.1\src\blocks\mail\java\org\apache\cocoon\mail\MailMessageSender.java:311:
> cannot resolve symbol
> symbol : class MimeBodyPart
> location: class org.apache.cocoon.mail.MailMessageSender
> bodypart = new MimeBodyPart();
> ^
> 3 errors
>
> BUILD FAILED
>
>
> Christian Haul wrote:
>
>>
>> Thanks to Frank Ridderbusch, Cocoon 2.1-dev as of now has much
>> improved sendmail capabilities. It now even includes samples and docs :-)
>>
>> * attachments from file uploads
>> * attachments from sources (e.g. cocoon:-protocol!)
>> * set mime-type for attachment (ls only)
>> * set file name for attachment (ls only)
>> * send success / failure signalled to sitemap
>> * logicsheet tags for on-success / on-error
>> * set character encoding
>> * include bcc, cc
>> * doc for sendmail action
>> * doc for sendmail logicsheet
>> * sample for sendmail action
>> * sample for sendmail logicsheet
>>
>> Limitations:
>> * only uploads and sources can be attached
>>
>> Have fun.
>>
>> Chris.