- This topic has 4 replies, 3 voices, and was last updated 17 years, 7 months ago by d_pavel.
-
AuthorPosts
-
aozgunMemberHi,
How do we upgrade the XFire 1.2.2 that comes with MyEclipse installation to XFire 1.2.4? Is there a way to do this or do we have to wait a minor release to My Eclipse 5.1.0 GA that incorporates the XFire upgrade.
thanks,
ali.
Riyad KallaMemberAli, our next release will have the upgraded libs but if you need to upgrade those libs manually you can go to Window > Preferences > MyEclipse > Project Capabilities > Web Services – XFire and adjust the JARs that actually comprise the build path containers we use.
d_pavelMemberHi All,
I am using MyEclipse Enterprise Workbench Version: which incorporates the same XFire 1.2.2.
The latest XFire is 1.2.5 but the fixes from 1.2.4 are really important.I want to upgrade the XFire as well but to perform a manual adjustment of the JARs as support-rkalla suggested is not a easy thing to do because the structure of the JARs are not the same (like for example eclipse XFire plugin versus myeclipse incorporated XFire libraries); from the original XFire download website we can get a “xfire-all-1.2.5.jar” which represents a Jar of all XFire modules but is not structured in different jar components like in MyEclipse structure is (more precise XFire 1.2 Core Libraries, XFire 1.2 HTTP Client Libraries, XFire 1.2 JAXB2 Libraries etc)
The regular eclipse plugin uses the same “xfire-all-1.2.4.jar” available for download but I don’t know from where you can get the jars in the structure incorporated in myeclipse…. Now I observed posts from people that adjusted the JARs and run into problems so I preffer not to do that if possible.The MyEclipse 5.5.0 M2 incorporates the XFire 1.2.4
Now there is a known issue but we can pass that:XFire 1.2.4 Library Upgrade
* The XFire libraries were upgraded from 1.2.2 to 1.2.4. All existing XFire projects will be automatically upgraded to use the new libraries. However, if you had previously customized the XFire libraries shipped with MyEclipse, the upgrade will not be automatically performed and your projects will remain in a non-compilable state. To correct this situation, please go to Window > Preferences > MyEclipse > Project Capabilities > Web Services and select “Restore Defaults” to complete the upgrade.
So please can anyone tell me how can I upgrade from ‘MyEclipse 5.1.1 GA’ to ‘MyEclipse 5.5.0 M2’ ?
I couldn’t find any reference to that in the online help documentation …. or the only way is to install MyEclipse 5.5.0 M2 separately from scratch? Is it safe to work with a 5.5.0 M2 in a production environment ?Thanks in advance
Riyad KallaMemberI couldn’t find any reference to that in the online help documentation …. or the only way is to install MyEclipse 5.5.0 M2 separately from scratch? Is it safe to work with a 5.5.0 M2 in a production environment ?
Yes you are correct, the way to do it is to download the All-In-One installer and install it to a new directory using that and open your existing workspace to continue working.
While we haven’t encountered any show-stoppers internally while testing, I cannot recommend it for production use because it is a milestone (beta) release and I’d hate to get you in a position where you were stuck.
As far as upgrading the libraries, the organization we do for the XFire and other large-frameworks like Spring, is to partition them off to help make managing them a little bit easier.
What you *could* do is just remove all the MyEclipse XFire libraries from your build path, and go drop the 1.2.5-all JAR into your WEB-INF/lib directory instead.
d_pavelMemberHi,
Thanks a lot for the answer I appreciate it.
Now I tried that (droped the 1.2.5 jar into the lib directory and removed the original XFire libraries from the path) but it doesn’t work. First there are errors (like it can not reference certain libraries in the wsdl4j jar which are really important ~ even if the new 1.2.5-all jar was correct on the build path and it was containing an updated wsdl4j-1.61.jar) and second even after reset the defaults , create a new project when I try to create a client for a web service the GUI tool still references the old XFire libraries in the way they were structured and partitioned in the MyEclipse 5.1.1 version ….
Just to let anyone know in case of trying something similar.
So the only way is to install the 5.5.0M2 , because otherways we run into issues trying to update xfire libraries.
But I decided to work with 5.1.1 and wait for the next MyEclipse GA release, is safer, hopefully will contain an upgraded xfire…Now I wanted to update xfire because of these:
XFire 1.2.4 contains many bug fixes since 1.2.3:
* Remove two usages of Java 5 specific methods in non Java 5 code
* Upgraded to Woodstox 3.2.0
* Fixed WSDL4J 1.6 compatability error
* Several WsGen fixes
* Allow embedders to listen for errors in WsGen via their own ErrorListener
* Support for non proxy hosts on Java 5Last question: my concern is about last point “Support for non proxy hosts on Java 5” – any taughts about this point ?
Thanks again,
Dragos -
AuthorPosts