[ 
https://issues.apache.org/jira/browse/BUILDR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619846#action_12619846
 ] 

Lacton commented on BUILDR-122:
-------------------------------

What do you mean by "Buildr reports one by default"?

In compile_spec, I read
<code>
  it 'should be empty if no sources in default directory' do
    compile_task.sources.should be_empty
  end
</code>

It seems to me a project without any source folder is reported as such by the 
compile task.

> Should Buildr report a source directory even if a project doesn't have one?

I think it depends on what we mean by 'having' a source folder. I feel it can 
mean either that a source folder exists, or that a source folder has been 
defined by the user in her buildfile.

> 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.

Reply via email to