Skip to content

eclipse incremental build support #30

@belerweb

Description

@belerweb

I want eclipse build coffeescript auto & incremental. So I add following config:

<pluginExecution>
    <pluginExecutionFilter>
        <groupId>com.theoryinpractise</groupId>
        <artifactId>coffee-maven-plugin</artifactId>
        <versionRange>[1.4.7,)</versionRange>
        <goals>
            <goal>coffee</goal>
        </goals>
    </pluginExecutionFilter>
    <action>
        <execute>
            <runOnIncremental>true</runOnIncremental>
        </execute>
    </action>
</pluginExecution>

It works, but when I save a file, even not a .coffee file, then all coffee files are compiled again(It takes a long time. During the time, eclipse always show "Build workspace (xx%)").

So I want coffee-maven-plugin support incremental build. If a .coffee file is not changed and the compiled .js file exist, then skip the compile.

I am using lesscss-maven-plugin too, it works fine, then source code is here(https://github.com/marceloverdijk/lesscss-maven-plugin/blob/master/src/main/java/org/lesscss/mojo/CompileMojo.java).

Thanks very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions