Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Using Maven to import Jayes Bayesian Network tool code(Need instruction on how to use the get the Jayes code into Eclipse using Maven)
Using Maven to import Jayes Bayesian Network tool code [message #1506058] Wed, 10 December 2014 14:46 Go to next message
jawann jefferson is currently offline jawann jeffersonFriend
Messages: 10
Registered: December 2014
Junior Member
Hello, I am new to eclipse and Maven. I have a project due for school. I want to use the Jayes Bayesian network tool for my project. Problem is i do not know how to get the code into a project into eclipse to start using it. I tried just copying the folder over of the all the source code but that did not work. I ended up with errors. I think it was because my project name was different from the folder name i copied in. (Not sure how to really fix that either). So i downloaded the code and installed the Maven plugin. I try to start New Maven project but when i get he archetype part it cannot resolve it. Any help would be appreciated.

thanks
jj
Re: Using Maven to import Jayes Bayesian Network tool code [message #1507001 is a reply to message #1506058] Thu, 11 December 2014 08:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33070
Registered: July 2009
Senior Member
There's not enough information in your note to understand what's going
wrong. You say you are "copying the folder over of the all the source
code" Where is this folder coming from? What does it contain? How
is Maven involved; you won't get Maven help from the JDT forum...

On 10/12/2014 7:04 PM, jawann jefferson wrote:
> Hello, I am new to eclipse and Maven. I have a project due for school.
> I want to use the Jayes Bayesian network tool for my project. Problem
> is i do not know how to get the code into a project into eclipse to
> start using it. I tried just copying the folder over of the all the
> source code but that did not work. I ended up with errors. I think it
> was because my project name was different from the folder name i
> copied in. (Not sure how to really fix that either). So i downloaded
> the code and installed the Maven plugin. I try to start New Maven
> project but when i get he archetype part it cannot resolve it. Any
> help would be appreciated.
> thanks
> jj


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using Maven to import Jayes Bayesian Network tool code [message #1507356 is a reply to message #1507001] Thu, 11 December 2014 14:56 Go to previous messageGo to next message
jawann jefferson is currently offline jawann jeffersonFriend
Messages: 10
Registered: December 2014
Junior Member
Hi Ed thank you for your response,

I am getting the code from the Eclipse Recommenders site. It is source code for Jayes Bayesian Network tools. I want to use the code to build a simple Bayes network for class. I need to get it into eclipse, without errors, so i can use it. On the site it says you can use maven to integrate it into your build. So i tried to start a new Maven Project in which it asked me to choose a new archetype. That ended up going no where so then i tried copying the entire folder(package?) over to a project i created called FF. It copied over but now it has errors in two folders. The error states "The declared package "org.eclipse.recommenders.internal.apidocs.rcp" does not match the expected package """. So i am not sure if just copying the folder into the project works as well. I am using eclipse Luna.

thanks
jj
Re: Using Maven to import Jayes Bayesian Network tool code [message #1507558 is a reply to message #1507356] Thu, 11 December 2014 18:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33070
Registered: July 2009
Senior Member
I think the recommenders folks might have Oomph setups for provisioning
there sample projects.

https://wiki.eclipse.org/Eclipse_Oomph_Installer

But if not, you should post your question their newsgroup. (Personally I
find the fact that they've not committed their .project files annoying
and makes it much more complex to import their projects into Eclipse,
and you've found out, but at least if they have an Oomph setup, the
complexity is hidden.)


On 11/12/2014 3:56 PM, jawann jefferson wrote:
> Hi Ed thank you for your response,
>
> I am getting the code from the Eclipse Recommenders site. It is source
> code for Jayes Bayesian Network tools. I want to use the code to build
> a simple Bayes network for class. I need to get it into eclipse,
> without errors, so i can use it. On the site it says you can use maven
> to integrate it into your build. So i tried to start a new Maven
> Project in which it asked me to choose a new archetype. That ended up
> going no where so then i tried copying the entire folder(package?)
> over to a project i created called FF. It copied over but now it has
> errors in two folders. The error states "The declared package
> "org.eclipse.recommenders.internal.apidocs.rcp" does not match the
> expected package """. So i am not sure if just copying the folder into
> the project works as well. I am using eclipse Luna.
> thanks
> jj


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using Maven to import Jayes Bayesian Network tool code [message #1507660 is a reply to message #1507558] Thu, 11 December 2014 20:46 Go to previous messageGo to next message
jawann jefferson is currently offline jawann jeffersonFriend
Messages: 10
Registered: December 2014
Junior Member
Thanks Ed for the reply,

There is a pom.xml file. Can i do anything with that?


thanks
jj
Re: Using Maven to import Jayes Bayesian Network tool code [message #1508162 is a reply to message #1507660] Fri, 12 December 2014 06:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33070
Registered: July 2009
Senior Member
It's best to ask the recommenders guys. I know I spent quite a bit of
time getting Oomph to work for their project so I know it's rather
tricky to get the maven integration to do the right magical things. But
now of these are really JDT questions so you won't get help here.
Better to ask the recommenders guys to recommend the best way to get
their examples/demos into a workspace.

On 11/12/2014 9:46 PM, jawann jefferson wrote:
> Thanks Ed for the reply,
>
> There is a pom.xml file. Can i do anything with that?
>
>
> thanks jj


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using Maven to import Jayes Bayesian Network tool code [message #1508533 is a reply to message #1508162] Fri, 12 December 2014 13:47 Go to previous message
jawann jefferson is currently offline jawann jeffersonFriend
Messages: 10
Registered: December 2014
Junior Member
Thank you
Previous Topic:Could not find main class
Next Topic:JSP Web App, migrating from Borland JBuilder 6
Goto Forum:
  


Current Time: Tue Feb 20 23:39:48 GMT 2024

Powered by FUDForum. Page generated in 0.02550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top