Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting up Eclipse with JBoss tools

 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

I was trying to download the JBoss tools using the way given on this page http://www.jboss.org/tools/download/update.html. I followed all the steps given in there. But some dependency problems came up. After just discarding the ones that were troublesome. I finished the not-all update. First thing I was wondering even if I am trying the location as specified on the site. These problems are coming up.

Now after this incomplete installation many projects are not running well. This was as expected. how to do it better way. Please help. Thanks in advance. One of the errors is - After that I tried to create a new Drool Project. But the problem was that particular AJDT is not available. So how to get rid of this thing.

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That must be an old page. If you go to the Tools home page (http://www.jboss.org/tools/) and click the Downloads icon, it takes you to http://www.jboss.org/tools/download.html which has more terse, but better instructions. Also, the Getting Started Guide in the documentation has detailed instructions for installing. Finally, be very careful to correctly match the Tools and Eclipse versions!

When I install Tools, I usually install everything except BIRT support (comes up with a missing dependency). I also install m2eclipse before Tools (not sure if there is a dependency there with the Maven component provided in Tools). Anyway, if I get a dependency issue, I usually hit the Back button and unselect the offending component until I have no more dependency issues.

Oh, by the way, I never download the file and install - instead I always use the Eclipse add/update feature available under the Help menu.
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the late reply Peter - Thanks so much for your reply . I felt that Drools is not that favored Rule based engine tool.

Which eclipse you tried this out with. As I have tried with Galileo 3.5 as well as Ganymede 3.4.1. And as you told I tried the same approach of going back and removing the offending ones. But for me it was no luck. If you will say which ones you tried with that will be very helpful. In both of them I got the AJDT not working error leading to "dialectResolver error".
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just now installed Eclipse 3.5, with Tools 3.2 (using the Development Update link).

Here is what I installed:
Screenshot-Install .png
[Thumbnail for Screenshot-Install .png]
Screenshot
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great peter. I will try it once again on my system which is Windows XP. from screenshot It seems you are working on Linux OS. Will results vary on windows. Is there a chance..


Also it would be great Peter if you please have a look at this issue http://www.coderanch.com/t/458947/JBoss/setting-up-Drools-Galileo. This is related to the same issue here we are working on. But may be you will point out something else. TIA

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that screen shot was from Ubuntu - I recently reinstalled Ubuntu on my laptop and had not yet installed Eclipse so I got the screen shot from there. But I used the same settings when installing the Tools plugins into Eclipse on Windows.
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter here is the link that I am using to get to the update site http://www.jboss.org/tools/download.html

Now here first of all I am not able to see Tool3.2. I think this is the same link you are using. In case it is Tools3.1 that you are referring to I am attaching the screenshot with the link selected that I think shall be used with Eclipse 3.5 i.e. Galileo

Thanks in advance for your continuous help guys.

Tools 3.1 pic.JPG
[Thumbnail for Tools 3.1 pic.JPG]
update site to be used for Tool3.1 with Eclipse 3.5
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[i am posting this to attach this image file]

Also here is I am trying to update for m2Eclipse- but am getting AJDT compatibility error. Did you get this error in your case. If we ignore this error we willl get compiler error related to this while compiling the default Drools application.
AJDT error.JPG
[Thumbnail for AJDT error.JPG]
AJDT compatibility erro
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I installed m2eclipse I did not install AJDT support. You will get error with that unless you install the AspectJ plugins into Eclipse.
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem I posted here got resolved - problem and explanation is up next
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when trying to run the eclipse it was complaining about "Eclipse not running in JDK". I found two workarounds

I tired to run eclipse from command Prompt using
eclipse -vm C:\jdk1.5.0_04\bin

Other way I was to edit the eclipse.ini file to include -cm option. Here is init file that I am using. I am not able to understand with recent versions Eclipse shall be easier to use, that to do all these setting and struggle to make it run. May be I am saying this because I am not able to see what it means.


Even after JDK error is gone, the dependency download error is coming Do we need this to run our drools projects.


 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you install m2eclipse, and restart Eclipse, there should have been a dialog box that told you to set the -vm option in eclipse.ini. m2eclipse wants a JDK and by default Eclipse uses the JRE.
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be I overlooked it. Now we are good with that error. Thanks Peter for helping.

It would be helpful if you tell about the missing dependency packageNow that I am trying to set up the drools application (the default project) I created a Drool Runtime. But no jar was automatically copied to that directory. I manually copied these jars to that. Here is the list of jar filesNow I am getting this error in Eclipse consoleI am on Windows XP using Eclipse3.5 and JDK 1.5
 
Shashank Rudra
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution of this problem can be found at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160774 - thanks guys for taking time out and help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic