Skip to content

Commit

Permalink
Update use of getProjectProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 2, 2011
1 parent 6602464 commit 5ee69db
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public NodeExecutorResult executeCommand(final ExecutionContext executionContext
//get project or framework property for script-exec args
final Framework framework = executionContext.getFramework();
//look for specific property
scriptargs = framework.getProjectProperty(SCRIPT_EXEC_DEFAULT_COMMAND_PROPERTY,
executionContext.getFrameworkProject());
scriptargs = framework.getProjectProperty(executionContext.getFrameworkProject(),
SCRIPT_EXEC_DEFAULT_COMMAND_PROPERTY);


if (null != node.getAttributes().get(SCRIPT_ATTRIBUTE)) {
Expand All @@ -90,8 +90,8 @@ public NodeExecutorResult executeCommand(final ExecutionContext executionContext
+ " property was configured for the project or framework.");
}

dirstring = framework.getProjectProperty(SCRIPT_EXEC_DEFAULT_COMMAND_PROPERTY,
executionContext.getFrameworkProject());
dirstring = framework.getProjectProperty(executionContext.getFrameworkProject(),
SCRIPT_EXEC_DEFAULT_COMMAND_PROPERTY);
if (null != node.getAttributes().get(DIR_ATTRIBUTE)) {
dirstring = node.getAttributes().get(DIR_ATTRIBUTE);
}
Expand Down

0 comments on commit 5ee69db

Please sign in to comment.