On Wed, 12 Feb 2020 at 17:27, Jerome Lelasseux <lelass...@yahoo.com> wrote:
> Maybe you viewed the xml file using the builtin Firefox viewer which hides 
> the XML declaration part...
Well I have learnt something anyway - yes I was using firefox.

Looking at the code you should be seeing log lines like
[exec] FINER [org.netbeans.modules.autoupdate.services.Utilities]:
Comparing versions: 1.0.compareTo(1.0) = 0
just after the "End parsing", what do you see  when you try?

Also (slightly weirdly) the time stamp is parsed using
SimpleDateFormat, with a format of "ss/mm/hh/dd/MM/yyyy" but
re-formatted straight away into a String using "yyyy/MM/dd" - so maybe
you need to be at least one day ahead before it sees an update?
(haven't looked into this)
https://github.com/apache/netbeans/blob/e198d0dade337c1dbc27adbbdfd5d12f621a7712/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateCatalogParser.java#L394-L406
https://github.com/apache/netbeans/blob/e198d0dade337c1dbc27adbbdfd5d12f621a7712/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/Utilities.java#L1403-L1407
(I guess you knew this already)
Pete

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