[windup-dev] JSP / JSP / Taglib Parsing & Rules

Marek Novotny mnovotny at redhat.com
Thu Sep 3 04:23:04 EDT 2015


Some JSP to JSF migration resources:

https://javaserverfaces.java.net/rlnotes/2.0.0/migration.html
http://stackoverflow.com/questions/4441713/migrating-from-jsf-1-2-to-jsf-2-0/4532870#4532870



On 3.9.2015 05:14, Brad Davis wrote:
> For JSP, it looks like the following project / source would do what we are looking for:
> 
> https://github.com/eclipse/webtools.sourceediting/blob/master/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/parser/JSPSourceParser.java
> 
> Examples of parsing:
> https://github.com/eclipse/webtools.sourceediting.tests/blob/master/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/model/TestModelsFromFiles.java
> 
> 
> 
> Brad Davis
> Senior Manager, Red Hat Consulting
> Email: bdavis at redhat.com | c: 980.226.7865 | http://www.redhat.com 
> 
> 
> ----- Original Message -----
> From: "Brad Davis" <bdavis at redhat.com>
> To: "Windup-dev List" <windup-dev at lists.jboss.org>
> Sent: Wednesday, September 2, 2015 10:45:14 PM
> Subject: [windup-dev] JSP / JSP / Taglib Parsing & Rules
> 
> One of my projects leverages Richfaces 3 and we need to move to 4.  It would be very helpful to expand upon the (basic) JSP rules that we had in Windup 0.7 with actual JSP parsing in Windup 2.4.  Because we leverage Eclipse for AST with Java, I wonder if we can do the same thing for JSF / JSP?  Maybe we can reach out to one of the project leads in the Eclipse community to get their recommendation on which project would provide similar functionality for those technologies.  I think Nick Sandonato from the Eclipse WTP team may be a good starting point.
> 
> There is a migration guide at: https://developer.jboss.org/wiki/RichFaces33-4xMigrationGuideUnleashed
> 
> I guess we could use old-fashioned XPath and probably get a lot of the way, but I think in Windup 1 this fell down around <% %> / embedded code.  Thoughts?
> 
> Brad Davis
> Senior Manager, Red Hat Consulting
> Email: bdavis at redhat.com | c: 980.226.7865 | http://www.redhat.com 
> 
> 
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
> 


-- 
Marek Novotny
--
Windup team member and Seam Project Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno


More information about the windup-dev mailing list