Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#71 Command line build

All RCP Versions
closed
Hugo Corbucci
7
2009-04-28
2009-02-14
Hugo Corbucci
No

The build system is now too complex and stops people from easily contributing to the project.
I would like to provide a command line way of building the software in order to improve the developers' experience.
I suggest using Plug-in Builder to generate the ANT build.xml file and correct the download all script to be used in this build.xml file.

Discussion

  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    • milestone: 897370 --> All RCP Versions
    • status: open --> closed
     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-28

    This is now solved.
    The project has a ArchimedesProjectSet.psf file in the br.org.archimedes.config project (http://svn.archimedes.org.br/public/mainarchimedes/rcparchimedes/br.org.archimedes.config/trunk/ArchimedesProjectsSet.psf).
    One can now download this file, open Eclipse, go to File->Import...
    Type 'Team', select Team Project Set, choose that file and click Finish. This will download all projects and working sets for Archimedes on Eclipse from SVN.
    Given that, one should be able to run Archimedes by right clicking the br.org.archimedes.core project and choosing "Run As->Eclipse Application".

    To build the system on a command line, download all of Archimedes projects (using the project set might be the easiest way).
    Once this is done, create a file name 'all.map' on br.org.archimedes.build/maps copying from all-hugo.map file in that directory. Change the paths in this file to point to the directory that contains all of Archimedes project.
    Change the br.org.archimedes.build/build_local.properties file to include your local preferences such as Eclipse location (be sure to have the Delta Pack installed on that eclipse), build directory, os, ws and arch.
    Once this is all done, run 'ant' command on the br.org.archimedes.build project directory and that should be it.
    Results will be in your build directory path on the folder 'results'.