You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2008/07/23 15:45:31 UTC
[jira] Commented: (QPID-1189) Ant target need to be execute twice
to build Qpid
[ https://issues.apache.org/jira/browse/QPID-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616017#action_12616017 ]
Rajith Attapattu commented on QPID-1189:
----------------------------------------
This is only an issue on Java 1.5
I believe Rob is planning to make the nessacery changes to make it compile properly under java 1.5
> Ant target need to be execute twice to build Qpid
> -------------------------------------------------
>
> Key: QPID-1189
> URL: https://issues.apache.org/jira/browse/QPID-1189
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M3
> Environment: Ubuntu Gutsy, Ant 1.7, Java 1.5
> Reporter: Asanka Abeysinghe
> Fix For: M3
>
>
> Ant target (ant build) need to be execute twice to build the system.
> First run gives an Error :
> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:81: unreported exception java.lang.Exception; must be caught or declared to be thrown
> [javac] Object object = evaluate(message);
> [javac] ^
> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:216: unreported exception java.lang.Exception; must be caught or declared to be thrown
> [javac] Object rvalue = right.evaluate(message);
> [javac] ^
> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:251: unreported exception java.lang.Exception; must be caught or declared to be thrown
> [javac] Object rvalue = right.evaluate(message);
> [javac] ^
> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:321: unreported exception java.lang.Exception; must be caught or declared to be thrown
> [javac] Boolean lvalue = (Boolean) right.evaluate(message);
> [javac] ^
> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:345: unreported exception java.lang.Exception; must be caught or declared to be thrown
> [javac] Object rvalue = right.evaluate(message);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 5 errors
> Once the target runs again it compiles the binary correctly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (QPID-1189) Ant target need to be execute twice
to build Qpid
Posted by Asanka Abeysinghe <as...@wso2.com>.
Yes it works fine with Java 1.6
Rajith Attapattu (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/QPID-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616017#action_12616017 ]
>
> Rajith Attapattu commented on QPID-1189:
> ----------------------------------------
>
> This is only an issue on Java 1.5
> I believe Rob is planning to make the nessacery changes to make it compile properly under java 1.5
>
>
>> Ant target need to be execute twice to build Qpid
>> -------------------------------------------------
>>
>> Key: QPID-1189
>> URL: https://issues.apache.org/jira/browse/QPID-1189
>> Project: Qpid
>> Issue Type: Bug
>> Components: Java Broker
>> Affects Versions: M3
>> Environment: Ubuntu Gutsy, Ant 1.7, Java 1.5
>> Reporter: Asanka Abeysinghe
>> Fix For: M3
>>
>>
>> Ant target (ant build) need to be execute twice to build the system.
>> First run gives an Error :
>> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:81: unreported exception java.lang.Exception; must be caught or declared to be thrown
>> [javac] Object object = evaluate(message);
>> [javac] ^
>> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:216: unreported exception java.lang.Exception; must be caught or declared to be thrown
>> [javac] Object rvalue = right.evaluate(message);
>> [javac] ^
>> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:251: unreported exception java.lang.Exception; must be caught or declared to be thrown
>> [javac] Object rvalue = right.evaluate(message);
>> [javac] ^
>> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:321: unreported exception java.lang.Exception; must be caught or declared to be thrown
>> [javac] Boolean lvalue = (Boolean) right.evaluate(message);
>> [javac] ^
>> [javac] /home/asankaa/workspace/qpid-1.0-dev/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:345: unreported exception java.lang.Exception; must be caught or declared to be thrown
>> [javac] Object rvalue = right.evaluate(message);
>> [javac] ^
>> [javac] Note: Some input files use or override a deprecated API.
>> [javac] Note: Recompile with -Xlint:deprecation for details.
>> [javac] Note: Some input files use unchecked or unsafe operations.
>> [javac] Note: Recompile with -Xlint:unchecked for details.
>> [javac] 5 errors
>> Once the target runs again it compiles the binary correctly.
>>
>
>