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

Brad Davis bdavis at redhat.com
Wed Sep 2 23:14:30 EDT 2015


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


More information about the windup-dev mailing list