You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2008/07/23 12:29:31 UTC

[jira] Updated: (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:all-tabpanel ]

Aidan Skinner updated QPID-1189:
--------------------------------

      Component/s:     (was: Ant Build System)
                   Java Broker
    Fix Version/s: M3

> 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.