Giter Club home page Giter Club logo

Comments (3)

jsabin avatar jsabin commented on September 22, 2024

Were you able to get this working?

from kairosdb-client.

ae3e avatar ae3e commented on September 22, 2024

I also use Eclipse (Luna - 4.4.2) with M2Eclipse on Windows. It works fine but I added some configuration in the pom.xml file (see below).
It could be added in the master repository. It has no influence on the Maven build itself.

Could you also replace the following code (line 40) in the QueryResponseTest class in order to support any OS?

json = json.replaceAll("\n", ""); // remove newlines so strings can compare
json = json.replaceAll(System.getProperty("line.separator"), ""); // remove newlines so strings can compare

pom.xml addition :

<build>
...
    <pluginManagement>
        <plugins>
            <!--This plugin's configuration is used to store Eclipse m2e settings only.
                It has no influence on the Maven build itself.-->
            <plugin>
                <groupId>org.eclipse.m2e</groupId>
                <artifactId>lifecycle-mapping</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <lifecycleMappingMetadata>
                        <pluginExecutions>
                            <pluginExecution>
                                <pluginExecutionFilter>
                                    <groupId>org.jacoco</groupId>
                                    <artifactId>jacoco-maven-plugin</artifactId>
                                    <versionRange>[0.5,)
                                    </versionRange>
                                    <goals>
                                        <goal>prepare-agent</goal>
                                    </goals>
                                </pluginExecutionFilter>
                                <action>
                                    <!-- m2e doesn't know what to do with jacoco,
                                        let's ignore it or annoying error markers appear
                                        see https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html
                                     -->
                                    <ignore></ignore>
                                </action>
                            </pluginExecution>
                        </pluginExecutions>
                    </lifecycleMappingMetadata>
                </configuration>
            </plugin>
        </plugins>
    </pluginManagement>
</build>

from kairosdb-client.

jsabin avatar jsabin commented on September 22, 2024

Thanks. Dumb error on my part. I fixed the line separator.

On Tue, Jun 23, 2015 at 7:34 AM, adeliz [email protected] wrote:

I also use Eclipse (Luna - 4.4.2) with M2Eclipse on Windows. It works fine
but I added some configuration in the pom.xml file (see below).
It could be added in the master repository. It has no influence on the
Maven build itself.

Could you also replace the following code (line 40) in the
QueryResponseTest class in order to support any OS?

json = json.replaceAll("\n", ""); // remove newlines so strings can compare

json = json.replaceAll(System.getProperty("line.separator"), ""); // remove newlines so strings can compare

pom.xml addition :

... org.eclipse.m2e lifecycle-mapping 1.0.0 org.jacoco jacoco-maven-plugin [0.5,) prepare-agent


Reply to this email directly or view it on GitHub
#32 (comment)
.

from kairosdb-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.