how to build

40 views
Skip to first unread message

dlrts

unread,
Jul 16, 2013, 8:48:34 AM7/16/13
to jmotif-...@googlegroups.com
Hi there,

today I found out about jmotif library and I am impressed about what it seems to be cabable of.
I then checked out the current revision and started peeking around in the source.

Now, I want to use the libray in a project, for which I would need a compile jar. How would I do that? (since the available jar in the downloads seems somewhat outdated)
When I ran the build.xml ant scipt, it complains about a missing JUnit reference:
build.xml:33: This package requires JUNIT_HOME to be defined and D:\workspace\jmotif\${env.JUNIT_HOME}\junit-4.10.jar available

Can you give me some hints on how to build the library?

Eraldo Pomponi

unread,
Jul 16, 2013, 1:22:36 PM7/16/13
to jmotif-...@googlegroups.com
If you use Eclipse IDE it comes almost for free: you can add JUnit as one of the libs in the build path (check Project->Properties->Java Build Path). 
If you use another IDE I would start defining an environment variable like (for linux)

$export JUNIT_HOME=<junit .jar path>

HTH

Eraldo





--
You received this message because you are subscribed to the Google Groups "jmotif-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmotif-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

dlrts

unread,
Aug 12, 2013, 2:47:45 AM8/12/13
to jmotif-...@googlegroups.com
Hi,

thanks for the hint, and yes i am using eclipse.
However, althoug Junit was in the build path, it still did not work with the environment variables.
I then replaced the variables with the absolut path to the junit jar and this did the trick. I now have a running jmotif-jar.

Daniel
Reply all
Reply to author
Forward
0 new messages