Development

If you want to checkout the code, and get it running locally. For developers of interest.

Setup Environment

Add Remote Repositories ... see download section!

Add user-specific properties in ~/.m2/settings.xml:

<settings>
  <profiles>
  
    <profile>
      <id>josceleton-profile</id>
      <properties>
        
        <josceleton-peruser_eclipse_workspace_path>
        	/path/to/eclipse/workspace/
        </josceleton-peruser_eclipse_workspace_path>
        
        <josceleton-peruser_checkstyle_suppression_file_path>
        	${josceleton-peruser_eclipse_workspace_path}checkstyle-config/src/main/resources/checkstyle_suppression.xml
        </josceleton-peruser_checkstyle_suppression_file_path>
        
        <josceleton-peruser_checkstyle_configuration_name>
        	josceleton-checkstyle-config
        </josceleton-peruser_checkstyle_configuration_name>
        
      </properties>
      
      ... activation ...
      ... repositories ...
    </profile>
    
  </profiles>
</settings>

Test Utilities

Custom matchers: hasSinglePrivateNullifiedConstructorAndInvokeIt; Abstract classes ...; properly dealing with mocks; make use of dataproviders; // @guideline: never outcomment tests, only disable via annotation advanced mock creation with ExpectationsProvider;

Cheatsheet

Regularly used Commands

Open a shell SF. Keeps open. Needed for deployment:

ssh -t christoph_pickl,josceleton@shell.sf.net create

Copy file to web:

scp some_online.file christoph_pickl,josceleton@shell.sf.net:/home/project-web/josceleton/htdocs/some_online.file

Paths

Links