Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Java.Power.Tools

Java.Power.Tools

Published by jack.zhang, 2014-07-28 04:28:37

Description: Java Power Tools
Overview
All true craftsmen need the best tools to do their finest work, and programmers are no
different. Java Power Tools delivers 30 open source tools designed to improve the
development practices of Java developers in any size team or organization. Each chapter
includes a series of short articles about one particular tool -- whether it's for build systems,
version control, or other aspects of the development process -- giving you the equivalent
of 30 short reference books in one package. No matter which development method your
team chooses, whether it's Agile, RUP, XP, SCRUM, or one of many others available, Java
Power Tools provides practical techniques and tools to help you optimize the process. The
book discusses key Java development problem areas and best practices, and focuses on
open source tools that can help increase productivity in each area of the development
cycle, including:
 Build tools including Ant and Maven 2
 Version control tools

Search

Read the Text Version

Java Power Tools user groups whining 2nd workflow build environment build lifecycle 2nd build loop build process build scripts 2nd 3rd 4th build statistics 2nd 3rd 4th [See also QAlab] build tools [See Ant] [See Maven] builds, declarative builds, parallel C [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Cactus Cargo cargo-maven2-plugin change sets 2nd Checkstyle Ant and customizing defining headers described 2nd IDE options installing Maven and rules running setting up a project suppressing violations classifier element ClearSilver Clover Cobertura Ant and 2nd 3rd coverage types described Eclipse and enforcing coverage 2nd generating XML reports 1050

Java Power Tools Hudson and installing Luntbuild and Maven and 2nd 3rd TestNG and viewing results cobertura plug-in cobertura-check task cobertura-maven-plugin Cockburn, Alistair code analysis 2nd 3rd 4th [See also PMD] [See also FindBugs] code coverage in Ant described 2nd in Eclipse enforcing 2nd in Hudson in LuntBuild in Maven on Maven project web site TestNG and in TPTP 2nd types of code coverage tools [See Cobertura] [See Emma] code metrics 2nd [See also QAlab] code quality 2nd 3rd 4th [See also PMD] [See also FindBugs] code review phases code reviews 2nd 3rd 4th 5th [See also Jupiter] coding standards 2nd 3rd [See also Checkstyle] Coenradie, Jettro Cohen, Frank CollabNet collaboration diagrams Conradie, Jettro 2nd context context (Maven) context (Mylyn) continuous integration 2nd 3rd 4th 5th 6th [See also Continuum] [See also CruiseControl] [See also Hudson] [See also LuntBuild] Continuum Ant and builds 2nd 3rd checking status console mode 1051

Java Power Tools custom projects described 2nd installing Maven in Maven project website notification options 2nd Openfire and ports projects SoapUI and starting/stopping 2nd user management verbose mode version control options as Windows service copy task Coughtrey, Keith 2nd CPD (Cut-and-Paste Detector) cron syntax cross-browser compatibility Crucible 2nd CruiseControl adding projects Ant and build loop config.xml file Configuration UI configuring projects dashboard described 2nd Firefox plug-in installing JUnit and Maven and monitoring builds 2nd notification options Openfire and ports properties scheduling builds setting up projects Thunderbird plug-in unit tests and version control options 1052

Java Power Tools wrappers Cut-and-Paste Detector (CPD) CVS binary file handling branches change sets checking out files committing changes creating a repository deleting local copies described in Windows keyword substitution projects remote access resolving conflicts reverting changes tagging tracking changes unlocking a repository updating local copies viewing change history vs. Subversion in Windows cvs add cvs annotate cvs checkout cvs diff cvs import cvs init cvs log cvs login cvs rm cvs tag cvs update 2nd CVSNT CVSROOT (variable) cvswrappers file D [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] 1053

Java Power Tools data-driven testing 2nd database schemas [See SchemaSpy] database testing 2nd [See also DbUnit] DbUnit Ant and base classes data types datasets 2nd 3rd dependency injection described installing priming the database 2nd replacing values testing stored procedures testing views transaction rollback teardown 2nd verifying database actions 2nd deadlocks 2nd debugging 2nd 3rd 4th 5th [See also FindBugs] declarative builds decorator pattern dependencies declaring 2nd 3rd 4th identifying in plug-ins packaging proprietary scope in TestNG 2nd 3rd transitive 2nd 3rd dependency graph dependency injection dependency management Ant Maven TestNG dependency rules dependency tree depends attribute deployment Ant Cargo Maven diagrams, UML 2nd directory structure 1054

Java Power Tools Ant Maven 2nd Subversion 2nd WAR files documentation 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th [See also Javadoc] [See also SchemaSpy] [See also Doxygen] [See also UmlGraph] [See also Maven project website] Doxia 2nd Doxygen in Ant coding tips configuring described Doxywizard installing running DRY principle E [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] EAR files EclEmma Eclipse Ant and change sets Checkstyle in Cobertura and code coverage in Findbugs in JUnit 4 and Jupiter in LuntBuild and Maven and Mylyn in PMD in 2nd SoapUI in Subversion and 2nd TestNG and unit tests 2nd eclipse (plug-in) Eclipse Test & Performance Tools Platform (TPTP) [See TPTP] Emma 1055

Java Power Tools errorproperty attribute Eviware exceptions F [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] failureproperty attribute FAQ Markup Language FEST creating tests described 2nd identifying GUI objects 2nd JUnit and specifying following windows TestNG and 2nd viewing failed tests FindBugs annotations in Ant Ant and build integration described 2nd filtering 2nd increasing memory for installing jvmArgs 2nd in Maven suppressing violations viewing results FireBug Firefox plug-in FishEye fixture code 2nd Fixtures for Easy Software Testing (FEST) [See FEST] FML fork attribute formatters FSFS 2nd ftp task functional testing 2nd 3rd [See also Selenium] [See also FEST] [See also SoapUI] in Ant 1056

Java Power Tools described in Maven TestNG and G [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Gamma, Erich get task Glover, Andrew 2nd graphs 2nd Graphviz 2nd Groovy 2nd 3rd groupId element GUI testing 2nd 3rd 4th [See also Selenium] [See also FEST] GUIs H [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] haltonfailure attribute 2nd Hamcrest library headless testing heap dumps heap memory Heesch, Dimitri van Hoare, Tony hook scripts 2nd HSQLDB HTTP error codes HttpUnit Hudson Ant and Cobertura and code coverage options code quality options configuring creating build projects described 2nd 1057

Java Power Tools home directory installing issue management options JUnit and managing builds Maven and monitoring builds notification options parallel builds plug-ins 2nd ports scheduling builds security 2nd tagging 2nd unit tests in upgrades user management version control options viewing build details viewing changes Hurst, John 2nd I [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] infinite loops integrated development environment (IDE) \"Integration Hell\" integration testing 2nd [See also StrutsTestCase] [See also DbUnit] described JUnit 4 Maven and IntelliJ 2nd 3rd interactive test cases interval notation issue management 2nd [See also Bugzilla] [See also Trac] described 2nd in Hudson in Mylyn 2nd in Subversion Ivy 1058

Java Power Tools J [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] J2EE application architecture Jabber (XMPP protocol) 2nd JAR files jar task Java code, compiling 2nd 3rd Java Monitoring and Management Console [See jConsole] Java Power Tools web site JAVA_HOME JavaBeans 2nd 3rd javac task JavaDB/Derby Javadoc Ant and in Checkstyle on Maven project web site SoapUI and UML diagrams in javadoc task JCommon library jConsole detecting deadlocks detecting memory leaks finding process IDs monitoring Java applications monitoring Tomcat applications JetBrains Jetty web server 2nd JFreeChart library jhat JIRA 2nd jmap JMeter configuration elements described 2nd HTTP requests installing listeners Logic Controllers recording test cases 1059

Java Power Tools samplers scheduling tests testing on multiple machines thread groups timer controllers variables viewing results web application testing JProbe JUnit 4 @After @AfterClass @Before @BeforeClass @Test in Ant assertions build file compiling unit tests 2nd conditional tests directory structure forking formatters generating reports haltonfailure attribute 2nd junit task 2nd multiple test cases overview single tests assertions CruiseControl and Eclipse and exceptions FEST and generating reports Hamcrest library Hudson and integration tests vs. JUnit 3 2nd LuntBuild and matchers Maven and 2nd 3rd parameterized tests 2nd test cases test libraries 1060

Java Power Tools theories timeouts junit task 2nd 3rd JUnitPerf Ant and decorator pattern described load tests in Maven test suites timed tests TPTP and junitreport task Jupiter code review phases 2nd configuring reviews described 2nd individual reviews installing personal reviews review checklist review files review process rework phase setting defaults team reviews JVM profiling interface (JVMPI) JVM tool interface (JVMTI) K [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Kalali, Masoud 2nd 3rd 4th Kawaguchi, Kohsuke Kumar, Karthik L [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] 1061

Java Power Tools libraries Hamcrest JCommon JFreeChart JUnit tests Maven line coverage listeners (JMeter) load testing 2nd 3rd 4th [See also SoapUI] [See also JMeter] LuntBuild build languages Cobertura and code coverage options configuring configuring a build configuring a project creating a project described 2nd Eclipse and extending with JavaBean installing JUnit and logfiles Maven project website and modules naming builds 2nd notification options 2nd Openfire and project variables 2nd quiet time scheduling a build tracking revisions unit test options user management 2nd version control integration version control options 2nd viewing build results Luntclipse plug-in M [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] 1062

Java Power Tools M2_REPO m2eclipse plug-in makefiles Mangat, Avneet 2nd MANIFEST.MF file 2nd matchers Maven aggregation in Ant 2nd Ant in Ant vs. 2nd archetypes 2nd artifacts assemblies bootstrapping build customization 2nd 3rd 4th build lifecycle build scripts [See POM files] Cargo and Checkstyle and Cobertura and 2nd code coverage in compiling Java code 2nd configuring context Continuum and CruiseControl and declarative builds dependencies in Ant declaring 2nd 3rd identifying managing 2nd proprietary scope transitive deployment 2nd described 2nd directory structure 2nd documentation [See Maven project web site] Eclipse and environmental variables FindBugs in functional testing in 1063

Java Power Tools Hudson and installing integration tests JUnit 4 and 2nd JUnitPerf and lifecycle phases local repository Mojos 2nd MvnRepository in NetBeans packaging options 2nd performance testing and Plexus plug-ins [See also plug-ins main entry] adding to build lifecycle creating described Maven parameters in Plexus components in PMD in POM files [See POM files] profiles 2nd project inheritance project templates 2nd project web site [See Maven project web site] proxy connections QAlab in remote repositories [See Archiva] [See Artifactory] Selenium and settings.xml file SoapUI and 2nd StatSCM Super POM test coverage TestNG and unit tests 2nd 3rd Maven project web site adding reports continous integration and customizing 2nd described developers section formatting content generating 1064

Java Power Tools issue management and mailing lists publishing site outline skins snippets templates tracking changes tracking releases version control integration Maven project website adding reports Cobertura and Continuum and generating reports LuntBuild and project description SchemaSpy in source files templates UmlGraph in maven-ant-plugin maven-antrun-plugin maven-assembly-plugin maven-checkstyle-plugin maven-compiler-plugin 2nd maven-plugin-plugin McCabe cyclomatic complexity 2nd memory leaks 2nd 3rd 4th method coverage mirrors 2nd Mojos 2nd 3rd Mozilla plug-ins multithreaded testing MVC (Model-View-Controller) architecture mvn clean mvn compile mvn deploy mvn eclipse mvn install mvn integration-test mvn site mvn test MvnRepository 1065

Java Power Tools Mylyn change sets context context (Mylyn) described 2nd installing issue management options 2nd task repositories 2nd Trac and tracking tasks N [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] NetBeans 2nd 3rd 4th Norddahl, Magnus notification options in Bugzilla in Continuum 2nd in CruiseControl in Hudson in LuntBuild 2nd in Trac 2nd O [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] object-relational mapping (ORM) OGNL (Object-Graph Navigation Language) Openfire authentication Continuum and CruiseControl and described 2nd group chats installation LuntBuild and plug-ins user accounts 1066

Java Power Tools optimization 2nd 3rd OptimizeIt ORM (object-relational mapping) P [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] packages packaging applications Ant 2nd Maven 2nd packaging element parallel builds parallel testing parameterized tests 2nd parent POMs path definitions performance monitoring [See jConsole] performance testing 2nd 3rd 4th 5th 6th 7th [See also JMeter] [See also JUnitPerf] [See also SoapUI] [See also TPTP] Personal Software Process Plain Old Java Object (POJO) Plexus 2nd 3rd plug-ins AccountManager adding dependencies adding to build lifecycle in Ant archetype Broadcast cargo-maven2-plugin cobertura cobertura-maven-plugin plug-in creating described EclEmma eclipse FireBug Firefox for Hudson Luntclipse m2eclipse Maven parameters in 1067

Java Power Tools maven-ant-plugin maven-antrun-plugin maven-assembly-plugin maven-compiler-plugin maven-plugin-plugin Plexus components Surefire 2nd 3rd 4th 5th Thunderbird User Import Export User Service Violations PMD in Ant customizing 2nd cut and paste detection described 2nd generating reports 2nd IDE options installing in Maven rulesets running setting up a project suppressing violations POJO (Plain Old Java Object) POM files Ant code in Ant script from artifacts build section ciManagement section 2nd 3rd context Continuum and dependencies section 2nd described developers section 2nd distributionManagement section issueManagement section mailingLists section parent POMs profiles section project description properties properties section reading from Ant 2nd 1068

Java Power Tools reporting section 2nd 3rd 4th scm section 2nd Super POM Popescu, Alexandru Price, Yvonne Wang process IDs, listing profiles 2nd profiling tools [See jConsole] [See TPTP] project inheritance Project Object Model [See POM files] project web site [See Maven project web site] properties Ant 2nd CruiseControl Maven proxy connections Ant 2nd Artifactory Maven pserver 2nd Pulse Python 2nd Q [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] QAlab in Ant described in Maven Qalab described QuickBuild quiet time 2nd R [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Redmond, Eric 1069

Java Power Tools bio on Archiva on Maven 2nd 3rd 4th on snippets on the Maven project web site 2nd 3rd 4th 5th 6th regression testing 2nd replace task Ruiz, Alex 2nd 3rd S [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] samplers SchemaSpy in Ant described installing in Maven project website running from command line scp task SDLC (Software Development Life Cycle) Selenium AJAX and Ant and assertions 2nd browsers supported described 2nd identifying GUI objects installing Maven and ports programming language APIs recording test scripts test scripts test suites variables writing tests Selenium Core Selenium Remote Control setproxy task settings.xml file 2nd skins 1070

Java Power Tools Smack API snippets SoapUI Ant and 2nd assertions 2nd 3rd command-line options continuous testing Continuum and described in Eclipse installing in IntelliJ Javadoc reports load testing Maven and 2nd in NetBeans projects requests test cases test statistics test suites 2nd software CM vs. version control 2nd Software Development Life Cycle (SDLC) Spinellis, Diomidis D. Spring 2nd 3rd SSH tunneling StatSCM 2nd StatSVN stress testing [See load testing] Struts StrutsTestCase configuring described error-handling tests mock tests performance testing Subversion adding files in Ant atomic updates backing up files binary files 2nd 3rd branches 2nd change sets 1071

Java Power Tools checking out files commenting revisions committing changes copying files creating a repository 2nd creating directories customizing CVS vs. deleting files directory structure Eclipse and 2nd executable files ignoring files importing files in Windows [See TortoiseSVN] installing internet access issue management options keyword substitution line feeds listing changes 2nd listing contents locking files 2nd moving files in NetBeans network access network load network protocols projects properties renaming files repository URLs resolving conflicts restoring files reverting changes 2nd revision trees server setup setting file types storage options structural changes tagging 2nd Trac and 2nd tracking revisions unlocking files 1072

Java Power Tools updating local copies viewing change history vs. CVS as Windows Service successPercentage parameter Super POM Surefire plug-in 2nd 3rd 4th 5th svn add svn annotate svn blame svn checkout svn commit svn copy svn delete svn diff svn import 2nd svn info svn list svn lock svn log 2nd svn merge svn mkdir svn move svn praise svn propset svn resolved svn revert svn status svn switch svn task svn unlock svn update svn+ssh protocol svn:eol-style svn:executable svn:ignore svn:mime-type svn:needs-lock svnadmin create svnadmin dump svnadmin load svnadmin lslocks svnadmin rmlocks SVNParentPath 1073

Java Power Tools svnserve server SVNService Swing synchronization issues T [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Tanenbaum, Andrew S. targets taskdef task tasks TeamCity 2nd template-driven testing test coverage [See code coverage] Test Maker test task test-driven development 2nd TestCase class testing, multithreaded testing, parallel TestNG @AfterClass @AfterMethod @AfterSuite @BeforeClass @BeforeMethod @BeforeSuite @Test annotations Ant and 2nd assertions Cobertura and code coverage of creating tests data-driven testing dependencies 2nd 3rd described Eclipse and exceptions failure handling FEST and 2nd 1074

Java Power Tools fixture code 2nd functional testing and IntelliJ and Maven and 2nd parallel testing successPercentage test groups test lifecycle test suites 2nd tests, atomic tests, on multiple machines tests, parameterized 2nd tests, recording 2nd tests, timed theories (JUnit) Thunderbird plug-in timed tests 2nd 3rd 4th TortoiseCVS TortoiseSVN browsing a repository checking out files committing changes importing a project revision graph updating local copies Windows Explorer interface TPTP coverage statistics described filtering results installing Java version compatibility JUnitPerf in memory analysis performance testing profiles timed tests web application testing Trac on Apache server browsing repository closing tickets creating reports creating tickets customizing 2nd 3rd 1075

Java Power Tools described installing monitoring progress Mylyn and notification options 2nd setting up a project Subversion and 2nd 3rd ticket lifecycle trac-admin tracd webserver TracLink syntax updating tickets user management as Windows service trac-admin tracd webserver TracLink transaction rollback teardown transitive dependencies 2nd 3rd tstamp task U [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] UML diagrams 2nd UmlGraph unit tests in Ant 2nd 3rd Ant and in CruiseControl described 2nd in Eclipse 2nd in Hudson JUnitPerf and in LuntBuild in Maven 2nd 3rd on Maven project web site unzip task URLs, repository User Import Export plug-in user interface testing 2nd 3rd 4th [See also Selenium] [See also FEST] user interfaces 1076

Java Power Tools User Service plug-in V [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] version control benefits in Continuum in CruiseControl described in Hudson in LuntBuild in Maven project web site vs. software CM 2nd version element Violations plug-in W [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] Walnes, Joe WAR files war task web application testing 2nd 3rd 4th [See also StrutsTestCase] [See also Seleni] Web Service Definition Language (WSDL) web services testing [See SoapUI] web site, Java Power Tools web site, Maven [See Maven project web site] WebDAV/DeltaV accessing a repository Basic authentication Digest authentication encryption (HTTPS) setup whining 2nd wikis WSDL (Web Service Definition Language) 1077

Java Power Tools X [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] XDoc xmlcatalog task XMLTask controlling Ant builds editing XML 2nd XMPP (Jabber) protocol 2nd XPath 2nd 1078


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook