#264 Reference build.properties for build customizations

Squirrel SQL
closed
Core (462)
5
2015-01-08
2005-06-04
Rob Manning
No

Sorry, I know this is a RFE, but I wasn't able to
submit a new
RFE for some reason as a logged in user.(At least it
dosn't display what I submitted)

Instead of commenting out plugins that you don't want
to compile in the build.xml, how about referencing
a build.properties file from build.xml with lines like
the following:

"p_internal_name".plugin.rebuild=<true/false>

For example:

macosx.plugin.rebuild=false

(Perhaps I'll own a Mac someday :)

This way the build.xml file doesn't need to be modified.
It's a lovely build.xml, I wouldn't want to break it.

Discussion

  • Rob Manning

    Rob Manning - 2005-06-04

    Logged In: YES
    user_id=1287991

    Attached a zip file containing two files (build.xml and
    build.properties).
    build.xml uses information in build.properties to
    conditionally rebuilds
    plugins. Also adds a new target which executes a java task
    to run
    the IzPack compiler via an installed jar. "izpack.home.dir"
    property
    in build.properties should be set to the install location of
    IzPack (e.g. izpack.home.dir=C:/tools/IzPack means that
    there exists a file : C:\tools\IzPack\lib\compiler.jar)

     
  • Rob Manning

    Rob Manning - 2005-06-11

    Logged In: YES
    user_id=1287991

    I've updated my patched build.xml (that uses
    build.properties to toggle rebuild of specific plugins) to
    include the latest changes from Gerd Wagner (build.xml CVS
    revision 1.22). Also updated build.properties to use the
    current version (2.0 final)

     
  • Rob Manning

    Rob Manning - 2005-06-11

    Logged In: YES
    user_id=1287991

    Oops... wrong file. Now it's there

     
  • Rob Manning

    Rob Manning - 2005-06-11

    build.xml that uses build.properties (based on build.xml rev. 1.22). Also includes make_install_jar target that makes an install jar with most stable plugins.

     
  • Rob Manning

    Rob Manning - 2005-08-05

    Logged In: YES
    user_id=1287991

    CVS now has a form of the attached for specifying build
    properties
    that are most likely to change from developer to developer.

     
  • Rob Manning

    Rob Manning - 2005-08-05
    • status: open --> closed
     

Log in to post a comment.