org.apache.commons.lang.ObjectUtils public boolean deepEquals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ThisClass other = (ThisClass) o; if(!ObjectUtils.equals(this.getFoo(), other.getFoo())) { return false; } if(!ObjectUtils.equals(this.getBar(), other.getBar())) { return false; } ... return true; } Also need to cascade into collections. Pass along a result object to track status and differences for reporting. Don't fail fast because reporting differences is extremely useful for debugging.
If your IDE and/or maven builds and ear/war in /home/tcollinsworth/svn/someApp/someProj/target/blah In $JBOSS_HOME/server/ServerName/conf/jboss-service.xml add: <attribute name="URLs"> deploy/,file:/home/tcollinsworth/svn/someApp/someProj/target/blah </attribute> From here And here Web apps require changing profile.xml
Download the Instant Client Package Basic and SQL*PLUS zips from here. Create a directory and unzip them both into that directory, they unzip into the same sub-dir The sql*plus .rpm files don't download properly, they just show partial data in firefox. Besides you would need alien to install the .rpm files since ubuntu used .deb. gedit ~/.bashrc Add the following editing paths as appropriate: PATH=.:$PATH:/home/tcollinsworth/Oracle/instantclient_10_2 export LD_LIBRARY_PATH=/home/tcollinsworth/Oracle/instantclient_10_2 export TNS_ADMIN=~ gedit ~/tnsnames.ora Add the following editing as appropriate: YOUR_ALIAS_NAME = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = someHostname.company.com)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = YOUR_SERVICE_NAME) (SERVER = DEDICATED) ) ) Reload the .bashrc with: . ~/.bashrc Connect to oracle with: >sqlplus user/pwd@your_alias_name Followed this blog
Uses custom classloader and bytecode manipulation for testing of static methods, constructors, final classes, etc. Suppress unwanted behaviors in parent classes, etc.
error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory There is lots of old info out there about fixing this that points to missing pages. Also there is lots of solutions that just don't work with latest Ubuntu 9.10 karmic koala. Simplest solution: Download and install it from here and select install with deb libdb.so.3 Download it from here and select install with deb libgdbm.so.2 bin/nsperl: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory sudo ln -s /usr/lib/libgdbm.so.3 /usr/lib/libgdbm.so.2 Issues found trying to install Sun One LDAP 5.2 on Ubuntu 9.10 Karkic Koala