code: private File getPlayHome( File applicationPath )
          throws TestSetFailedException
      {
          File targetDir = new File( applicationPath, "target" );
          File playTmpDir = new File( targetDir, "play" );
          File playTmpHomeDir = new File( playTmpDir, "home" );
          if ( !playTmpHomeDir.exists() )
          {
              throw new TestSetFailedException( String.format( "Play! home directory \"%s\" does not exist",
                                                         playTmpHomeDir.getAbsolutePath() ) );
          }
          if ( !playTmpHomeDir.isDirectory() )
          {
              throw new TestSetFailedException( String.format( "Play! home directory \"%s\" is not a directory",
                                                         playTmpHomeDir.getAbsolutePath() ) );
          }
          // Additional check whether the temporary Play! home directory is created by this plugin
          File warningFile = new File( playTmpHomeDir, "WARNING.txt" );
          if ( warningFile.exists() )
          {
              if ( !warningFile.isFile() )
              {
                  throw new TestSetFailedException( String.format( "Play! home directory warning file \"%s\" is not a file",
                                                             warningFile.getAbsolutePath() ) );
              }
          }
          else
          {
              throw new TestSetFailedException( String.format( "Play! home directory warning file \"%s\" does not exist",
                                                         warningFile.getAbsolutePath() ) );
          }
          return playTmpHomeDir;
      }
docs: Copy of AbstractPlayMojo.getPlayHome() method (with getCanonicalPath() changed to getAbsolutePath() )