Openbravo source code errors - java-ee-6

Hi i am new in Openbravo development and trying to configure it.
I have checkout the source code of openbravo form
Openbravo
and run successfully ant istall.source and find BUILD Successfully message in command prompt.
So I import it in Eclipse but the main Openbravo project has shows errors in source files
i.e it has some missing libraries and folders e.g:
import org.openbravo.client.application.process.BaseProcessActionHandler can't find the folder
and many other such libraries.
Please help me to resolve this errors.
Thank you in advance.

You have a detailed information in the wiki documents. Consider the following links for setting up Openbravo in eclipse IDE.
Set up in Eclipse IDE
Here is a page from Openbravo's Developer guide

Related

How to solve Junit.jar library missing error in eclipse for openbravo

Imported openbravo in eclipse.
Everything is working fine except showing one error on main openbravo project, it shows missing required library junit.jar
I tried by deleting jar file and adding downloaded jar file but it gave lot of errors.
Why it happened ?
What is the solution ?
Execute "ant setup" before running "install.source" and import into Eclipse.
Ant setup process will add "org.eclipse.wst.common.component" under .settings folder,.classpath and it will solve 99% of issues during import.
http://wiki.openbravo.com/wiki/Installation/Custom/Openbravo_Setup

Weka in Eclipse (for my Google App Engine)

I have never used Weka, but for my GAE Project I'm going to need it. I checked jar files on Weka website to use in Eclipse but I'm not sure which one should be downloaded. So I checked another web site and there are lots of jar files about Weka. I'm looking for a basic version of it. Could you please tell me which one is best for me. Here the links for download:
http://grepcode.com/snapshot/repo1.maven.org/maven2/nz.ac.waikato.cms.weka/weka-dev/3.7.5
http://www.cms.waikato.ac.nz/ml/weka/
All files of Weka:
http://sourceforge.net/projects/weka/files/
Thank you.
You should download all project, then build it by maven.
You can use SVN to checkout code from this link:
https://svn.cms.waikato.ac.nz/svn/weka/trunk/weka

installation "objectaid" feature for eclipse

i try to install the feature of diagram - "objectaid" for eclipe ..
i do all the instruction in the mannual in http://www.objectaid.com/installation and during the installation i get the error -
Unable to read repository at http://www.objectaid.com.
Unable to read repository at http://www.objectaid.com.
http://www.objectaid.com is not a valid repository location.
i checked all the prerequisites needed like GEF (Graphical Editor Framework) and it was ok .
thanks in advance .
It looks like the update site is a legacy update site. I do not know if they are still supported by Eclipse.
Your best bet is to download the zip of the feature, which you can find here:
http://www.objectaid.com/update/
And then unzip it into your eclipse/dropins directory.
The ObjectAid update site does work. I recently added ObjectAid successfully to my Eclipse Mars. I compiled the steps here. You can try it out. Also, make sure there's no firewall or network issue when you try it.

Automate Tomcat adding to Eclipse

I'm trying to write a script (Perl) that will automate the adding of Tomcat server for a Java project under Eclipse.
The project is checked out via SVN, and I want, once the project is downloaded via SVN, to run a script that will automatically configure the remaining bits of the project. In this context, I need to find how can I edit which Eclipse's configuration files to automate the adding of a Tomcat server. Actually the script will also modify other configuration files, but I'm facing a hard time trying to find which files to edit and how to add Tomcat.
Any insights will be welcome, thanks in advance.
There is a plugin for eclipse called Escripts. You can create xml like scripts to automate actions like doing wizard actions. I tried to check the documentation, but the homepage of the Escripts is giving back http 500 for me (http://escripts.sf.net). I have written a mail to the author, if he answers, I will let you know. The update site looks like working (uncheck the categorize by groups to see the uncategorized plugin): http://escripts.sf.net/updates .
Some examples you can found at http://escripts.svn.sourceforge.net/viewvc/escripts/trunk/net.sf.escripts.tests/src/net/sf/escripts/tests/
What you should enter in the script is a wizard with id org.eclipse.wst.server.ui.new.server. The plugin, that is containing it is org.eclipse.wst.server.ui. Take a look at the plugin.xml in that plugin. Without the documentation, this is what I can remember of.
Have you tried the following files in the Eclipse workspace?
.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.jdt.core.prefs
.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.jdt.launching.prefs
.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.wst.server.core.prefs
.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.jst.server.tomcat.core.prefs
I took the following files and dropped them into a new instance of eclipse and it created the Tomcat server under Server->Runtime Environment.
http://dl.dropbox.com/u/9591144/StackOverflow/org.eclipse.jdt.core.prefs
http://dl.dropbox.com/u/9591144/StackOverflow/org.eclipse.jdt.launching.prefs
http://dl.dropbox.com/u/9591144/StackOverflow/org.eclipse.jst.server.tomcat.core.prefs
http://dl.dropbox.com/u/9591144/StackOverflow/org.eclipse.wst.server.core.prefs

Eclipse: Import Maven project, missing maven-gae-plugin

Coming from Visual Studio, I'm pretty new to the Eclipse IDE.
And finding it very difficult. I seem to get error messages of the type "missing ..." a LOT.
The latest issue I'm having, where I just can't get around is this:
I"m trying to compile & run this sample project: http://code.google.com/p/gwtgae2011/
When I choose "checkout maven projects from SCM" my SCM drop down is empty...
So I just checked it out with Hg manually. No problem.
Trying Import > Existing Maven Project. Seems to read the pom.xml alright, but shows an error:
"No marketplace entries found to handle maven-gae-plugin:0.8.1:unpack in Eclipse. Please see Help for more information."
Since I can't find it through updates or market within eclipse I downloaded maven-gae-plugin (http://code.google.com/p/maven-gae-plugin/downloads/list). I figured just dropping it into the "plugins" or "dropins" folder should be enough. Apparently not so...
Question: How do I fix this error?
(I tried both 3.6 & 3.7)
Links to some good eclipse tutorials covering these kinds of topics are very welcome too!
THANKS!
maven-gae-plugin is in central repo so it should be found.
Did you set the path to your local repo? http://united-coders.com/phillip-steffensen/maven-2-part-3-configuring-eclipse-for-apache-maven-2-projects
I ran into this error, what worked for me was:
Comment the plugin
Import into eclipse
Uncomment the plugin
Discover an error in the plugin XML
Fix error found in the plugin XML
I am not certain, but it seems like this is a unclear error that something about the pom.xml is invalid.