Uploaded image for project: 'Avalon Metro Tools'
  1. Avalon Metro Tools
  2. TOOLS-1

magic's build.xml has bad install target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • MAGIC
    • None

    Description

      The /tools/magic/build.xml file contains a bad 'install' target defintion - the current "install@ task needs to replaced by the following:

      <target name="update" depends="install">
      <mkdir dir="${user.home}/.ant/lib"/>
      <copy toDir="${user.home}/.ant/lib"
      file="${basedir}/target/deliverables/jars/${project.filename}"/>
      </target>

      This effectly makes updating of ${user.home}/.ant/lib an explict action instead of a default action. The change is needed as a virgin build will fail due to the jvm getting itself confused when magic is in the classloader and magic is being updated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcconnell Stephen McConnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: