Juan Luis Rodríguez ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4035449b-7cf4-43e6-bd60-7307baca06d9
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10713?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 ) GEOS-10713 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10713?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 ) Windows installer generation script fails because a file is not found ( 
https://osgeo-org.atlassian.net/browse/GEOS-10713?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.21-M0, 2.22-M0, 2.22-RC Assignee: 
Unassigned Components: Windows Installer Created: 20/Oct/22 1:17 PM Priority: 
Medium Reporter: Juan Luis Rodríguez ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4035449b-7cf4-43e6-bd60-7307baca06d9
 )

https://github.com/geoserver/geoserver/pull/6088 ( 
https://github.com/geoserver/geoserver/pull/6088 ) has moved the file 
src/release/NOTICE.md → licenses/NOTICE.md. This file is needed by the Windows 
Installer. It converts it to Rich Text Format (rtf) and shows the content in 
the installer’s license screen.

This has broken the Windows installer script that needs a NOTICE.md file in the 
geoserver-*-bin.zip file that it's used for generating the exe. Currently this 
is the error thrown:

!system: "pandoc -s -f markdown -t rtf "..\source\NOTICE.md" -o license.rtf"
pandoc.exe: ..\source\NOTICE.md: openBinaryFile: does not exist (No such file 
or directory)
!makensis: returned 1, aborting
!system: returned 1
Error in script "geoserver_winsetup.nsi" on line 130 -- aborting creation 
process
!insertmacro: MUI_PAGE_WELCOME

https://github.com/geoserver/geoserver/blob/169d2502d24ec044bf4f4796ab2aa951c5d1e5d6/src/release/installer/win/build/geoserver_winsetup.nsi#L187-L191
 ( 
https://github.com/geoserver/geoserver/blob/169d2502d24ec044bf4f4796ab2aa951c5d1e5d6/src/release/installer/win/build/geoserver_winsetup.nsi#L187-L191
 )

To fix this a markdown or rtf file needs to be included in the bin ZIP file 
with the license to show to the user in the installer.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10713#add-comment?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10713#add-comment?atlOrigin=eyJpIjoiYjBhMTYxYjVkNTVhNGEyYjk3MjcwZWFlOTcyMTU4NDAiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- 
sha1:392b984 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to