Hi,

I can't compil new MRL with ANT. Why ?

Do you have another process ?

Thank you

Dom

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52.770 s
[INFO] Finished at: 2018-05-26T18:21:32+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.4:revision (get-the-git-infos) on project mrl: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
 
D:\DevCurrent\myrobotlab>
 
Thank you Grog
 
But, i have like this... :-(
 
Dom

OK. Maven 3.2.2 work, Maven 3.5.3 doesn't work.

But i have this :

Failed tests:   testFileCapture(org.myrobotlab.service.OpenCVTest)
 
Tests run: 342, Failures: 1, Errors: 0, Skipped: 15
 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:06 min
[INFO] Finished at: 2018-05-27T11:06:04+02:00
[INFO] Final Memory: 105M/634M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project mrl: There are test failures.
[ERROR]
[ERROR] Please refer to D:\DevCurrent\test\myrobotlab\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
D:\DevCurrent\test\myrobotlab>
 
So is it possible build without test because this "mvn clean package" or this "mvn clean install" run tests.
 
Dom. 

Thank Anthony,

But doesn't work, i have this result :

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.bytedeco:javacv-platform:jar -> duplicate declaration of version 1.4.1 @ line 1009, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.sarxos:webcam-capture:jar -> duplicate declaration of version 0.3.10 @ line 1015, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.commons:commons-lang3:jar -> duplicate declaration of version 3.3.2 @ line 1021, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: net.sf.jipcam:jipcam:jar -> duplicate declaration of version 0.9.1 @ line 1027, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version 4.5.2 @ line 1036, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpcore:jar -> duplicate declaration of version 4.4.6 @ line 1042, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: wiiusej:wiiusej:jar -> duplicate declaration of version wiiusej @ line 1074, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version 4.5.2 @ line 1098, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpcore:jar -> duplicate declaration of version 4.4.6 @ line 1104, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MyRobotLab 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.715 s
[INFO] Finished at: 2018-05-27T21:10:41+02:00
[INFO] Final Memory: 6M/92M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "will". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
D:\DevCurrent\myrobotlab>

First, welcome to the nixie pre-release!

next, to build you normally run

mvn clean install

you can skip unit test by running 

mvm clean install -DskipTests

These commands should produce a build in the "target" directory.  Look for a file  target/myrobotlab.jar when it's successful.

I recommend updating frequently.. there are still a lot of changes going into Nixie...

dom14

6 years 6 months ago

In reply to by kwatters

Thank you very much Kwatters

this command "mvm clean install -DskipTests" is OK.

So i have gui 1.1.0.

Lot of think are not installed like OpenCV, OpenNI, etc..., i think is normal because lot of change....

But i not see YOLO.

Dom.

Hi Dom,

  Yes if you create a new build you will need to do the "install all" thing to make sure all services get installed.

for simplicity you can run

java -jar myrobotlab.jar -install

to install all the services before you launch. 

 

Next , is Yolo.  The current implementation is done as an OpenCVFilter.  Not as a service.  So, to use Yolo, start an OpenCV service.  Add the "yolo" filter.  

Keep in mind, the Yolo model is like 100MB or so compressed, Once, it downloads it will be cached.  I recommend watching the myrobotlab.log in case there are any errors.

Good luck!