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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to