Re: [Carbon-dev] Compilation Failure in Message Box component
Yes. I commented out it from the default build profile of 'Event' component locally. :) Thanks, Thilina On Thu, May 27, 2010 at 12:33 AM, Danushka Menikkumbura wrote: > Thilina, > > You can get rid of this module for the time being as its an event server > thing. I will make it work on Java 5 in the mean time. > > Danushka > > On Thu, May 27, 2010 at 12:20 AM, Thilina Mahesh Buddhika < > thili...@wso2.com> wrote: > >> This code is written using some JDK 1.6 constructs (I am on Java 1.5, so >> it does not compile in my machine.). I think, we should make this code >> compliant with JDK 1.5. >> >> Thanks, >> Thilina >> >> >> On Thu, May 27, 2010 at 12:07 AM, Thilina Mahesh Buddhika < >> thili...@wso2.com> wrote: >> >>> Hi devs, >>> >>> While trying to build the carbon components in trunk, I encountered the >>> following compilation failure. >>> >>> [INFO] >>> >>> [INFO] Building WSO2 Carbon - Message Box >>> [INFO]task-segment: [clean, install] >>> [INFO] >>> >>> [INFO] [clean:clean] >>> [INFO] Deleting directory >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target >>> [INFO] [build-helper:add-source {execution: add-source}] >>> [INFO] Source directory: >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/generated-code/src >>> added. >>> [INFO] [resources:resources] >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>> [INFO] Copying 13 resources >>> [INFO] [compiler:compile] >>> [INFO] Compiling 13 source files to >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/classes >>> [INFO] >>> >>> [ERROR] BUILD FAILURE >>> [INFO] >>> >>> [INFO] Compilation failure >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/src/main/java/org/wso2/carbon/event/messagebox/SQLProcessor.java:[261,21] >>> setBinaryStream(int,java.io.InputStream,int) in java.sql.PreparedStatement >>> cannot be applied to (int,java.io.ByteArrayInputStream) >>> >>> >>> I am on the latest version of the trunk. Am I missing anything? >>> >>> Thanks, >>> Thilina >>> >>> -- >>> Thilina Mahesh Buddhika >>> Senior Software Engineer >>> WSO2 Inc. ; http://wso2.com >>> lean . enterprise . middleware >>> >>> phone : +94 77 44 88 727 >>> blog : http://blog.thilinamb.com >>> >> >> >> >> -- >> Thilina Mahesh Buddhika >> Senior Software Engineer >> WSO2 Inc. ; http://wso2.com >> lean . enterprise . middleware >> >> phone : +94 77 44 88 727 >> blog : http://blog.thilinamb.com >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Danushka Menikkumbura > Technical Lead & Product Manager, WSO2 SOA Enablement Server > > > WSO2, Inc.; http://wso2.com > Lean . Enterprise . Middleware > > phone : +94 77 364 1754 > blog : http://danushka-menikkumbura.blogspot.com/ > > Disclaimer: This communication may contain privileged or other confidential > information and is intended exclusively for the addressee/s. If you are not > the intended recipient/s, or believe that you may have received this > communication in error, please reply to the sender indicating that fact and > delete the copy you received and in addition, you should not print, copy, > retransmit, disseminate, or otherwise use the information contained in this > communication. Internet communications cannot be guaranteed to be timely, > secure, error or virus-free. The sender does not accept liability for any > errors or omissions. > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Compilation Failure in Message Box component
Yes. I commented out it from the default build profile of 'Event' component. Thanks, Thilina On Thu, May 27, 2010 at 12:33 AM, Danushka Menikkumbura wrote: > Thilina, > > You can get rid of this module for the time being as its an event server > thing. I will make it work on Java 5 in the mean time. > > Danushka > > On Thu, May 27, 2010 at 12:20 AM, Thilina Mahesh Buddhika < > thili...@wso2.com> wrote: > >> This code is written using some JDK 1.6 constructs (I am on Java 1.5, so >> it does not compile in my machine.). I think, we should make this code >> compliant with JDK 1.5. >> >> Thanks, >> Thilina >> >> >> On Thu, May 27, 2010 at 12:07 AM, Thilina Mahesh Buddhika < >> thili...@wso2.com> wrote: >> >>> Hi devs, >>> >>> While trying to build the carbon components in trunk, I encountered the >>> following compilation failure. >>> >>> [INFO] >>> >>> [INFO] Building WSO2 Carbon - Message Box >>> [INFO]task-segment: [clean, install] >>> [INFO] >>> >>> [INFO] [clean:clean] >>> [INFO] Deleting directory >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target >>> [INFO] [build-helper:add-source {execution: add-source}] >>> [INFO] Source directory: >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/generated-code/src >>> added. >>> [INFO] [resources:resources] >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>> [INFO] Copying 13 resources >>> [INFO] [compiler:compile] >>> [INFO] Compiling 13 source files to >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/classes >>> [INFO] >>> >>> [ERROR] BUILD FAILURE >>> [INFO] >>> >>> [INFO] Compilation failure >>> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/src/main/java/org/wso2/carbon/event/messagebox/SQLProcessor.java:[261,21] >>> setBinaryStream(int,java.io.InputStream,int) in java.sql.PreparedStatement >>> cannot be applied to (int,java.io.ByteArrayInputStream) >>> >>> >>> I am on the latest version of the trunk. Am I missing anything? >>> >>> Thanks, >>> Thilina >>> >>> -- >>> Thilina Mahesh Buddhika >>> Senior Software Engineer >>> WSO2 Inc. ; http://wso2.com >>> lean . enterprise . middleware >>> >>> phone : +94 77 44 88 727 >>> blog : http://blog.thilinamb.com >>> >> >> >> >> -- >> Thilina Mahesh Buddhika >> Senior Software Engineer >> WSO2 Inc. ; http://wso2.com >> lean . enterprise . middleware >> >> phone : +94 77 44 88 727 >> blog : http://blog.thilinamb.com >> >> ___ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Danushka Menikkumbura > Technical Lead & Product Manager, WSO2 SOA Enablement Server > > > WSO2, Inc.; http://wso2.com > Lean . Enterprise . Middleware > > phone : +94 77 364 1754 > blog : http://danushka-menikkumbura.blogspot.com/ > > Disclaimer: This communication may contain privileged or other confidential > information and is intended exclusively for the addressee/s. If you are not > the intended recipient/s, or believe that you may have received this > communication in error, please reply to the sender indicating that fact and > delete the copy you received and in addition, you should not print, copy, > retransmit, disseminate, or otherwise use the information contained in this > communication. Internet communications cannot be guaranteed to be timely, > secure, error or virus-free. The sender does not accept liability for any > errors or omissions. > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Compilation Failure in Message Box component
Thilina, You can get rid of this module for the time being as its an event server thing. I will make it work on Java 5 in the mean time. Danushka On Thu, May 27, 2010 at 12:20 AM, Thilina Mahesh Buddhika wrote: > This code is written using some JDK 1.6 constructs (I am on Java 1.5, so it > does not compile in my machine.). I think, we should make this code > compliant with JDK 1.5. > > Thanks, > Thilina > > > On Thu, May 27, 2010 at 12:07 AM, Thilina Mahesh Buddhika < > thili...@wso2.com> wrote: > >> Hi devs, >> >> While trying to build the carbon components in trunk, I encountered the >> following compilation failure. >> >> [INFO] >> >> [INFO] Building WSO2 Carbon - Message Box >> [INFO]task-segment: [clean, install] >> [INFO] >> >> [INFO] [clean:clean] >> [INFO] Deleting directory >> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target >> [INFO] [build-helper:add-source {execution: add-source}] >> [INFO] Source directory: >> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/generated-code/src >> added. >> [INFO] [resources:resources] >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 13 resources >> [INFO] [compiler:compile] >> [INFO] Compiling 13 source files to >> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/classes >> [INFO] >> >> [ERROR] BUILD FAILURE >> [INFO] >> >> [INFO] Compilation failure >> /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/src/main/java/org/wso2/carbon/event/messagebox/SQLProcessor.java:[261,21] >> setBinaryStream(int,java.io.InputStream,int) in java.sql.PreparedStatement >> cannot be applied to (int,java.io.ByteArrayInputStream) >> >> >> I am on the latest version of the trunk. Am I missing anything? >> >> Thanks, >> Thilina >> >> -- >> Thilina Mahesh Buddhika >> Senior Software Engineer >> WSO2 Inc. ; http://wso2.com >> lean . enterprise . middleware >> >> phone : +94 77 44 88 727 >> blog : http://blog.thilinamb.com >> > > > > -- > Thilina Mahesh Buddhika > Senior Software Engineer > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 77 44 88 727 > blog : http://blog.thilinamb.com > > ___ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Danushka Menikkumbura Technical Lead & Product Manager, WSO2 SOA Enablement Server WSO2, Inc.; http://wso2.com Lean . Enterprise . Middleware phone : +94 77 364 1754 blog : http://danushka-menikkumbura.blogspot.com/ Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Compilation Failure in Message Box component
This code is written using some JDK 1.6 constructs (I am on Java 1.5, so it does not compile in my machine.). I think, we should make this code compliant with JDK 1.5. Thanks, Thilina On Thu, May 27, 2010 at 12:07 AM, Thilina Mahesh Buddhika wrote: > Hi devs, > > While trying to build the carbon components in trunk, I encountered the > following compilation failure. > > [INFO] > > [INFO] Building WSO2 Carbon - Message Box > [INFO]task-segment: [clean, install] > [INFO] > > [INFO] [clean:clean] > [INFO] Deleting directory > /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target > [INFO] [build-helper:add-source {execution: add-source}] > [INFO] Source directory: > /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/generated-code/src > added. > [INFO] [resources:resources] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 13 resources > [INFO] [compiler:compile] > [INFO] Compiling 13 source files to > /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/classes > [INFO] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Compilation failure > /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/src/main/java/org/wso2/carbon/event/messagebox/SQLProcessor.java:[261,21] > setBinaryStream(int,java.io.InputStream,int) in java.sql.PreparedStatement > cannot be applied to (int,java.io.ByteArrayInputStream) > > > I am on the latest version of the trunk. Am I missing anything? > > Thanks, > Thilina > > -- > Thilina Mahesh Buddhika > Senior Software Engineer > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 77 44 88 727 > blog : http://blog.thilinamb.com > -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
[Carbon-dev] Compilation Failure in Message Box component
Hi devs, While trying to build the carbon components in trunk, I encountered the following compilation failure. [INFO] [INFO] Building WSO2 Carbon - Message Box [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean] [INFO] Deleting directory /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target [INFO] [build-helper:add-source {execution: add-source}] [INFO] Source directory: /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/generated-code/src added. [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] [compiler:compile] [INFO] Compiling 13 source files to /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /home/thilina/projects/trunk/components/event/org.wso2.carbon.event.messagebox/src/main/java/org/wso2/carbon/event/messagebox/SQLProcessor.java:[261,21] setBinaryStream(int,java.io.InputStream,int) in java.sql.PreparedStatement cannot be applied to (int,java.io.ByteArrayInputStream) I am on the latest version of the trunk. Am I missing anything? Thanks, Thilina -- Thilina Mahesh Buddhika Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev