Issue Details (XML | Word | Printable)

Key: KATTA-195
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Johannes Zillmann
Reporter: Johannes Zillmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Katta

simplify katta build

Created: 07/Jan/12 11:02 AM   Updated: 18/Feb/12 09:07 PM
Component/s: infrastructure
Affects Version/s: None
Fix Version/s: 0.7


 Description  « Hide
Several points:
  • Right now we have an ant build with ivy setup. Since we have all 3rd party libraries checked into our source control, ivy brings us nothing more then categorizing the libraries (into test, compile, etc..). This could be done easily with plain ant and would make exchanging libraries less painful.
  • Also we have the katta-core code under src and some other code under extras. The integration of the extra modules is sub-optimal from my experience. It lacks a good eclipse setup and it requires always extra work to check if a katta-core change breaks any of the extra modules


 All   Comments   Change History   git Commits      Sort Order: Ascending order - Click to sort in descending order
Johannes Zillmann added a comment - 18/Feb/12 09:07 PM
The structure of the project has changed.
There is a folder 'modules' which contains:
  • katta-core
  • katta-ec2
  • katta-indexing-sample

Ant commands are almost the same, the most important are:

  • 'ant eclipse' for setting the project up in eclipse
  • 'ant unit' for running the unit tests
  • 'ant it' for running the integration tests
  • 'ant test' for running unit & integration tests
  • 'ant dist' for building the katta-core distribution

The lib folder(s) have now a categorized layout with following subdirs:

  • build (for jars needed by the ant build)
  • compile (for jars needed at compilation-time and runtime)
  • test (for jars by the test-suites)

For adding, updating or deleting a dependency you just have to do that on the physical level and run ant eclipse again (no update of ivy entry or anything required).