Project: springxd
Issue XD-2601: Mismatch between configuration class and script XML for location/script
The *org.springframework.xd.module.options.mixins.ScriptMixin* options class shipped with XD 1.0.3 refers to *script* rather than *location* however the XML configuration still references *$\{location\}* in the service activator: {noformat}	{noformat} Creating a stream using the old *location* argument no longer works obviously: {noformat} xd:>stream create myJobArchiveTrigger --definition "tap:job:myJob.job > script --location=job-status.groovy --variables='tgtStatus=COMPLETED' > queue:job:archiveJob" --deploy Command failed org.springframework.xd.rest.client.impl.SpringXDException: Error with option(s) for module script of type processor location: option named 'location' is not supported {noformat} Creating the same stream using *--script* reports success at the shell prompt but results in an error in the container/admin logs: {noformat} Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'location' in string value "${location}" {noformat} Working around this by overriding the XML setting in our deployment: {noformat}	{noformat}
Story points: 1