Installing Drools Planner in Eclipse - 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.

Related

Eclipse Oxygen | Installed Drools plugin doesn't show in perspective

I have installed Eclipse Oxygen . I tried installing Drools 7.3.0 in my eclipse.
When i try to install i get below scenario.
Prior to this i had installed and used drools in Eclipse Luna.
I checked the installed software tab in the below path:
Help-->About Eclipse-->Installation Details
I can see the Drools plugins installed . Sharing the image from my eclipse.
When i checked on goole , i saw the similar problem mentioned here. I checked and tried the options mentioned to no use. I cannot run it as admin , however i have all rights for the folder in which it is installed.I cannot see Drools in the perspective as a result of which i cannot create a Drools project.
Is it because of any bug in Oxygen which i am unaware of ? Or am i a missing a thing.
I have Java 8 on my system.
This doesn't look as if you have the plugins installed.
You have to download the zip file from drools.org/download/download.htmlgiven under the heading Drools and jBPM tools. This expands into a directory droolsjbpm-tools-distribution-x.y.z.Final with a subdirectory ./binaries//org.drools.updatesite. Follow the instructions in ./ReadMeDroolsJbpmTools.txt. This should install 7 plugins
org.drools.eclipse
org.guvnor.eclipse.webdav
org.guvnor.tools
org.jboss.tools.runtime.drools.detector
org.jbpm.eclipse
org.kie.eclipse
org.kie.eclipse.navigator

How to install Drools plugin in Eclipse Indigo IDE

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

EclipseFP on Indigo, issues with Maven?

I'm trying to install EclipseFP, using the usual Eclipse "Install new software" approach. However, at the "Installation Details" window, it says "This operation cannot be completed", giving me the following details:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1316138547364
(SharedProfile_epp.package.java 1.0.0.1316138547364)
Missing requirement: Shared profile 1.0.0.1316138547364
(SharedProfile_epp.package.java 1.0.0.1316138547364)
requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]'
but it could not be found
I just barely downloaded a fresh Eclipse:
Eclipse IDE for Java Developers
Version: Indigo Service Release 1
Build id: 20110916-0149
Does EclipseFP actually work on Indigo? Do I need to download an older Eclipse? Or perhaps there are additional steps I need to take to install Maven? (I don't want to download/install Maven if I don't have to.)
Since Kane neglected to turn his comment into an answer, I may as well state it plainly here:
This issue arises when you put the Eclipse folder in a location where Windows will have issues with access control (e.g. the Program Files folder). By moving the folder to my personal user's folder, I was able to use Eclipse normally without this issue.

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)

Installing eclipse Web Tools Platform (WTP) - update site does not work?

I'm trying to install the WTP (web platform tools) to my Eclipse installation so I can get the XSL transformations working. The base Eclipse they installed for me here was the plain Java IDE (the splash screen says "Ganymede" if that means anything). Looking at this site, the URL to get the download should be here: http://download.eclipse.org/webtools/updates/ ...But when I give that URL to the Eclipse update manager, I get an error telling me: "No repository found at http://download.eclipse.org/webtools/updates/"
Anyone else had this problem? Anyone know what might be up? Anyone know how to get the xsl-transform plugin installed?
EDIT:
I should have mentioned before that I want to find a way to do this without installing any new instances of Eclipse. This process will eventually be sent to several other developers who already have Eclipse (same version that I'm testing with) and I'd rather just do an in-place upgrade rather than have everyone go and install a new product.
UPDATE:
I found another plugin, Xcarecrows 4 XML which can also do XSL transforms. The interface is ugly and seems more than a little quirky, but it's also a small download, and at least it runs and transforms. Unless I can find an easy way to get WTP working, I'll probably just stick with this.
You can try and install WTP through the main Ganymede update site:
http://download.eclipse.org/releases/ganymede/
Or you can download the latest Java EE bundle and use that instead of your current Eclipse
(do NOT unpack it on top of your current Eclipse, but unpack it elsewhere, to test that second installation: it will come with WTP inside)
Note: check then "How do I start Eclipse" to point to your existing workspace in order to see all your previous project in your new Eclipse installation.
As mentioned in your link, XSL Tools is now part of WTP (for Eclipse 3.5 Galileo), and that may explain why your Eclipse Ganymede (3.4) might not interpret correctly the P2 update site for WTP (P2 being the new Eclipse provisioning mechanism introduced late in the 3.4 release cycle)
For Eclipse 3.5, you have an XSL Tools installation illustrated here:
But Eclipse3.4 is more likely to be compatible with XSLT0.5 and you will need a separate installation, because "XSL Tools" wasn't yet part of WTP.
I am not sure, however, where to find such an installation package within the Eclipse projects.
Use the following update site :
For Juno :
http://download.eclipse.org/webtools/repository/juno/
For Indigo :
http://download.eclipse.org/webtools/repository/indigo/
I'm assuming you don't have any firewall exceptions for Eclipse right?
The site for the WTP update is indeed the one you've listed. Maybe post a screenshot? You've added it specifically to your remote update site list?
Either way try a manual update which should be more reliable and get you up and running for now.
All-In-One Update (Eclipse IDE included):
Go to the Eclipse Download site.
Grab the all-in-one package: Eclipse IDE for Java EE Developers
Install, have a coffee and enjoy. (WTP is included)
Manual Update your existing installation of Eclipse:
Download the applicable WTP source package to your desktop
Shutdown Eclipse
Extract the package to your Eclipse installation directory
Startup Eclipse. (WTP is now available)
Follow the steps in the FAQ at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .
Are you behind a proxy? If so, you need to make sure you configure your proxy settings in Eclipse.
Window > Preferences
General > Network Connections
Ok, I can probably get it working if I do a clean install of Eclipse. I can do that on my machine, but not the other team members' machines (at least not without going through many emails and paper work) so I'm going to say that XCarecrows 4 XML is the solution. It is able to do XSL transformations in Eclipse 3.4 and doesn't require anything else to be installed. Since XSLT is all I need, the plugin will do.
you can use the marketplace:
https://marketplace.eclipse.org/content/eclipse-java-ee-developer-tools-0
like the site says:
Drag to Install!Drag to your running Eclipse Workspace.