Backporting Struts 2 to JDK1.4 or JDK 1.3 using Retrotranslator

Struts 2 framework and its dependencies available currently are compiled using JDK 1.5 and if you want to use same framework on JDK1.4 then you will require to backport these jars. Struts 2 framework core jars and its plugin jars can be translated to JDK 1.4 or 1.3 using Retrotranslator utility.

Retrotranslator is a open source project which does this translation.

You can read more about this on http://retrotranslator.sourceforge.net/

Here are the steps to create the backport jars for JDK 1.4 or JDK 1.3

1. Download Struts 2 - Alternative Java 4 JARs: from http://struts.apache.org.
This also contains the retrotanslator jar files

2. Unzip the downloaded file, this should create backport folder containing core jars, and retrotranslation jar files.

3. Now copy all your Struts 2 Jars (including dependancies) to a folder say (Struts2-1.5)

4. Create another folder for converted jar files say (Struts2-1.4)

5. Run below command for each jar in the Struts2-1.5 folder

java -jar retrotranslator-transformer-.jar -advanced -srcjar Struts2-1.5/struts2--.jar -destjar ./Struts2-1.4/struts2--.jar


Note: Replace the & tokens with appropriate jar values.
Here are commands for struts 2.0.11.2 backporting

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-core-2.0.11.2.jar -destjar Struts2-1.4/struts2-core-j4-2.0.11.2.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/xwork-2.0.5.jar -destjar Struts2-1.4/xwork-j4-2.0.5.jar 

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-codebehind.jar -destjar ./Struts2-1.4/struts2-codebehind.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-core.jar -destjar ./Struts2-1.4/struts2-core-1.4.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-spring.jar -destjar ./Struts2-1.4/struts2-spring.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-pell.jar -destjar ./Struts2-1.4/struts2-pell.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-plexus.jar -destjar ./Struts2-1.4/struts2-plexus.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-struts1.jar -destjar ./Struts2-1.4/struts2-struts1.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-jsf.jar -destjar ./Struts2-1.4/struts2-jsf.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-sitegraph.jar -destjar ./Struts2-1.4/struts2-sitegraph.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-sitemesh.jar -destjar ./Struts2-1.4/struts2-sitemesh.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-tiles.jar -destjar ./Struts2-1.4/struts2-tiles.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/struts2-config-browser.jar -destjar ./Struts2-1.4/struts2-config-browser.jar

java -jar retrotranslator-transformer-1.2.2.jar -advanced -srcjar Struts2-1.5/xwork-2.0.5.jar -destjar ./Struts2-1.4/xwork-2.0.5.jar




6. This should create all your jars which are required for JDK 1.4.

7. Make sure you delete all JDK 1.5 compiled jars from your application lib and replace it with translated jars for JDK 1.4. Keeping both may create unknown issues.


Retrotranslator is not limited to backporting the Struts 2 framework. Its a utility which can be utilized for backporting any JDK 1.5 compiled code to JDK 1.4.

Backporting Struts 2 to JDK 1.4, Back porting Struts 2 to JDK 1.3, Back Porting example, Backporting using retrotranslator, Backporting Struts 2 using Retrotranslator, retrotranslator for struts 2, backporting all struts 2 plugin, struts 2 back port example

615 Post Comment

«Oldest   ‹Older   601 – 615 of 615   Newer›   Newest»
davidsmith9 said...

Our team of professionals that provide you services of Take My Online Exam For Me are dealing with online exams for more than 10 years. Our experts work day and night in order to bring out the results of your demand. We provide our talented experts for all sorts of subjects to Hire Someone to Take my Online Exam.
Take My Online Exam For Me

Unknown said...

this site is very good and very interesting visit also site
agen poker

ksjy88 said...

If you desire to increase your know-how simply keep visiting this site and be updated with the newest news posted here.

토토
바카라사이트
파워볼
카지노사이트

mod space said...

Greetings! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information to work on.

토토
스포츠토토
토토사이트
먹튀검증

maps google said...

I seriously love your blog.. Excellent colors & theme. Did you build this website yourself? Please reply back as I’m planning to create my own website and would like to find out where you got this from or exactly what the theme is called.

사설토토
온라인카지노
파워볼사이트
온라인바카라

sam said...

I have read your article, it is really interesting and has lots of useful information. We are most trusted chevy dealership peoria il, where you can find new or used Chevrolet models.
Visit here - Chevy Dealership Peoria Il

Unknown said...

this site is very good and very interesting visit also site
Judi Bola88
Judi Bola88

sam said...

Thanks for Sharing this Valuable Information with us: this is very useful for me. Keep it Up. Trending Blogs India 2021, Most Popular Blog Topics India 2021, Trending Topics in India 2021
Visit here - india china latest news today

Chicks in Dubai said...

Independent Escorts in Dubai is the right decision. the top Dubai Escorts at your one Click. Log on to us for entertainment

saeedrazan said...

تعمیرات مبل در منزل، کار را برای شما راحتتر می کند و شما می توانید به راحتی مبل های خود را که به مرور زمان آسیب دیده و مستهلک شده اند را ترمیم کرده و مبل های فرسوده و آسیب دیده خود را تبدیل به مبل نو با سلیقه خود شما شود، که در ادامه بیشتر توضیح خواهیم داد که چطور با تعمیر مبل، رنگ و بوی جدیدی به دکوراسیون و طراحی داخل منزل خودتان به وجود آورید.
توجه کنید که تنها برای تعمیرات جزیی مثل شکستن پایه مبل یا تعویض پارچه مبلی که پاره شده و نیاز به رفو مختصری دارد میتوان تعمیر مبل در منزل انجام گیرد.
اگر سطح آسیب دیدگی و خرابی مبل ها بالا باشد امکان تعمیرات مبلمان در منزل وجود نخواهد داشت و باید به کارگاه یا نمایندگی تعمیر مبل منتقل شود.

تعمیر مبل در تهران
تعمیر مبل چرم

saeedrazan said...

لوله بازکنی
لوله باز کنی تهران

biochemistry21 said...

I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites. Thank You. Status moj whatsApp

Berita Bola said...

This article is very interesting and gives a little information and don't forget to visit the site
Berita Bola

Manila said...

I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

Visit Web
Lovec.info
Information

Unknown said...

This article is very interesting and gives a little information and don't forget to visit the site
Idn Poker Slot

«Oldest ‹Older   601 – 615 of 615   Newer› Newest»

Post a Comment

Search Web......