-
Notifications
You must be signed in to change notification settings - Fork 832
Frequently Asked Questions
Andrew Harmel-Law edited this page Jul 18, 2013
·
11 revisions
Not all of these have been asked a lot, but they're good things to know.
- Q: Is there a Java Binding for Job-DSL? - A: No, not at the moment. The DSL relies heavily of both closures for contexts and methodMissing/propertyMissing for XML generation. There's not currently a good Java equivalent of either of those. It's not to say that it couldn't be done, it'd just be ugly.
- Q: Why won't my DSL script run? - using an element name already defined in an outer scope - A: a common problem that many folks see using is "name()" in a configure block because this clashes with the name method of the job element. In general, you cannot use any element name (in this case "name") which is already an identifier in an outer scope. In these cases, you need to fallback to low-level API. See more on the forum.
Stack Overflow | Mailing List | API Reference | Issue Tracker | Playground | Plugin | Wiki | GitHub
Home
Release Notes
Migration
Talks and Blog Posts
Documentation
Tutorial
Dynamic DSL
Configure Blocks
Job DSL Commands
Script Security
Handling Credentials
Configuration as Code
FAQ
Real World Examples
User Power Moves
IDE Support
Testing DSL Scripts
For Developers
Extending the DSL
Job DSL Architecture