Is it really that tricky?

I had added a patch to http://issues.opennms.org/browse/NMS-4348 that at least 
lets the source compile cleanly.

My comments on it were:
    1. update jdbc classes to define new JDBC 4.1 method getParentLogger() 
method
    2. Fix jdk7 compile error in OnmsCriteria      (... have the same erasure, 
yet neither overrides the other)
    3. Add jdk7+ maven profile when running under jdk7+ that adds tools.jar 
when maven-jaxb-schemagen-plugin is used.

I am not sure what additional tests need to be ran to validate that this patch 
will still provide a working build. I know I had installed it and it ran under 
JDK6 and JDK7.

-----Original Message-----
From: Benjamin Reed [mailto:ran...@opennms.org] 
Sent: Wednesday, April 03, 2013 9:42 AM
To: OpenNMS Code Development and Bugs
Cc: vivek nalla
Subject: Re: [opennms-devel] Error while running ./compile.pl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/3/13 10:28 AM, vivek nalla wrote:
> [ERROR]
> /home/nalla/opennms/core/db/src/main/java/org/opennms/core/db/DataSour
> ceFactory.java:[71,13]
>
> 
error: DataSourceFactory is not abstract and does not override abstract
> method getParentLogger() in CommonDataSource

The OpenNMS source does not compile properly (yet) with JDK 7, since you have 
to do some tricky stuff to make source that's compatible with both.


- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFRXD+kUu+jZtP2Zf4RAtefAKCMtyvZaG8opt0QFW5JyJTqmrUOpgCgoiHk
z/b6I1PA00tKU4xIh30mF5A=
=q0uD
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire the most 
talented Cisco Certified professionals. Visit the Employer Resources Portal 
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to