How to install Drools plugin in Eclipse Indigo IDE - drools

How to install the drools plugin in eclipse and how to use it.Anyone has an idea.

I don't know much about how to use it, but to install it as an eclipse plugin, this should work:
Start Eclipse
Help -> Install New Software
In the Work With: or Site: input field, enter: "**http://download.jboss.org/drools/release/`<VERSION>.Final/org.drools.updatesite/**", replace "`" with appropriate version and click the "Add" button
For the Name you can just enter "Drools"
Check the Drools and jBPM checkbox and follow the instructions to get it installed.
Master the Boss http://www.mastertheboss.com/ has some tutorials on how to use it as well
The Drools downloads page is at: http://www.jboss.org/drools/downloads

Related

CodePro Analytix: Where to find the plugin

I need to set up CodePro Analytix plugin . But the link http://dl.google.com/eclipse/inst/codepro/latest/3.6 is not opening.
Please help me out. is there any other way to install CodePro Analytix or is there any other tools which does same functionality.
That is an Eclipse update site, you can't open it in a web browser.
Instead you install it from Eclipse by opening 'Help > Install New Software...'. In the 'Work with:' field enter the update site URL for example https://dl.google.com/eclipse/inst/codepro/latest/3.7 which still works with Eclipse Oxygen.
Eclipse will then show you what can be installed from the update site.
Note: This code does not appear to have been updated for a while.
You can install it from Eclipse Marketplace: https://marketplace.eclipse.org/content/codepro-analytix
But be careful, it's outdated and doesn't work with Juno or higher versions of Eclipse.

Installing Findbugs plugin for MyEclipse

I am trying to install Findbugs plugin for MyEclipse 6.0.1 using follwing steps:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases and click OK.
"FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish.
As soon as I click Finish eclipse shows me error saying "No features found on selected sites".
Can anyone plz tell me how should I proceed for Findbugs plugin inatallation in MyEclipse v6.0.1.
MyEclipse 6.6 is based on eclipse 3.3, so I assume 6.0 is also based on eclipse 3.3. That version of MyEclipse is now unsupported. However, you might be able to download the Findbugs plugin from here (which also list several update sites) and install it manually. I don't recall how to add plugins manually to eclipse 3.3 but there is probably a section in the help that comes with MyEclipse.

Installing Drools Planner in Eclipse

I am almost a newbie in Java technologies (exluding programming foundation at school). But I am interested in NP problems and I want to have a look into Drools Planner.
So I am trying to install Drool Planner following this tutorial.
Steps:
installing Eclipse (at least 3.4.*): done, version: 3.4.2 already installed in
my computer (Windows XP PRO, ok, it's my old good donkey).
installing GEF: done
installing Drools plugins: FAILED.
I have downloaded and unzipped the archive into my Eclipse root directory. The tutorial states that restarting Eclipse after unzipping the archive in the proper directory should have enabled Drools Perspective.
But no Drools perspective is available.
Where am I wrong?
That's the Drools Expert documentation.
Instead, follow this section of the Drools Planner documentation. That section and the following section 1.4.2. Run the examples in an IDE (IntelliJ, Eclipse, NetBeans) should have you running a Drools Planner example in Eclipse in no time.
Installing the drools-eclipse-plugin is completely optional, although it's handy to have code completion when editing DRL files. Either way, focus first on get the examples running.
In newer versions of Eclipse (>= Indigo) and Drools (>= 5.5) both tutorials don't work. Wether installing Drools by update-site nor by Eclipse Marketplace nor by extracting downloaded zip file.
The only solution that worked for me:
First steps like stated in tutorials
1. Installing GEF using "install new software"
2. Installing Drools packages using "install new software"
Now no Drools features appear in eclipse. Thus:
Close Eclipse and restart with parameter "-console"
Type "install http://download.jboss.org/drools/release/5.5.0.Final/org.drools.updatesite/plugins/org.drools.eclipse_5.5.0.Final.jar"
(On newer versions change url properly)
--> Eclipse will give you a bundle id
Type "start [bundle id]"
Eventually I followed the instructions in ReadMeDroolsJbpmTools.txt included in the droolsjbpm-tools-distribution-5.4.0.Final.zip archive:
Open Eclipse.
Open the menu "Help", menu item "Install new software..."
Click on the button "Add..." to add a new software site.
Fill in the name "drools local update site"
Click on the button "Local..." and select ".../binaries/org.drools.updatesite"
Select all the plugins. Click the buttons "Next" and "Finish".
Now I succeed in opening Drool Perspective.

I don't have "Dynamic Web Project" option in Eclipse new Project wizard

I have download the Eclipse IDE for Java developer, HELIOS. I click 'File -> New -> Project...', but I only have "General, CVS, Java project, Examples". I would like to be able to create "dynamic web project", why do I not have this option?
I searched from internet, and the reason is probably I don't have Eclipse Web Development Tools, but how can I get it?
-----------EDIT-----------
I know by install Eclipse IDE for Java EE developer can solve the problem. But, I am working under Linux Ubuntu, how to get Eclipse Java EE version for Ubuntu Linux machine?
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".
I think you need the Web Tools Platform package for this. Not very sure though. You can add it to your current eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse. This is how you can install plugins in eclipse.
"http://download.eclipse.org/releases/kepler"(If you have Eclipse Kepler)
Based on your eclipse choose above link and copy in
help>Install new software
paste in "work with" click add
give any name you want - plugin
In the list select>"Web, XML, Java EE and OSGi Enterprise Development">Eclipse Java EE
Developer Tools. select and install it.
After restart you will have your Dyanmic web project option.
Thank You.
Like me if it worked please
You only need to install
Eclipse Java EE Developer Tools
and you will be able to see "Dynamic web project" wizard.
Download Eclipse IDE for Java EE Developers, everything you need should be included inside. This is the most painless way of obtaining Web Development Tools.
If you want to leave your existing Eclipse IDE, you can go to 'Help -> Install New Software' and find WDT to install them, although I haven't personally tried to go this route, so I can't guarantee everything will work out of the box.
Edit: not sure if it's included in Ubuntu's repository. One other way to do it is to download Linux 32-bit (or 64-bit, depending on your machine) version of Eclipse EE, but you'll have to check if it's the source you have to compile yourself, or an already compiled binary.
Fwiw, I downloaded the standard Java EE version of the Mars version of Eclipse, and ran into the same deal -- didn't see a Web option if I tried File >>> New >>> Project wizard.
The good news: Probably no extra installation needed.
It looks like what I wanted was to select the Other option rather than the Project item (strangely this is what comes up when you hit Ctrl-N, but that also lets us know we're probably on the right track):
After you select "Other", you'll see the "Select a wizard" screen, where you can select "Dynamic Web Project" and profit.
HELP
Install New Software
In Work With input box paste this url: http://download.eclipse.org/releases/{version}/
Replace version with your eclipse's version (eg: LUNA)
Hit enter
Underneath box will have different options, select package of your need.
Maybe Eclipse WTP plugin has been accidently removed. Have you tried re-installing WTP using this location ? If I were you I would have reinstall Eclipse from strach or even better try Spring ToolSuite which integrates with Google Plugin for Eclipse seamlessly (usign Extenstions tab on STS Dashboard)
Just download any eclipse with "EE" letters
I had a similar problem, you may find that going to the top right corner of your page in Eclipse and click "Java EE" instead of "Java" will solve your problem. I had EE installed correctly like you, and this solved the issue for me. Hope I helped :)
Go to Eclipse --> Help
and click--->Install new software
then you can see a window ...There a click add
Then put below url in url box: http://download.eclipse.org/webtools/repository/juno/
i am having juno
if u have any other means put that name .
then click ok.
Make sure to check dynamic web app in "other section" i.e File>New>Other>Web or type in "dynamic web app" in your wizard filter. If dynamic web app is not there then follow following steps:
On Eclipse Menu Select HELP > INSTALL NEW SOFTWARE
In work with test box simply type in your eclipse version, which is oxygen in my case
Once you type in yur version something like this "Oxygen - http://download.eclipse.org/releases/oxygen"will be recommended to you in drop down
If you do not get any recommendation then simply copy " http://download.eclipse.org/releases/your-version" and paste it. Make sure to edit your-version.
After you Enter the address and press enter bunch of new softwares will be listed just ubderneath work with text box.
Scroll, find and Expand WEB, XML, Java EE .... tab
Select only these three options: Eclipse Java EE Developer Tools, Eclipse Java Web Developer Tools,Eclipse Web Developer Tools
Next, next and finish!
The easiest way to handle this is to install the full package installer with all weblogic add ons from the oracle site. This will install eclipse with all the features/plug ins you need.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-network-installer-2371168.html
This helped me find the "Dynamic web project" in Eclipse 2020-12 version. Restart the eclipse and go to file->new->other->web and you will see
project will be available.
This option might be missing because more than one and other than Tomcat runtime is selected. At the marked spot I was shown that I have selected Java JDK runtime. After unselecting it Dynamic Web Module reappeared.

adding software components to eclipse

I have an eclipse installation from the "Eclipse for PHP Developers" package and I want to "extend" it to have in addition to the PHP components all the components of "Eclipse IDE for Java EE Developers".
but the Feature Lists in the above links do not match the items I am presented when I choose "Install new software..." from the eclipse help menu.
Is there anything I can do about this?
the result of copying plugins/features into that folder is not that predictable and hence not safe. Eclipse adviced to install plugins via "Install new Software" - it will tell you about conflicts (like different plugins use different version of another plugin" etc; or you need to install another plugin etc.) Otherwise I had situations when it didn't work and I got no idea why (had to read logs to figure it out).
Well, to install new plugin you have few possibilities:
1) "Install new Software" - you already tried it. Take into account that the list of plugins by default is limited here. But below the button "Add..." you can see "Available Software Sites" - this list is enhanced, and some of plugins you can find here". UPDATE: the process of installation is described here
2) With new Eclipse (Helios) you got new way to add plugins, so called Eclipse Marketplace (Help/Eclipse Marketplace...). This is recommended way to look and install new plugins.
Back to your problem - I think it is much more easier to download Java IDE for Java EE Developers, and install PHP Development Tools there. In Marketplace I selected Yoxos as source, typed "pdt" and found plugins related to PDTs (although I'm not sure there are all parts of it)