See <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/8273/changes>
Changes:
[victorwon] resolve naming conflict
------------------------------------------
Started by an SCM change
[workspace] $ cvs -q -z3 update -PdC -D "Tuesday, November 30, 2010 7:01:09 PM UTC"
? oscar_trunk.md5
? build/tomcat.properties
P web/schedule/scheduleMainBeanConn.jspf
P web/schedule/scheduletemplateapplying.jsp
$ computing changelog
[build] $ /usr/local/ant/bin/ant -file build.xml -Denv.FINDBUGS_HOME=/usr/local/findbugs-1.3.9/ -Denv.CATALINA_HOME=/usr/share/tomcat6/ clean dist jspc pmd findbugs codeCheck
Buildfile: build.xml
Trying to override old definition of datatype resources
[echo] Using CATALINA_HOME=/usr/share/tomcat6
Trying to override old definition of task reload
Trying to override old definition of task start
Trying to override old definition of task resources
Trying to override old definition of task deploy
Trying to override old definition of task roles
Trying to override old definition of task list
Trying to override old definition of task stop
Trying to override old definition of task undeploy
init:
clean:
[delete] Deleting directory <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/test>
[delete] Deleting directory <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp>
init:
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/report>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web/classes>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/doc>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web/WEB-INF>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web/WEB-INF/lib>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/test>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/document>
[mkdir] Created dir: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/document/classes>
web:
[javac] Compiling 2253 source files to <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web/classes>
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:33: warning: [deprecation] com.sun.net.ssl.TrustManager in com.sun.net.ssl has been deprecated
[javac] import com.sun.net.ssl.TrustManager;
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:34: warning: [deprecation] com.sun.net.ssl.TrustManagerFactory in com.sun.net.ssl has been deprecated
[javac] import com.sun.net.ssl.TrustManagerFactory;
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:35: warning: [deprecation] com.sun.net.ssl.X509TrustManager in com.sun.net.ssl has been deprecated
[javac] import com.sun.net.ssl.X509TrustManager;
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:59: warning: [deprecation] com.sun.net.ssl.X509TrustManager in com.sun.net.ssl has been deprecated
[javac] public class EasyX509TrustManager implements X509TrustManager
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:61: warning: [deprecation] com.sun.net.ssl.X509TrustManager in com.sun.net.ssl has been deprecated
[javac] private X509TrustManager standardTrustManager = null;
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/oscar/eform/actions/ManageEFormAction.java>:44: warning: [deprecation] org.apache.commons.httpclient.methods.MultipartPostMethod in org.apache.commons.httpclient.methods has been deprecated
[javac] import org.apache.commons.httpclient.methods.MultipartPostMethod;
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:68: warning: [deprecation] com.sun.net.ssl.TrustManagerFactory in com.sun.net.ssl has been deprecated
[javac] TrustManagerFactory factory = TrustManagerFactory.getInstance("SunX509");
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:68: warning: [deprecation] com.sun.net.ssl.TrustManagerFactory in com.sun.net.ssl has been deprecated
[javac] TrustManagerFactory factory = TrustManagerFactory.getInstance("SunX509");
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:70: warning: [deprecation] com.sun.net.ssl.TrustManager in com.sun.net.ssl has been deprecated
[javac] TrustManager[] trustmanagers = factory.getTrustManagers();
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/EasyX509TrustManager.java>:74: warning: [deprecation] com.sun.net.ssl.X509TrustManager in com.sun.net.ssl has been deprecated
[javac] this.standardTrustManager = (X509TrustManager)trustmanagers[0];
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/oscar/eform/actions/ManageEFormAction.java>:129: warning: [deprecation] org.apache.commons.httpclient.methods.MultipartPostMethod in org.apache.commons.httpclient.methods has been deprecated
[javac] MultipartPostMethod eformPost = new MultipartPostMethod("http://mydrugref.org/e_forms/");
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/oscar/eform/actions/ManageEFormAction.java>:129: warning: [deprecation] org.apache.commons.httpclient.methods.MultipartPostMethod in org.apache.commons.httpclient.methods has been deprecated
[javac] MultipartPostMethod eformPost = new MultipartPostMethod("http://mydrugref.org/e_forms/");
[javac] ^
[javac] <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/src/oscar/oscarLab/ca/all/parsers/MdsParser.java>:112: warning: [deprecation] getMessageStructure(java.lang.String) in ca.uhn.hl7v2.parser.PipeParser has been deprecated
[javac] public String getMessageStructure(String message) throws HL7Exception, EncodingNotSupportedException {
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 13 warnings
[copy] Copying 441 files to <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/web/classes>
document:
[javac] Compiling 2 source files to <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/document/classes>
dist:
[propertyfile] Updating property file: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web/WEB-INF/classes/build.properties>
[war] Building war: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/oscar.war>
[war] Building war: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/OscarDocument.war>
jspc.clean:
jspc:
[unwar] Expanding: <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/oscar.war> into <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/jspc/web>
[javac] Compiling 1284 source files
[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.
init:
pmd:
init:
findbugs:
[findbugs] Executing findbugs from ant task
[findbugs] Running FindBugs...
[findbugs] The following classes needed for analysis were missing:
[findbugs] com.sun.xml.bind.JAXBObject
[findbugs] com.sun.xml.bind.RIElement
[findbugs] edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
[findbugs] Warnings generated: 2806
[findbugs] Missing classes: 1
[findbugs] Calculating exit code...
[findbugs] Setting 'missing class' flag (2)
[findbugs] Setting 'bugs found' flag (1)
[findbugs] Exit code set to: 3
[findbugs] Java Result: 3
[findbugs] Classes needed for analysis were missing
[findbugs] Output saved to <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tmp/report/oscar-fb.xml>
codeCheck:
[javac] Compiling 4 source files to <https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/tasks/classes>
[GrepStuffAntTask] ----------------------------------------
[GrepStuffAntTask] GrepStuffAntTask starting with srcDir=../web, dataFile=grep_check_web.data
[GrepStuffAntTask] canonical srcDir=<https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/web>
[GrepStuffAntTask] ----------------------------------------
[GrepStuffAntTask] Violation=DBPreparedHandler, use jpa, previous=33, current=33
[GrepStuffAntTask] Violation=ArrayList(), use generics, previous=315, current=314
[GrepStuffAntTask] Violation=Vector, excessively rare that this is required, usually ArrayList is the better choice, previous=284, current=284
[GrepStuffAntTask] Violation=HashMap(), use generics, previous=68, current=67
[GrepStuffAntTask] Violation=com.sun., classes are not always available, usually org.apache will have standard libraries to replace these, previous=3, current=3
[GrepStuffAntTask] Violation=ProfessionalSpecialists, Use the new ProfessionalSpecialist JPA object instead., previous=12, current=12
[GrepStuffAntTask] Violation=.hbm.xml, stop using hibernate, use jpa & annotations instead, previous=154, current=154
[GrepStuffAntTask] Violation=OscarSuperManager, use jpa, previous=17, current=17
[GrepStuffAntTask] Violation=printStackTrace, use log4j logger, previous=6, current=7
[GrepStuffAntTask] New violation. Type=printStackTrace, use log4j logger, file=/WEB-INF/classes/src/org/oscarehr/common/dao/SiteDao.java
[GrepStuffAntTask] Violation=System.out, use log4j logger, previous=2, current=2
[GrepStuffAntTask] Violation=http-equiv="content-type", http headers instead, previous=5, current=5
[GrepStuffAntTask] Violation=.selectStringList(, use jpa, previous=1, current=1
[GrepStuffAntTask] Violation=Hashtable, excessively rare that this is required, usually HashMap is the better choice, previous=242, current=241
[GrepStuffAntTask] Violation=getConnection(, use jpa, previous=1, current=1
[GrepStuffAntTask] Violation=ascii, use utf-8, previous=10, current=10
[GrepStuffAntTask] Violation=DBHandler., use jpa, previous=356, current=356
[GrepStuffAntTask] Violation=HibernateDaoSupport, use jpa, previous=117, current=117
[GrepStuffAntTask] Violation=.class, don't commit compiled class files, previous=8, current=8
[GrepStuffAntTask] Violation=BaseAction, do not use the BaseAction concept, just extends struts directly, no mass imports should be done like that, no one can tell what is used when that happens., previous=30, current=29
[GrepStuffAntTask] Violation=HashSet(), use generics, previous=17, current=17
[GrepStuffAntTask] Violation=.selectIntList(, use jpa, previous=1, current=1
[GrepStuffAntTask] Violation=System.err, use log4j logger, previous=1, current=1
[GrepStuffAntTask] Violation=StringBuffer, very very rare that this is required, usually StringBuilder is the better choice, previous=81, current=81
[GrepStuffAntTask] Violation=8859-1, use utf-8, previous=18, current=18
[GrepStuffAntTask] Violation=com.Ostermiller, use org.apache libraries instead, duplicated libs and apache is... more standard (if that's a word), previous=9, current=9
[GrepStuffAntTask] Violation=DBHelp, use jpa, previous=36, current=36
[GrepStuffAntTask] Violation=BaseGenericIntakeAction, do not use the BaseAction concept, just extends struts directly, no mass imports should be done like that, no one can tell what is used when that happens., previous=4, current=4
BUILD FAILED
<https://demo.oscarmcmaster.org:11042/hudson/job/oscarTrunk/ws/build/codeCheck.xml>:34: Failed, new violations found.
Total time: 7 minutes 34 seconds
[FINDBUGS] Skipping publisher since build result is FAILURE
[DRY] Skipping publisher since build result is FAILURE
[PMD] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
|