Closed GoogleCodeExporter closed 9 years ago
Good catch. I updated Loader.appendProperty() to check for duplicates. Could
you try with the attached Loader.java see if it works better? thanks!
BTW, did you have any problem getting Maven to call JavaCPP? Looking at your
pom.xml file, it doesn't look much different from Ant, but I might be missing
something.. thanks
Original comment by samuel.a...@gmail.com
on 28 Feb 2012 at 6:18
Attachments:
I will try the fix later today. Thanks.
It was quite easy to get it to work with Maven. Anyone that wants to use Maven
just needs to use the maven dependency plugin to get access to JavaCPP (and to
be able to actually call the JAR file). This is what enables
<argument>${com.googlecode:javacpp:jar}</argument> to work.
We are actually hosting JavaCPP in our public maven repository at
http://maven.ejwa.se/, to enable people to compile Dinja Engine.
If you want, I can help out with some documentation if you want to make it
easier for other people to use JavaCPP together with Maven. You might also
consider uploading JavaCPP to the central maven repo.
Here is a FAQ:
http://maven.apache.org/guides/mini/guide-central-repository-upload.html
Original comment by adam.waldenberg@gmail.com
on 28 Feb 2012 at 7:48
Thanks for the info! I am not currently using Maven, so it would be great to
have you check if everything is working alright. I will check back some time
later about uploading artifacts to the central repository, I might as well
upload JavaCV as well I suppose (?), but you could start working on some
documentation right away, that would be great. I suppose creating a page on the
Wiki tab here would be most appropriate? I can give you permission for that.
If you have some recommendations for the content of the POM files, I'd like to
hear them as well!
Original comment by samuel.a...@gmail.com
on 29 Feb 2012 at 2:57
The modified Loader.java above fixes the problem with duplicate -l entries.
About Maven... I can do better than give you some recommendations :). I'll open
a
separate issue concerning Maven integration.
And yeah JavaCV... Why not upload that also :).
Original comment by adam.waldenberg@gmail.com
on 29 Feb 2012 at 8:59
Oh yeah... Concerning documentation on the wiki page, sure I can write
something up.
Original comment by adam.waldenberg@gmail.com
on 29 Feb 2012 at 9:20
I have included these changes in the latest release. Thanks for the feedback
(and the wiki)!
Original comment by samuel.a...@gmail.com
on 3 Mar 2012 at 4:50
Original issue reported on code.google.com by
adam.waldenberg@gmail.com
on 27 Feb 2012 at 9:55