How to install Axis2 plug-in to Eclipse (for Android dev)? - eclipse

I got my Eclipse (Indigo Service Release 1, Build id: 20110916-0149) installed and running for Android development. Now, I want to consume a WCF WebService (wsdl) in my Android app. As I learnt, this can easily be done using Axis2 plug-in for Eclipse. However, I had hard-time to install the Axis2 plug-in.
I understand there are similar questions already asked, but I couldn't make it work using all the suggestions, and there is no accepted answer either. That's why I created this new questions. It would be nice if somebody can tell which version is working one? or how to make the latest (1.6.1) work?
I do not understand the plug-in installation processs in Eclipse. I see p2 folder in my local drive under Eclipse, so I assume I could just extract the download to dropins folder, right?

#Andreas Veithen
Thanks for your answer buddy. The 1.6.1 version was driving me nuts. I tested it both in a Mac and a Windows machine and the result was the same. It just would not work. I took your advice and got the 1.6.2-SNAPSHOT version and it shows up just fine now.
#miliu
No matter which version you are looking for, you need to get the Axis2 eclipse codegen plugin.
Here is the link to the page where you can find the 1.6.2-SNAPSHOT version:
https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/
Download the axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar at https://builds.apache.org/job/axis2-1.6/lastStableBuild/org.apache.axis2$axis2.eclipse.codegen.plugin/artifact/org.apache.axis2/axis2.eclipse.codegen.plugin/1.6.2-SNAPSHOT/axis2.eclipse.codegen.plugin-1.6.2-SNAPSHOT.jar and drop it in your dropins folder. The latest version of Eclipse should already have a dropins folder after you extract the downloaded archive. You should now see the Axis wizards in Eclipse after restarting.

The above answers were not easily understood so I'm adding this for anyone reading this in the future.
Taken from the Axis2 website:
Download the ZIP file for the plugin you want to install.
Extract the content of the plugins folder in the ZIP archive into the dropins folder (i.e. do not create a plugins folder under dropins).
Ps: Get the 1.6.2 version from this link

The 1.6.1 version has a bug and doesn't work. Use 1.6.0 or 1.6.2-SNAPSHOT (which can be downloaded from here) instead.
All recent versions of Eclipse use p2. You need to put the JAR files into the dropins folder.

Related

Manually installing SVN plugin in Eclipse Helios on RedHat

The exact OS I'm using is RedHat 6.5 Enterprise, 32 bit. I believe Eclipse was installed using yum.
I have tried multiple URLs to try to install an SVN plugin using Eclipse's Help->Install New Software function, including this one: http://subclipse.tigris.org/update_1.10.x, which I found here: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
Eclipse installed the plugin successfully, but whenever I start Eclipse, the plugin is nowhere to be found. I tried starting Eclipse with the -clean option, and that isn't doing anything.
Therefore, from the site I linked above, I downloaded the .zip file of the plugin from here: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240. The exact file I downloaded is site-1.8.22.zip.
I had this same problem in the past with Mercurial where installing from Help->Install New Software didn't work, so I downloaded that jar (for some reason there is only one jar for Mercurial but for SVN there are many plus some directories?). I then put that jar in /usr/share/eclipse/dropins/plugins (I had to create the plugins directory). That worked. However, when I put all of the SVN jars in there, SVN is not showing up in Eclipse. I have tried many different combinations of putting only some jars in there, creating folders, etc. Again, I have been using -clean when starting eclipse, and that's not making a difference. I truly think the plugin isn't being put in the right spot because I can move the Mercurial plugin I have installed in and out, and it shows that correctly in Eclipse each time. For reference, the Mercurial jar I'm using is: com.vectrace.MercurialEclipse_2.1.0.201304290948.jar
I also noticed that /etc/eclipse.ini has this line in it, which should say where to look for plugins: -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
So I have some questions:
Where do I put all of these SVN jars and folders that I downloaded?
Why does the Mercurial one only have one jar and the SVN have a whole bunch? I'm just curious why the developers would package these completely differently because maybe this means there's a single SVN jar out there that I could use and just have it work.
I also found a /usr/lib/eclipse folder, and there are also plugin and dropin folders in there. Why are there multiple Eclipse directories for plugins?
I believe I was using the wrong version of java. I downloaded the latest version of Eclipse, and that required me to update my java version in order to run it. I updated to 1.8 (was using 1.6). I think the latest Subclipse plugin requires something at least higher than 1.6. There were no warnings or error messages to let me know about this, so that's why it was difficult to figure out.
Once I started using the new Eclipse and Java 1.8, I was able to easily install and use Subsclipse using Help->Install New Software.

jsuml is working with my eclipse IDE

I downloaded jsuml-eclipse-0.8.4 from http://jsuml.gaertner-network.de/.
I put all the plugin jars in eclipse plugin folder and start eclipse in clean mode. Still i am unable to see the plugin in plugin installed in eclipse --> preferences --> plugin.
I am using eclipse helios on mac with snowlapord OS.
If any one know some good code to UML diagram in javascript please suggest.
Regards
Mahaveer
At least you should ensure you use Eclipse 3.7.1 (Indigo). Newer versions wont work so far since some incompatibilites have brought in but the plugin was never adapted to that.
I managed it to get jsuml working, although I'm still not able to parse my .js files in.

I cannot install eclipse jaxb builder plugin

I am currently working with a product that is built onto Eclipse version 3.4.2.
I am trying to install the jaxb builder plugin, but it is not working.
So far I have tried:
Unzipping the folder into the Eclipse plugins folder and then restarting Eclipse
The restarting Eclipse using the -clean flag
Unzipping the folder into the product's (built onto Eclipse) plugin folder and then restarting with and without -clean
Unzipping the folder into the dropins folder and then restarting Eclipse
I think that it may be possible that this version of jaxb builder doesn't support my version of Eclipse, but I can't figure out how to find that information. I tried emailing the address on the "Contact Us" page, but it came right back to me.
Is it possible that the product has been discontinued? How can I find out?
Discontinued? I don't know but the last build is from 2011-05. It's built against Eclipse 3.4 (see plugin.xml). What do you mean be "not working"? Exceptions? Entries in Eclipse error log/view?
Turns out it was the application's fault. I'm not exactly sure what the problem was, but when I did the exact same thing in a regular Eclipse environment, it came up with no issues.
I will edit if I get more information.

How to add Service archive generator and code generator plugin in Eclipse

I have downloaded Service archive and code generator wizard plugin for Eclipse (From http://axis.apache.org/axis2/java/core/tools/index.html). I am following steps mentioned here http://axis.apache.org/axis2/java/core/tools/eclipse/plugin-installation.html.
I extracted the content of plugin folder into dropin folder but not able to see Service archive or code generator wizard.I tried copying all content into Plugin folder but no luck.
How can we add this two plugins ?
PS: I am using Eclipse Helios.
~Ajinkya.
I'm assuming you're using the latest version (1.6.1) of the plugins
There's an open apache issue for a problem loading the plugin
https://issues.apache.org/jira/browse/AXIS2-5145
Altho this is for Indigo it might be the same problem you're having (just check)
If that's the case I'd either wait for a fix or try an older version of the plugins (I'm using 1.5.4 which works just fine)

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.