[
https://issues.apache.org/jira/browse/QPID-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marnie McCormack updated QPID-1189:
-----------------------------------
Fix Version/s: (was: M4)
> 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
>
> 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.