Re: Upgrading from Turbine 2.3.3 to 5.0
Michele Rabanal <[email protected]> Tue, 11 Jul 2023 21:28:14 -0400
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Georg, Thank you so much for the information! I have gotten started on = building the default project. I am having proxy issues, but I=E2=80=99m = getting help with that and will hopefully be able to generate the = project soon. Thanks! Michele > On Jul 10, 2023, at 4:25 AM, Georg Kallidis = <[email protected]> wrote: >=20 > Hello Michele, >=20 > just a first thought. You may checkout the Turbine archetype (see = below)=20 > and get first a running Turbine 5 default project and proceed from = there=20 > ...=20 >=20 > If you did achieve this first step successfully (you need Java 8 and = maven=20 > 3.x at least) update step-by-step with your custom settings = (templates,=20 > and conf-folder). Compare this new settings with your old and upgrade = step=20 > by step either in the new or in the old place.=20 >=20 > I would recommend to update in the new project settings, that is to=20 > identify your customizations (services/templates/actions) and add to = the=20 > newly generated project.=20 > You may easily restart again by regenerating it again .. On the other = side=20 > if you decide upgrading your old settings in-place - you have to = consider=20 > more intricaties, as described in the migration pages you mentioned,=20= > update to TurbineYaafiComponentService, check=20 > WEB-INF/conf/turbine-classic-pipeline.xml and all the main Turbine=20 > configuration files in Web-INF/conf. E.g. some packages have changed, = most=20 > importantly e.g.=20 > = services.RunDataService.default.parameter.parser=3Dorg.apache.fulcrum.pars= er.DefaultParameterParser,=20 > of course you need the new pom.xml .. >=20 >=20 > A description of how to start with Turbine archetype is described in = the=20 > Turbine project pages, = https://turbine.apache.org/turbine-concepts.html#. >=20 >=20 > mvn archetype:generate >=20 > then filtering with=20 >=20 > org.apache.turbine:turbine-webapp-5.0 > or > org.apache.turbine: >=20 > and select e.g. >=20 > remote: org.apache.turbine:turbine-webapp-5.0 >=20 > Read also=20 > = https://github.com/apache/turbine-archetypes/blob/master/src/main/resource= s/archetype-resources/docs/README.md=20 > or https://github.com/apache/turbine-archetypes/tree/5.0-1.0.3. >=20 > You need to upgrade all component versions you mentioned >=20 > Turbine 2.3.3 > Maven 1.1 > Torque 3.3 > Velocity 1.5 >=20 > You need at least Java 8, Maven 3.5. Turbine 5 uses Torque 4 and = Velocity=20 > 2.0. >=20 > Last but not least, you may take advantage from the fact that all old=20= > subversion code is migrated to git, that is you could easily and = quickly=20 > compare and checkout all versions in github! >=20 > https://github.com/apache/turbine-core=20 >=20 > For further background use https://github.com/apache/turbine-build to = get=20 > an overview of all the components currently supported. >=20 > If you need further assistance, ask here again providing more = information. >=20 >=20 > Thanks and good luck! >=20 >=20 > Best regards,=20 >=20 > Georg >=20 >=20 >=20 > Von: Michele Rabanal <[email protected]> > An: [email protected] > Datum: 07.07.2023 22:53 > Betreff: Upgrading from Turbine 2.3.3 to 5.0 >=20 >=20 >=20 > Hello! >=20 > I am an applications developer on the Turbine framework. Many years = ago I=20 > upgraded Turbine from 2.2 to 2.3.=20 > For security reasons, I am being asked to upgrade Turbine again. I=20 > understand that I should be on Turbine 5.0, but > I'm not clear on exactly how to begin!=20 >=20 > I have tried to follow=20 > = https://turbine.apache.org/turbine/turbine-5-0/howto/migrate-from-2_3-howt= o.html=20 > < > = https://turbine.apache.org/turbine/turbine-5-0/howto/migrate-from-2_3-howt= o.html >> , but I've gotten > nowhere and really just need more basic instructions.=20 >=20 > Questions: > 1) Should I do an actual in-place upgrade or should I build a new=20 > framework and then move my current project over into it? >=20 > 2) Do I need to use a more current version of Maven? And if so, what = is=20 > the best way to get my current project > into that new Maven structure? and into the new Turbine structure? >=20 > I would appreciate any help! I've tried many different approaches, = but=20 > cannot figure this out. Installing/upgrading=20 > software is not my main role! If there are documents with more = details,=20 > that would be great.=20 >=20 > Here's the path of my current project: >=20 > = .maven/cache/maven-turbine-plugin-1.3/plugin-resources/flavor/turbine-2.3.= 3/inventory >=20 > I believe these are the components/versions I'm using: > Turbine 2.3.3 > Maven 1.1 > Torque 3.3 > Velocity 1.5 >=20 > Thanks so much! >=20