Uploaded image for project: 'Apache NetBeans Infra'
  1. Apache NetBeans Infra
  2. NETBEANSINFRA-187

nbmBuildDir conflict between targets nbm and cluster because of wrong usage

    XMLWordPrintableJSON

Details

    Description

      The nbmBuildIDir parameter is used both in nbm and cluster targets. However the meaning in those two contexts are different:

      1) nbm: output directory where the NBMs will be created from the Jars and other meta data

      2) cluster: directory where to copy the NBMS to from the hardcoded $(based}/nbm/netbeans

      This is usually not a problem as long a you work with netbeans, but it becomes if you want to use the targets with other projects such as VisualVM.

      By looking at the code, this seems more a like bug. What the cluster target should actually do is look for the NBMs, not in the hard coded location, but in the one provided by nbmBuildDir and use clusterBuildDir instead to define the target cluster location build. This very same parameter will be reused by the run-ide target.   

      Attachments

        Issue Links

          Activity

            People

              jmborer Jean-Marc Borer
              jmborer Jean-Marc Borer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: