How to integrate MOA with NetBeans IDE

581 views
Skip to first unread message

Dip@@@@

unread,
Nov 8, 2013, 6:56:16 AM11/8/13
to moa-...@googlegroups.com
hi,
I am new to MOA.
I have configured MOA,but don't know how to add or modify any existing algorithm using NetBeans IDE.
pls describe the steps.
Message has been deleted

Albert Bifet

unread,
Nov 10, 2013, 11:28:59 AM11/10/13
to moa-...@googlegroups.com
Using Netbeans 7.4 and the code of the repository:

- execute "hg clone https://code.google.com/p/moa/"
- open the project from NetBeans

Using Netbeans 7.4 and maven, follow these steps:

- Select New Project->Maven->Java Application
- Click over Dependencies, and add the following dependency: nz.ac.waikato.cms.moa

You should be able to add new algorithms to MOA.

Cheers, Albert


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

Dip@@@@

unread,
Nov 16, 2013, 7:29:57 AM11/16/13
to moa-...@googlegroups.com, abi...@cs.waikato.ac.nz
I am using NetBeans 7.0.1.
so, I have doen Select New Project-->Java Application,but what should be my Main class during creating new project?

Albert Bifet

unread,
Nov 16, 2013, 9:14:25 AM11/16/13
to moa-...@googlegroups.com
Install mercury, and run


- execute "hg clone https://code.google.com/p/moa/"
- open the project from NetBeans

If you want to create new code and use moa only as a library

- add the moa.jar as a jar library in a standard java project

or add moa as a maven dependency.

Cheers, Albert

ptth...@ictu.edu.vn

unread,
Nov 17, 2013, 8:52:56 PM11/17/13
to moa-...@googlegroups.com, abi...@cs.waikato.ac.nz
please help me! When I recompile MOA-source in IDE NetBeans I have the following errors:

 Failed to execute goal org.codehaus.mojo:latex-maven-plugin:1.1:latex (default) on project moa: Cannot run program "pdflatex" (in directory "E:\ThucNghiem_NCS_2014\moa_Source_code\moa-f2bfa78c6497\moa\target\latex\Manual"): CreateProcess error=2, The system cannot find the file specified -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :moa

I try to copy pdflatex into the specific path, but I have the same error.
Thanks,
Thuong
Vào 06:14:25 UTC-8 Thứ bảy, ngày 16 tháng mười một năm 2013, Albert Bifet đã viết:

Albert Bifet

unread,
Nov 18, 2013, 4:14:46 AM11/18/13
to moa-...@googlegroups.com
It seems that your system is no able to compile the tex source code of the manual. Install a complete version of TeX, and check that it is available from the command-line.

Cheers, Albert

ptth...@ictu.edu.vn

unread,
Nov 23, 2013, 10:10:19 PM11/23/13
to moa-...@googlegroups.com, abi...@cs.waikato.ac.nz
Thanks Albert very much.
I had solved my problem.

Best,
Thuong.

Vào 01:14:46 UTC-8 Thứ hai, ngày 18 tháng mười một năm 2013, Albert Bifet đã viết:
Reply all
Reply to author
Forward
0 new messages