To begin the new module creation process, create a configuration of Hackystat that contains only the hackyCore modules and the hackySdt_Activity module. To do this, edit the hackystat.build.properties file and comment out all of the modules except those that start with hackyCore and hackySdt_Activity. Thus, the only lines not commented out in the hackystat.build.properties file will be the following:
hackyCore_Build.available=true hackyCore_Common.available=true hackyCore_Installer.available=true hackyCore_Kernel.available=true hackyCore_Report.available=true hackyCore_Statistics.available=true hackyCore_Telemetry.available=true hackySdt_Activity.available=true
The reason for defining the baseline configuration this way is because it contains the minimal set of modules required by the hackyDoc_NewModule module. As you develop skill in defining your own modules, you will learn to customize your baseline configuration according to the needs of your new module.
Next, build and test your baseline configuration by invoking "ant -q freshStart all.junit". You always want to make sure that your baseline configuration is consistent and deploys properly before adding a new module. The results should look like this:
C:\svn\hackyCore_Build>ant -q freshStart all.junit
[echo] (10:04:56) Completed hackyCore_Build.checkModuleAvailability
[echo] (10:05:05) Completed hackyCore_Build.hotUndeployHackystat
[echo] (10:06:00) Completed all.checkstyle
[echo] (10:06:10) Completed all.compile
[echo] (10:06:18) Completed all.install.pre-sensorshell
[echo] (10:06:35) Completed hackyCore_Build.unjarSensorShellFiles
[echo] (10:06:37) Completed hackyCore_Build.installSensorShell
[echo] (10:07:06) Completed all.install.post-sensorshell
[echo] (10:07:06) Completed hackyCore_Build.deployTestData
[echo] (10:07:20) Completed hackyCore_Build.hotDeployHackystat
[echo] (10:07:21) Completed hackyCore_Build.deploySoap
[echo] (10:07:31) Completed hackyCore_Kernel.junit.
[echo] (10:07:33) Completed hackyCore_Statistics.junit.
[echo] (10:07:43) Completed hackyCore_Report.junit.
[echo] (10:07:49) Completed hackyCore_Common.junit.
[echo] (10:07:53) Completed hackyCore_Telemetry.junit.
[echo] (10:08:08) Completed hackySdt_Activity.junit.
[echo] (10:08:13) Completed hackyCore_Installer.junit.
[echo] (10:08:13) Completed all.junitReport
[echo] (10:08:13) Completed all.junit
BUILD SUCCESSFUL
Total time: 3 minutes 21 seconds
If any unit tests fail or any other problems occur, be sure to correct them before proceeding further.