You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lahiru Gunathilake (JIRA)" <qp...@incubator.apache.org> on 2008/10/08 09:37:44 UTC

[jira] Resolved: (QPID-1329) ant compile fails

     [ https://issues.apache.org/jira/browse/QPID-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved QPID-1329.
--------------------------------------

    Resolution: Fixed

resolve the issue, but can some one have a look since I'm new to the team.

> ant compile fails
> -----------------
>
>                 Key: QPID-1329
>                 URL: https://issues.apache.org/jira/browse/QPID-1329
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: M3
>         Environment: Ubuntu 8.04
>            Reporter: Lahiru Gunathilake
>            Priority: Minor
>             Fix For: M3
>
>
> When I'm trying to compile using ant it gives me this error,
> compile:
>      [echo] Targeting : 1.5
>     [javac] Compiling 267 source files to /home/lahiru/qpid/java/build/broker/classes
>     [javac] /home/lahiru/qpid/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/lahiru/qpid/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/lahiru/qpid/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/lahiru/qpid/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/lahiru/qpid/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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.