9.04 Build Fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

9.04 Build Fails

Joe Eckard
CommunicationEventServices.java references changes to  
MimeMessageWrapper.java that are not present in 9.04.


classes:
   [javac15] Compiling 9 source files to /Users/eckard/src/ofbiz-rrmc/
applications/party/build/classes
   [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
ofbiz/party/communication/CommunicationEventServices.java:599: cannot  
find symbol
   [javac15] symbol  : method getMainPartCount()
   [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
   [javac15]             if (wrapper.getMainPartCount() > 1) {
   [javac15]                        ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
ofbiz/party/communication/CommunicationEventServices.java:600: cannot  
find symbol
   [javac15] symbol  : method getMainPartCount()
   [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
   [javac15]             for (int ind=0; ind <  
wrapper.getMainPartCount(); ind++) {
   [javac15]                                              ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
ofbiz/party/communication/CommunicationEventServices.java:601: cannot  
find symbol
   [javac15] symbol  : method getPart(java.lang.String)
   [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
   [javac15]             BodyPart p = wrapper.getPart(ind + "");
   [javac15]                                             ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
ofbiz/party/communication/CommunicationEventServices.java:609: cannot  
find symbol
   [javac15] symbol  : method getMessageBody()
   [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
   [javac15]             messageBody = wrapper.getMessageBody();
   [javac15]                                      ^
   [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
ofbiz/party/communication/CommunicationEventServices.java:613: cannot  
find symbol
   [javac15] symbol  : variable messageBodyContentType
   [javac15] location: class  
org.ofbiz.party.communication.CommunicationEventServices
   [javac15]             commEventMap.put("contentMimeTypeId",  
messageBodyContentType.toLowerCase());
   [javac15]                                                   ^
   [javac15] Note: /Users/eckard/src/ofbiz-rrmc/applications/party/src/
org/ofbiz/party/communication/CommunicationEventServices.java uses  
unchecked or unsafe operations.
   [javac15] Note: Recompile with -Xlint:unchecked for details.
   [javac15] 5 errors

BUILD FAILED

Reply | Threaded
Open this post in threaded view
|

Re: 9.04 Build Fails

hans_bakker
Thank you Joe for reporting,

this problem is fixed in revision 778927.

Regards,
Hans


On Tue, 2009-05-26 at 16:59 -0400, Joe Eckard wrote:

> CommunicationEventServices.java references changes to  
> MimeMessageWrapper.java that are not present in 9.04.
>
>
> classes:
>    [javac15] Compiling 9 source files to /Users/eckard/src/ofbiz-rrmc/
> applications/party/build/classes
>    [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
> ofbiz/party/communication/CommunicationEventServices.java:599: cannot  
> find symbol
>    [javac15] symbol  : method getMainPartCount()
>    [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
>    [javac15]             if (wrapper.getMainPartCount() > 1) {
>    [javac15]                        ^
>    [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
> ofbiz/party/communication/CommunicationEventServices.java:600: cannot  
> find symbol
>    [javac15] symbol  : method getMainPartCount()
>    [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
>    [javac15]             for (int ind=0; ind <  
> wrapper.getMainPartCount(); ind++) {
>    [javac15]                                              ^
>    [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
> ofbiz/party/communication/CommunicationEventServices.java:601: cannot  
> find symbol
>    [javac15] symbol  : method getPart(java.lang.String)
>    [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
>    [javac15]             BodyPart p = wrapper.getPart(ind + "");
>    [javac15]                                             ^
>    [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
> ofbiz/party/communication/CommunicationEventServices.java:609: cannot  
> find symbol
>    [javac15] symbol  : method getMessageBody()
>    [javac15] location: class org.ofbiz.service.mail.MimeMessageWrapper
>    [javac15]             messageBody = wrapper.getMessageBody();
>    [javac15]                                      ^
>    [javac15] /Users/eckard/src/ofbiz-rrmc/applications/party/src/org/
> ofbiz/party/communication/CommunicationEventServices.java:613: cannot  
> find symbol
>    [javac15] symbol  : variable messageBodyContentType
>    [javac15] location: class  
> org.ofbiz.party.communication.CommunicationEventServices
>    [javac15]             commEventMap.put("contentMimeTypeId",  
> messageBodyContentType.toLowerCase());
>    [javac15]                                                   ^
>    [javac15] Note: /Users/eckard/src/ofbiz-rrmc/applications/party/src/
> org/ofbiz/party/communication/CommunicationEventServices.java uses  
> unchecked or unsafe operations.
>    [javac15] Note: Recompile with -Xlint:unchecked for details.
>    [javac15] 5 errors
>
> BUILD FAILED
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates