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

Let nbm:run-ide download NetBeans installation

    XMLWordPrintableJSON

Details

    Description

      At the moment, using nbm:run-ide to test against a NetBeans installation requires the user to manually download and unzip a NetBeans archive and then pointing the -Dnetbeans.installation property to the respective directory.

      I wonder whether the following would be doable:

      • Download the NetBeans installation from some -Dnetbeans.downloadUrl
      • Cache it in the local Maven repository
      • And unzip it below project.build.directory
      • Use that installation during the run-ide proper.

      Maybe this could be a new goal, e.g., materialize-ide.

      Then one would do the following:

      <executions>
        <execution>
          <goals>
            <goal>materialize-ide</goal>
          </goals>
        </execution>
        <execution>
          <goals>
            <goal>run-ide</goal>
          </goals>
          <configuration>
            <netbeansInstallation>${project.build.outputDirectory}/netbeans/materialized-ide</netbeansInstallation>
          <configuration>
        </execution>
        <configuration>
          <downloadUrl>...</downloadUrl>
          <!-- Determine coordinates in local Maven repo -->
          <ideArtifact>
            <groupId>some.groupId</groupId>
            <artifactId>some.artifactId</artifactId>
            <version>someVersion</someVersion>
          </ideArtifact>
        </configuration>
      </executions>
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            asewe Andreas Sewe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: