Re: Different versions of same module in custom update center
Andreas Stefik <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CABiHOJnXwda=vJjOF5UpsWHnX9LAJ61dgW0V_4J1LaHab_39EA@mail.gmail.com> |
Marco, I would like to be able to do this as well. In the past, whenever we've wanted multiple versions available, we've had to make different auto-update paths (e.g., somesite/location/update.xml vs. somesite/otherlocation/update.xml). This is especially tricky if you have multiple versions of NetBeans that the project has spanned across. In other words, this solution works, but it isn't ideal or exactly what you are looking for. If you find a better way, I'd love to hear about it too. Stefik On Tue, Aug 2, 2016 at 5:44 AM, marcohu <[email protected]> wrote: > Howdy, > > it is possible to provide different versions of the same module through a > custom update center? > > My catalog.xml looks like this: > > > Code: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE autoupdate_catalog PUBLIC "-//NetBeans//DTD Autoupdate Catalog > 2.0//EN" "autoupdate-catalog-2_0.dtd"> > <module_updates timestamp="11/41/18/02/08/2016"> > <module codenamebase="package" distribution="package-1.0.3.nbm" ...> > <manifest OpenIDE-Module="name" > OpenIDE-Module-Specification-Version="1.0.3" ... /> > </module> > <module codenamebase="package" distribution="package-1.0.2.nbm" ...> > <manifest OpenIDE-Module="name" > OpenIDE-Module-Specification-Version="1.0.2" ... /> > </module> > <module codenamebase="package" distribution="package-1.0.1.nbm" ...> > <manifest OpenIDE-Module="name" > OpenIDE-Module-Specification-Version="1.0.1" ... /> > </module> > ... > </module_updates_ > > > > When added to NetBeans, the update manager only shows the most recent > version (1.0.3). > > Is there some way to have all available versions displayed to the user > instead? Thanks. > > Cheers, > Marco > > > > >