shubhj / instinct

Automatically exported from code.google.com/p/instinct
0 stars 0 forks source link

Instinct FirstStep results in "class file for fj.data.Either not found" #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create new project with maven2
2. include instinct repo and dependency, ie:

    <repositories>
        <repository>
            <id>instinct-repository</id>
            <url>http://instinct.googlecode.com/svn/artifacts/maven/</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>com.googlecode.instinct</groupId>
            <artifactId>instinct-core</artifactId>
            <version>0.1.9</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

3. Write behaviour spec HelloWorld.trueMustBeTrue as:

expect.that(true).isTrue();

What is the expected output? What do you see instead?
Expected output is success. Actual output is:

class file for fj.data.Either not found
        expect.that(true).isTrue();

What version of the product are you using? On what operating system?

Instinct 0.1.9 from instinct maven repo.
Sun Java 1.6.0_10
Ubuntu Hardy Heron
Error seen in terminal & IntelliJ IDEA 

Original issue reported on code.google.com by jem.maw...@gmail.com on 21 Aug 2008 at 10:35

GoogleCodeExporter commented 9 years ago
This looks to be a missing dependency in Instinct's POM. You should be able to 
fix this locally by adding the 
following snippets to you project's POM.

<dependency>
  <groupId>org.functionaljava</groupId>
  <artifactId>fj</artifactId>
  <version>2.12</version>
</dependency>

<repositories>
  <repository>
    <id>fj-repository</id>
    <url>http://projects.workingmouse.com/public/functionaljava/maven</url>
  </repository>
</repositories>

Note that like Instinct, Functional Java is still waiting in line to be added 
to the central repository [1], hence 
the need for another repo defn.

I've fixed this in the head, thanks for reporting it.

[1] http://jira.codehaus.org/browse/MAVENUPLOAD-2173

Original comment by tomjad...@gmail.com on 21 Aug 2008 at 10:22

GoogleCodeExporter commented 9 years ago
Thanks for your quick help Tom.

Original comment by jem.maw...@gmail.com on 23 Aug 2008 at 6:33