Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1189

Ant target need to be execute twice to build Qpid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • M3
    • JIRA Cleanup
    • Broker-J
    • None
    • Ubuntu Gutsy, Ant 1.7, Java 1.5

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asankaa Asanka Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: