Generated groovy scripts: Scripts cannot be saved and executed
--------------------------------------------------------------
Key: MGNLMIGRATION-132
URL: http://jira.magnolia-cms.com/browse/MGNLMIGRATION-132
Project: Magnolia Migration
Issue Type: Bug
Affects Versions: 1.1.4
Environment: Migros project
Reporter: wolf bubenik
Assignee: Jozef Chocholacek
Priority: Critical
Folders ( - > packages) are generated for the migration scripts using the
module name as package name. If the module names contain characters that are
not allowed in groovy package names ('-' in our project) it is not possible to
save fixed scripts or to run the scripts.
On saving:
{noformat}
startup failed:
script13504691834702018186941.groovy: 1: expecting EOF, found '-' @ line 1,
column 15.
package Migros-common-templating.components
^
1 error
{noformat}
On executing
{noformat}
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 1: unexpected token: - @ line 1, column 14.
import Migros-updates.components.*
^
1 error
{noformat}
--
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/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------