Hi
  I did fix please take update in /sequence-editor/
org.wso2.carbon.sequences.ui/4.2.0



btw  Vanji,
 please review the commit at the  sequence-editor module which has been
broken due to some of the  latest changers prior to my commit, anyway
please check why it returns object instead of OMElement, you have the best
reason since you worked for this module recently..


Modified: carbon/platform/trunk/components/sequence-editor/
org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
sequences/ui/client/SequenceAdminClient.java
===================================================================
--- carbon/platform/trunk/components/sequence-editor/
org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
sequences/ui/client/SequenceAdminClient.java    2013-08-16 18:28:11 UTC
(rev 181653)
+++ carbon/platform/trunk/components/sequence-editor/
org.wso2.carbon.sequences.ui/src/main/java/org/wso2/carbon/
sequences/ui/client/SequenceAdminClient.java    2013-08-16 18:30:35 UTC
(rev 181654)
@@ -145,7 +145,7 @@
     private OMElement getSequence(String sequenceName) throws
SequenceEditorException {
         OMElement element = null;
         try {
-            element = sequenceAdminStub.getSequence(
sequenceName).getFirstElement();
+            element = ((OMElement)(sequenceAdminStub.getSequence(
sequenceName))).getFirstElement();
         } catch (Exception e) {
             handleException("Couldn't retrieve the sequence element with
name '"
                     + sequenceName + "'", e);
@@ -197,7 +197,7 @@
     public OMElement getDynamicSequence(String key) throws
SequenceEditorException {
         OMElement dynamicSequence = null;
         try {
-            dynamicSequence = sequenceAdminStub.getDynamicSequence(key);
+            dynamicSequence = (OMElement)sequenceAdminStub.
getDynamicSequence(key);
         } catch (Exception e) {
             handleException("Couldn't get dynamic sequence with key '" +
key + "'", e);
         }


On Fri, Aug 16, 2013 at 11:36 PM, Shameera Rathnayaka <[email protected]>wrote:

> Hi ESB team,
>
> This will lead to many build failures in mediator module, Please consider
> this as urgent issue.
>
> Thanks,
> Shameera.
>
>
> On Fri, Aug 16, 2013 at 10:10 PM, Shameera Rathnayaka 
> <[email protected]>wrote:
>
>> Hi
>>
>> Please fix the $subject.
>>
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> org.wso2.carbon.sequences.ui ---
>> [INFO] Compiling 12 source files to
>> /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>> /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java:[148,65]
>> cannot find symbol
>> symbol  : method getFirstElement()
>> location: class java.lang.Object
>> [ERROR]
>> /build/branches/platform/components/sequence-editor/org.wso2.carbon.sequences.ui/4.2.0/src/main/java/org/wso2/carbon/sequences/ui/client/SequenceAdminClient.java:[200,66]
>> incompatible types
>> found   : java.lang.Object
>> required: org.apache.axiom.om.OMElement
>> [INFO] 2 errors
>>
>> Thanks,
>> Shameera.
>>
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com <[email protected]> , shameera AT 
>> apache.org<[email protected]>
>> *
>> *phone:  +9471 922 1454*
>> *
>> *
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter     : *https://twitter.com/Shameera_R
>>
>
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com <[email protected]> , shameera AT 
> apache.org<[email protected]>
> *
> *phone:  +9471 922 1454*
> *
> *
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter     : *https://twitter.com/Shameera_R
>



-- 
Dushan Abeyruwan
Associate Tech Lead
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/*
*Mobile:(+94)714408632*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to