[
https://issues.apache.org/jira/browse/BUILDR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lacton updated BUILDR-122:
--------------------------
Attachment: BUILDR-122.spec.patch
'BUILDR-122.spec.patch' adds to eclipse_spec.rb the example given in
'building.textile'.
<quote>
For example, let's run the APT tool on our annotated source code before
compiling it:
{{{!ruby
compile.from apt
}}}
When you call @apt@ on a project, it returns a file task that points to the
@target/generated/apt@ directory.
</quote>
This new test case will fail, because directory 'target/generated/apt' does not
exist yet.
> 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.