You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by name name2 <an...@gmail.com> on 2023/01/29 05:39:44 UTC

AutoUpgrade

Hello

I found strange code. Is it needed or may be deleted?

org.netbeans.upgrade.AutoUpgrade

// the order of VERSION_TO_CHECK here defines the precedence of imports
// the first one will be choosen for import
private static final List<String> VERSION_TO_CHECK =
        Arrays.asList ( ".netbeans/7.1.2",  ".netbeans/7.1.1",
".netbeans/7.1", ".netbeans/7.0", ".netbeans/6.9" );//NOI18N

// userdir on OS specific root of userdir (see issue 196075)
static final List<String> PRE_APACHE_NEWER_VERSION_TO_CHECK =
        Arrays.asList ("8.2", "8.1", "8.0.2", "8.0.1", "8.0", "7.4",
"7.3.1", "7.3", "7.2.1", "7.2"); //NOI18N
 // XXX: copy to autoupgrade.pluginimporter


and

org.netbeans.modules.autoupdate.pluginimporter.Installer
similar versions variables

private static final List<String> VERSION_TO_CHECK =
        Arrays.asList (".netbeans/7.1.2", ".netbeans/7.1.1",
".netbeans/7.1", ".netbeans/7.0", ".netbeans/6.9"); //NOI18N
private static final List<String> PRE_APACHE_NEWER_VERSION_TO_CHECK =
        Arrays.asList ("8.2", "8.1", "8.0.2", "8.0.1", "8.0", "7.4",
"7.3.1", "7.3", "7.2.1", "7.2"); //NOI18N

Re: AutoUpgrade

Posted by name name2 <an...@gmail.com>.
I don't know what it is

вт, 31 янв. 2023 г. в 12:56, Neil C Smith <ne...@apache.org>:

> On Sun, 29 Jan 2023 at 05:40, name name2 <an...@gmail.com> wrote:
> > I found strange code. Is it needed or may be deleted?
>
> Well, it's used.  Althoguh it's possible we should reconsider this to
> only offer automatic imports from recent Apache releases now?
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: AutoUpgrade

Posted by Neil C Smith <ne...@apache.org>.
On Sun, 29 Jan 2023 at 05:40, name name2 <an...@gmail.com> wrote:
> I found strange code. Is it needed or may be deleted?

Well, it's used.  Althoguh it's possible we should reconsider this to
only offer automatic imports from recent Apache releases now?

Neil

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

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