Skip to content

Capability to read input from classpath resource instead of filesystem#52

Open
levsa wants to merge 6 commits into
lehphyro:masterfrom
levsa:resourceinput
Open

Capability to read input from classpath resource instead of filesystem#52
levsa wants to merge 6 commits into
lehphyro:masterfrom
levsa:resourceinput

Conversation

@levsa
Copy link
Copy Markdown

@levsa levsa commented Jan 8, 2016

These changes adds support for reading input from resources in classpath instead of file system, using:
input="classpath:/path/to/resource".

Drawbacks:

  • Support for changing files in place is disabled, since input streams are used instead of files.
  • Possibly the behaviour of duplicate inputs in PropertiesActionProcessor is changed (files are not resolved first anymour, only input strings are compared).

@levsa
Copy link
Copy Markdown
Author

levsa commented Jan 11, 2016

If it is necessary to keep the possibility to use the input file as output, I could look into supporting that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant