[
https://issues.apache.org/jira/browse/BUILDR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619735#action_12619735
]
Alex Boisvert commented on BUILDR-122:
--------------------------------------
The "if File.exist?" condition is currently there for a reason. Some projects
don't have any source folders but since Buildr reports one by default, we don't
add those to the Eclipse project to avoid unnecessary warnings.
Should Buildr report a source directory even if a project doesn't have one?
> 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
>
> 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.