[
https://issues.apache.org/jira/browse/BUILDR-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227131#comment-13227131
]
Hudson commented on BUILDR-629:
-------------------------------
Integrated in Buildr-ci-build #301 (See
[https://builds.apache.org/job/Buildr-ci-build/301/])
BUILDR-629 and BUILDR-630 thanks to Russell Teabault
* Change: BUILDR-630 Run task should not add test dependencies (Russell
Teabeault)
* Change: BUILDR-629 JavaRunner should include target/resources in classpath
(Russell Teabeault) (Revision 1299410)
Result = FAILURE
toulmean :
Files :
* /buildr/trunk/CHANGELOG
* /buildr/trunk/lib/buildr/core/run.rb
* /buildr/trunk/lib/buildr/run.rb
* /buildr/trunk/spec/core/run_spec.rb
> JavaRunner should include target/resources in classpath
> -------------------------------------------------------
>
> Key: BUILDR-629
> URL: https://issues.apache.org/jira/browse/BUILDR-629
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.4.6, 1.4.7
> Reporter: Russell Teabeault
> Assignee: Antoine Toulme
> Fix For: 1.4.8
>
>
> JavaRunner includes the compile dependencies and the target/classes
> directory. It should also include the target/resources directory.
> buildr/core/run.rb
> ...
> def run(task)
> fail "Missing :main option" unless task.options[:main]
> cp = project.compile.dependencies + [project.path_to(:target, :classes)] +
> task.classpath
> Java::Commands.java(task.options[:main], {
> :properties => jrebel_props(project).merge(task.options[:properties] ||
> {}),
> :classpath => cp,
> :java_args => jrebel_args + (task.options[:java_args] || [])
> })
> end
> cp = project.compile.dependencies + [project.path_to(:target, :classes)] +
> task.classpath
> should be
> cp = project.compile.dependencies + [project.path_to(:target, :classes),
> project.path_to(:target, :resources)] + task.classpath
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira