IvyDE
  1. IvyDE
  2. IVYDE-13

Support variables in ivyconf.xml

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None

      Description

      It is common practise to use variables like in ivyconf.xml in order to not hardcode the repository path.

      Unfortunately, it is not possible to set these variables with IvyDE. I'd like to propose setting of such variables directly or maybe by a properties file in the IvyDE preferences and project configuration pages.

        Issue Links

          Activity

          Hide
          Xavier Hanin added a comment -

          You're right, this would be nice.

          As a workaround, what I suggest is to write an ivyconf for ivyde only, in which you only do two things:

          • include the properties file you want
          • include your usual ivyconf file

          This avoid to change your usual ivyconf but still let you benefit from your properties.

          Show
          Xavier Hanin added a comment - You're right, this would be nice. As a workaround, what I suggest is to write an ivyconf for ivyde only, in which you only do two things: include the properties file you want include your usual ivyconf file This avoid to change your usual ivyconf but still let you benefit from your properties.
          Hide
          Will Gorman added a comment -

          Hello,

          I've attached an SVN patch, based on the trunk as of 12/24/2008, that implements this feature. The patch includes a new advanced property called "build property files". I had previously posted an older version of this patch to IVYDE-90, not realizing the subtle differences between the two issues.

          We use ivy parameterization in our build environment, which is resolved using our ant build files and properties. Because IvyDE works outside of that environment, we needed a way to provide IvyDE with the build.properties file.

          Thanks,

          Will

          Show
          Will Gorman added a comment - Hello, I've attached an SVN patch, based on the trunk as of 12/24/2008, that implements this feature. The patch includes a new advanced property called "build property files". I had previously posted an older version of this patch to IVYDE-90 , not realizing the subtle differences between the two issues. We use ivy parameterization in our build environment, which is resolved using our ant build files and properties. Because IvyDE works outside of that environment, we needed a way to provide IvyDE with the build.properties file. Thanks, Will
          Hide
          Nicolas Lalevée added a comment -

          I have applied your patch, a little bit modified:

          • the exceptions are now logged
          • I put the property file configuration close to the ivysettings path, as both are quite relative

          thanks for your contribution Will !

          Show
          Nicolas Lalevée added a comment - I have applied your patch, a little bit modified: the exceptions are now logged I put the property file configuration close to the ivysettings path, as both are quite relative thanks for your contribution Will !

            People

            • Assignee:
              Nicolas Lalevée
              Reporter:
              Andreas Schildbach
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development