We're updating the issue view to help you get more done. 

[RUNWAR] Allow no rest mappings to be supplied

Description

Original runwar issue #116

I've had a hacky workaround in place ever since the --servlet-rest-mappings arg was added in:

1 2 3 4 5 6 7 // Runwar will blow up if there isn't a parameter supplied, so I can't pass an empty string. if( len( serverInfo.restMappings ) ) { args.append( '--servlet-rest-mappings' ).append( serverInfo.restMappings ); } else { // This effectively disables it (assuming there's not a real directory or route called "___disabled___") but it's janky args.append( '--servlet-rest-mappings' ).append( '___DISABLED___' ); }

I don't recall the error right off, but I'd like to be able to just omit the --servlet-rest-mappings when none are specified (which is the default in CommandBox)

Status

Assignee

Miguel Mathus

Reporter

Miguel Mathus

Labels

None

Components

Priority

Major