[ http://jira.magnolia-cms.com/browse/MGNLIMG-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22086#action_22086 ]
Dean Arnold commented on MGNLIMG-32: ------------------------------------ As a workaroung until Grégory fixes this issue; To make the plug-in *compile* (yet to test) I updated CropperPage.java line 104 from: {code:java} final CropAndResizeConfig cfg = (CropAndResizeConfig) Content2BeanUtil.setProperties(new CropAndResizeConfig(), node); {code} To: {code:java} CropAndResizeConfig cfg; try { cfg = (CropAndResizeConfig) Content2BeanUtil.setProperties(new CropAndResizeConfig(), node); } catch (Exception e) { throw new RuntimeException(e); } {code} And updated ImagesProcessor.java line 164 from: {code:java} return (ImageFormat) Content2BeanUtil.setProperties(new ImageFormat(), dialogControlConfigNode); {code} To: {code:java} try { return (ImageFormat) Content2BeanUtil.setProperties(new ImageFormat(), dialogControlConfigNode); } catch (Exception e) { throw new RuntimeException(e); } {code} > Unable to build checked out module > ---------------------------------- > > Key: MGNLIMG-32 > URL: http://jira.magnolia-cms.com/browse/MGNLIMG-32 > Project: Magnolia Image Filtering Module > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Olivier Marti > Assignee: Grégory Joseph > > I checked out > http://svn.magnolia-cms.com/svn/community/modules/magnolia-module-imagefiltering/trunk/ > but building it failed with the following exception: > [INFO] Compilation failure > /Users/omarti/Work/checkouts/3_Modules/magnolia-module-imagefiltering/src/main/java/info/magnolia/module/imagefiltering/ImagesProcessor.java:[164,59] > unreported exception info.magnolia.content2bean.Content2BeanException; must > be caught or declared to be thrown > Also this is the case for the cropperPage.class > Getting a svn history file allowed me then to build the jar. The following > commit (per file) introduced the change prohibiting a proper build: > MAGNOLIA-2245 removed deprecated/unused FreeMarkerUtil and JSPIncludeUtil -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------