IvyDE
  1. IvyDE
  2. IVYDE-141

Export IVY_HOME as a classpath variable

    Details

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

      Description

      It would be quite convenient to export a classpath variable ( IVY_HOME ) which would then be usable in eclipse. The reason is that some classpaths ( notably the anontation processor factory path ) do not use the project build path but there is the possibility of specifying a classpath based on a variable ( e.g. IVY_HOME/.cache/... ).

        Activity

        Robert Munteanu created issue -
        Nicolas Lalevée made changes -
        Field Original Value New Value
        Fix Version/s 2.0.0.final [ 12313533 ]
        Assignee Nicolas Lalevée [ hibou ]
        Summary Export classpath variable Export IVY_HOME as a classpath variable
        Hide
        Nicolas Lalevée added a comment -

        I have to admit I didn't understand your use case, but I made IVY_HOME exported as a classpath variable in Eclipse set to System.getProperty("user.home") + "/.ivy2".
        I let that classpath variable editable as the home of Ivy can be set to another path in Ivy.

        Show
        Nicolas Lalevée added a comment - I have to admit I didn't understand your use case, but I made IVY_HOME exported as a classpath variable in Eclipse set to System.getProperty("user.home") + "/.ivy2" . I let that classpath variable editable as the home of Ivy can be set to another path in Ivy.
        Nicolas Lalevée made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Robert Munteanu added a comment -

        Thank you!

        The use case is simple: use a IVY_HOME prefixed path in the annotation processors factory path, which is different from the project classpath. I need it for an annotation processor which refers to TestNG annotations ( warn on tests missing groups ).

        Show
        Robert Munteanu added a comment - Thank you! The use case is simple: use a IVY_HOME prefixed path in the annotation processors factory path, which is different from the project classpath. I need it for an annotation processor which refers to TestNG annotations ( warn on tests missing groups ).

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Robert Munteanu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development