Comments (4)
Are you referencing Java 7?
Otherwise don't worry. Just use the Java or C# source as a reference.
On Feb 18, 2014 10:11 AM, "Jorgen Horstink" [email protected]
wrote:
Hi,
We are preparing for the IDDD_Workshop in Paris and are getting to
following error when running gradle build. We are not so familiar with
Java (understatement), so I have no clue if this has to do with our Java
version, or some other settings.I am working on a MacBook Air with Java 1.6.0_65. We used brew install
maven and brew install gradle to install gradle on our machines, so I
suppose we have the latest version. Anyone a clue?.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/messaging/slothmq/SlothWorker.java:152:
cannot find symbol
symbol : method bind(java.net.InetSocketAddress)
location: class java.nio.channels.ServerSocketChannel
this.socket.bind(new InetSocketAddress(discoveryPort));
^
.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/messaging/slothmq/SlothWorker.java:191:
cannot find symbol
symbol : method bind(java.net.InetSocketAddress)
location: class java.nio.channels.ServerSocketChannel
this.socket.bind(new InetSocketAddress(HUB_PORT));
^
.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/persistence/ResultSetObjectMapper.java:227:
cannot find symbol
symbol : method isAlphabetic(char)
location: class java.lang.Character
if (Character.isAlphabetic(ch) && Character.isUpperCase(ch)) {
^
3 errors
:iddd_common:compileJava FAILEDReply to this email directly or view it on GitHubhttps://github.com//issues/9
.
from iddd_samples.
Thanks. I see you mentioned Java 7 in the e-mail I received... It is working now, except the testsuite that completely fails. But that has to do with leveldb. So I just cloned leveldb and ran mvn install
. I am going to try to get it up and running. Thanks for the quick reply π
from iddd_samples.
Same here, it seems to install correctly but the tests all fail...
192:IDDD_Samples erik$ gradle build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE
:iddd_common:compileJava UP-TO-DATE
:iddd_common:processResources UP-TO-DATE
:iddd_common:classes UP-TO-DATE
:iddd_common:jar UP-TO-DATE
:iddd_agilepm:compileJava UP-TO-DATE
:iddd_agilepm:processResources UP-TO-DATE
:iddd_agilepm:classes UP-TO-DATE
:iddd_agilepm:jar UP-TO-DATE
:iddd_agilepm:assemble UP-TO-DATE
:iddd_common:compileTestJava UP-TO-DATE
:iddd_common:processTestResources UP-TO-DATE
:iddd_common:testClasses UP-TO-DATE
:iddd_agilepm:compileTestJava UP-TO-DATE
:iddd_agilepm:processTestResources UP-TO-DATE
:iddd_agilepm:testClasses UP-TO-DATE
:iddd_agilepm:test
com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProduct FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException
com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProductWithDiscussion FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException
[A BUNCH OF OTHER FAILURES]
106 tests completed, 106 failed
:iddd_agilepm:test FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':iddd_agilepm:test'.There were failing tests. See the report at: file:///Users/erik/Dev/IDDD_Samples/iddd_agilepm/build/reports/tests/index.html
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
from iddd_samples.
Hi.
The tests require the infrastructure to be set up locally. So βskip testsβ in your build process for now. (hoping someday to mock the tests).
I also have a pure Maven build over at my GitHub account for those that are more familiar with Maven:
https://github.com/michaelajr/IDDD_Samples
clone, then...
mvn -DskipTests=true compile
M
On Feb 18, 2014, at 6:08 AM, erikgerrits [email protected] wrote:
Same here, it seems to install correctly but the tests all fail...
192:IDDD_Samples erik$ gradle build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE
:iddd_common:compileJava UP-TO-DATE
:iddd_common:processResources UP-TO-DATE
:iddd_common:classes UP-TO-DATE
:iddd_common:jar UP-TO-DATE
:iddd_agilepm:compileJava UP-TO-DATE
:iddd_agilepm:processResources UP-TO-DATE
:iddd_agilepm:classes UP-TO-DATE
:iddd_agilepm:jar UP-TO-DATE
:iddd_agilepm:assemble UP-TO-DATE
:iddd_common:compileTestJava UP-TO-DATE
:iddd_common:processTestResources UP-TO-DATE
:iddd_common:testClasses UP-TO-DATE
:iddd_agilepm:compileTestJava UP-TO-DATE
:iddd_agilepm:processTestResources UP-TO-DATE
:iddd_agilepm:testClasses UP-TO-DATE
:iddd_agilepm:testcom.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProduct FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentExceptioncom.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProductWithDiscussion FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException[A BUNCH OF OTHER FAILURES]
106 tests completed, 106 failed
:iddd_agilepm:test FAILEDFAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':iddd_agilepm:test'.There were failing tests. See the report at: file:///Users/erik/Dev/IDDD_Samples/iddd_agilepm/build/reports/tests/index.html
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILED
β
Reply to this email directly or view it on GitHub.
from iddd_samples.
Related Issues (20)
- What's the point of com.saasovation.identityaccess.application.command? HOT 1
- Reference for functional programming
- Can't enable Mysql in EventStoreProvider HOT 1
- [question] implicit dependency from iddd_agilepm to iddd_identityaccess HOT 1
- Store aggregates: mongodb or postgres json
- Why didn't handle the situation that the user doesn't have the role
- Getting Peer not authenticated error when I'm trying to run gradlew build HOT 1
- why some entities in equals(..) use many properties and not only their ID? HOT 3
- Where is the aggregate root? HOT 1
- sprint.commit vs. backlogItem.commitTo HOT 5
- Why do some contexts contain port & adapter modules and others don't? HOT 3
- A duplicated tracker is created when retrying ProductDiscussionRequest HOT 2
- Build fails because of the version of tools
- The setup script fails
- Updating multiple aggregates in the same transaction? HOT 3
- Post on a closed discussion or closed forum
- How to use ValidationNotificationHandler HOT 1
- State in domain services HOT 3
- Limiting the modification of one aggregate per transaction
- isClosed() considered to be true invariant or not? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iddd_samples.