@Pete
No there is a XML declaration + DTD in my updates.xml, I've checked again.
Maybe you viewed the xml file using the builtin Firefox viewer which hides the
XML declaration part...
If the XML was malformed I guess it would not work at all: in my case it works
fine for the 1st update (with a clean NB user dir). There must be something in
the user dir which prevents the next update, I checked the autoupdate
preferences but was not able to find something abnormal...
Le mercredi 12 février 2020 à 14:05:58 UTC+1, Peter Hull
<[email protected]> a écrit :
I don't know the answer, but looking at the NB update center, the XML
does start with an XML declaration and a DTD (see below), whereas
yours does not. Maybe the DTD needs to be added?
Pete
<!DOCTYPE module_updates PUBLIC "-//NetBeans//DTD Autoupdate Catalog
2.6//EN" "http://www.netbeans.org/dtds/autoupdate-catalog-2_6.dtd">
On Wed, 12 Feb 2020 at 10:43, Geertjan Wielenga <[email protected]> wrote:
>
> If I could, I would help, I just don't know -- and have no way to reproduce.
> Maybe someone else with a NetBeans Platform app with a Plugin Manager etc,
> other than the IDE itself, can advise.
>
> Gj
>
> On Tue, Feb 11, 2020 at 11:26 PM Jerome Lelasseux
> <[email protected]> wrote:
>>
>> Hello,
>>
>> I have set up an autoupdate center for my NB application (Windows JDK11.1).
>> After a fresh install of an (old) app, the new modules are detected, user is
>> notified and the app is automatically updated.
>>
>> If I generate yet another change (change code of one module, increase module
>> spec in manifest, generate new NBM file, upload new updates.xml and NBM on
>> the updatecenter), then the app does not detect the change. I don't
>> understand why...
>>
>> I tried -J-Dorg.netbeans.modules.autoupdate.level=FINEST to understand what
>> happens, but it just says:
>> ...
>> FINE
>> [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]:
>> Start parsing https://www.jjazzlab.com/autoupdate/updates.xml at
>> 1581459244163
>> FINER
>> [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]:
>> Successfully read time 59/47/21/11/02/2020
>> FINE
>> [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]:
>> End parsing https://www.jjazzlab.com/autoupdate/updates.xml at 1581459244210
>> ...
>>
>> So it scans the updates.xml but does not detect the updated module.
>>
>> If I delete the user directory (where some update info is stored), then the
>> changes are detected again.
>>
>> Thanks for your help.
>>
>> Jerome
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists