[
https://issues.apache.org/jira/browse/BUILDR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619863#action_12619863
]
Nathan Hamblen commented on BUILDR-122:
---------------------------------------
It's the same for resources; 'src/main/resources' is only added if it exists. I
think the check could come out in eclipse.rb; I only included it in my patch
since it was there in the original code (for resources, at least). There may
have been a time when the eclipse task needed to check for existence of those
default paths, but that doesn't seem to be the case now.
> eclipse task should not check for directory existence
> -----------------------------------------------------
>
> Key: BUILDR-122
> URL: https://issues.apache.org/jira/browse/BUILDR-122
> Project: Buildr
> Issue Type: Bug
> Components: IDE
> Affects Versions: 1.3.3
> Environment: buildr trunk revision 682463
> Reporter: Lacton
> Priority: Minor
> Attachments: BUILDR-122.spec.patch
>
>
> The eclipse task checks for source directories' existence when generating the
> .classpath file. Source folders that get generated later (e.g., during the
> build) are missing from the .classpath file.
> Proposed fix: remove the two "if File.exist? project.path_to(path)" lines in
> the FileTask for '.classpath' in eclipse.rb.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.