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

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

    [ https://issues.apache.org/jira/browse/NETBEANS-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963523#comment-16963523 ] 

Eric Barboni commented on NETBEANS-3295:
----------------------------------------

Hi, 
 I think download is doable, but you will then have a zipped artefact in your local repo.
 Each time  you clean install, plugin will need to unzip artefacts ,this may cost time.

maybe it can be nice to ask people interested on dev ml to go to this issue, to consolidate with others.

Do you plan a Pull Request ?

> 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
>            Priority: Major
>
> 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