Menu

#18 tidy up build scripts + minimize/unify property/config files

open
8
2008-11-18
2008-11-07
Jiri Biba
No

The build scripts should be made IDE independent (while IDE non-adversarial) and should use a minimized and unified number of property and config files. Practically it involves:

- separate all building functionality of the ant scripts from NetBeans in a way not preventing IDEs (NetBeans, Eclipse, other) from their reuse (particularly remove dependency on build-impl.xml etc).

- make build scripts stable on all OS (e.g. substitute the dependences on the currently unstable implementation of the apt task under windows)

- remove unnecessary repetitive invocation of targets caused by their inappropriate sequencing

- move copying of libs from ConractLibraries into project folders from the clean targets into pre-compile targets

- make everything explicitely configurable in property and config files (e.g. removing javac classpath definitions from the code of build scripts and either pushing the enumeration of libraries to be included into a property files like NetBeans scripts do or making the build script to take as classpath definition content of the project lib folder)

- make a small number of property/config files common for all projects available in trunk to which all build scripts would referer to (either remove copies of the property files from the projects and use those in trunk by refering to the parent folder - like ../agent.properties) or make a build target in trunk distributing the configuration conistently into all project folders so that those project properties/config files would not need to be maintained itself, but instead the trunk property/config files only)

- add targets for remote deployment into build scripts if possible (I quess Geoffrey knows how to do it)

- swap contents of the cont and contrib folders in AgentWSGui (the only project having an inconsistent policy on this with respect to the rest of the projects)

- add a target in AgentWS for building the web service stubs into a standalone jar

Discussion

  • Sergio Alvarez Napagao

    • assigned_to: nobody --> salvarezn
     
  • Sergio Alvarez Napagao

    • priority: 5 --> 8
     

Log in to post a comment.

MongoDB Logo MongoDB