Otherwise get e.g.:
org.kohsuke.stapler.export.NotExportableException: class hudson.plugins.mercurial.browser.HgWeb doesn't have @ExportedBean
at org.kohsuke.stapler.export.Model.<init>(Model.java:44)
at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:25)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:173)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:180)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:98)
at org.kohsuke.stapler.export.Property.writeTo(Property.java:82)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:142)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:139)
at org.kohsuke.stapler.export.Model.writeTo(Model.java:133)
at hudson.model.Api.doXml(Api.java:94)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23460 71c3de6d-444a-0410-be80-ed276b4c234a
- checkGoodName on new name (new recorder already checks, but rename didn't)
- delete config file for old name (after Hudson restart, old name would come back)
- redirect to new name instead of old (rename was getting stapler error after save)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23405 71c3de6d-444a-0410-be80-ed276b4c234a
as this may break some links (.../*.html for example).
See related HUDSON-1335, HUDSON-1679, r347 and r11319.
Updated hyperlinkMatchesCurrentPage to ignore trailing / in matching
to avoid regression in bold context links.
Also fixed tiny bug introduced in r13815 where "/" was changed to "."
in moving code from jelly to Functions, causing a couple links in
LogRecorder area (with href=".") to not show as bold.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23393 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/multiple-update-sources
........
r23183 | abayer | 2009-10-25 11:53:17 -0700 (Sun, 25 Oct 2009) | 1 line
First chunk of work towards supporting multiple update centers - infrastructure in place for it, and default update center treated as only one of multiple - have to use slightly modified update-center.json though
........
r23185 | abayer | 2009-10-25 12:25:49 -0700 (Sun, 25 Oct 2009) | 1 line
a number of tweaks - among other things, now works properly with additional update centers defined in hudson.model.UpdateCenter.xml - try using http://andrewbayer.com/images/hello-world/helloWorld-update-center.json as second update center
........
r23245 | abayer | 2009-10-27 13:45:25 -0700 (Tue, 27 Oct 2009) | 1 line
Modified to support existing default update-center.json
........
r23256 | kohsuke | 2009-10-27 18:30:15 -0700 (Tue, 27 Oct 2009) | 7 lines
- moved data binding of update-center.json to UpdateSource.
- moved some of the UpdateSource property into JSON, to improve the user experience when adding an update source.
the user should just type in one URL, and everything else should happen automatically.
- it doesn't make sense for UpdateSource to rely on UpdateCenterConfiguration, since behaviors cannot be
modified per UpdateSource basis. Instead, leaving it in UpdateCenter allows us to maintain backward compatible
behaviors with the existing custom UpdateCenterConfiguration implementation.
........
r23266 | kohsuke | 2009-10-27 19:29:24 -0700 (Tue, 27 Oct 2009) | 1 line
serve id inside JSON.
........
r23279 | kohsuke | 2009-10-28 10:44:00 -0700 (Wed, 28 Oct 2009) | 1 line
Do not special-case "default" ID. Receive hudson.war updates from wherever that provides one.
........
r23280 | kohsuke | 2009-10-28 10:50:57 -0700 (Wed, 28 Oct 2009) | 1 line
formatting change.
........
r23281 | kohsuke | 2009-10-28 11:30:40 -0700 (Wed, 28 Oct 2009) | 1 line
typo
........
r23282 | kohsuke | 2009-10-28 11:45:06 -0700 (Wed, 28 Oct 2009) | 2 lines
- added the UI to remove sites.
- persistence of UpdateSource happens more automatically now.
........
r23283 | kohsuke | 2009-10-28 11:50:04 -0700 (Wed, 28 Oct 2009) | 1 line
UpdateSource -> UpdateSite to align terminology with Eclipse.
........
r23284 | kohsuke | 2009-10-28 11:55:03 -0700 (Wed, 28 Oct 2009) | 5 lines
Actually, for now, just having a programmatic modification to UpdateSite would satisfy the primary use case.
And I'd like to upgrade YUI to a more recent version so that we can use its DataTable for UI. Plus the single update center model encourages the community to bring the code into the Hudson project, which is something we'd like to keep.
So all in all, I'm postponing the UI work.
........
r23286 | kohsuke | 2009-10-28 13:07:19 -0700 (Wed, 28 Oct 2009) | 1 line
Renaming and bug fixes.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23326 71c3de6d-444a-0410-be80-ed276b4c234a