Skip to main content
Jump to: navigation, search

Difference between revisions of "SMILA/Development Guidelines/SMILA Java Project Setup"

Line 1: Line 1:
 +
{{note|
 +
Outdated, please see [[SMILA/Development_Guidelines/Create a bundle (plug-in)|How to create a bundle (plug-in)]] and [[SMILA/Development_Guidelines/Create a test bundle (plug-in)|How to create a test bundle (plug-in)]] on how to setup java plug-in and test bundles.
 +
}}
 +
 
Brox Java Projects have to uses the following directories:
 
Brox Java Projects have to uses the following directories:
 
# ''' bin '''
 
# ''' bin '''

Revision as of 08:41, 19 January 2012

Note.png

Outdated, please see How to create a bundle (plug-in) and How to create a test bundle (plug-in) on how to setup java plug-in and test bundles.



Brox Java Projects have to uses the following directories:

  1. bin
    use for executing the projects, should contains necessary artifacts like properties or other files that are necessary for the execution of the project. Usually the test unit-cases are started in this directory also.
  2. code
    - code / src
    contains the source code of the project
    - code / bin
    is used as the target for the compilated class files.
    - code / test
    contains the source code of the Junit-TestCases. Brox Projects should use a Class AllTests.java that creates a Testsuite for the project (contains all necessary Junit Testcases)
    - code / testbin
    is used as the target for the compilated junit class files.
  3. build
    the build script should store the build result (zip/jar) of the project in this directory.
  4. lib
    should contain the necessary libraries that are needed by the project. For Strategies e.g. the libraries in this directory are copied into the build result (jar/zip) in the lib directory.
  5. lib-core
    this directory contains the libs that are necessary for building the project but should not be deployed with the project because they are shipped with another project (e.g. the af-engine SDK)
  6. xml
    contains important xml files or xml schemas for the project
  7. res
    this directory is a utility directory. Can contain like res/test important files for junit-tests
    - res / test
    this directory is a utility directory. Can contain like res/test important files for junit-tests

Back to the top