You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Andreas Sewe (Jira)" <ji...@apache.org> on 2019/10/25 10:15:00 UTC

[jira] [Created] (NETBEANS-3295) Let nbm:run-ide download NetBeans installation

Andreas Sewe created NETBEANS-3295:
--------------------------------------

             Summary: Let nbm:run-ide download NetBeans installation
                 Key: NETBEANS-3295
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3295
             Project: NetBeans
          Issue Type: Improvement
          Components: mavenutilities
            Reporter: Andreas Sewe


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:
{noformat}
<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>
{noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists