[jbosstools-commits] JBoss Tools SVN: r43286 - in workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin: jsp-samples and 4 other directories.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Aug 29 05:01:55 EDT 2012
Author: yradtsevich
Date: 2012-08-29 05:01:54 -0400 (Wed, 29 Aug 2012)
New Revision: 43286
Added:
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/WEB-INF/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/WEB-INF/lib/
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/variableSupport.jsp
workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/src/
Log:
https://issues.jboss.org/browse/JBIDE-12502 - Create a prototype of a VPE templating system without using JavaXPCOM
- JSP samples created by Ilya Buziuk
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.classpath 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.project 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jsp-samples</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/.jsdtscope 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.jdt.core.prefs 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.component 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="jsp-samples">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="jsp-samples"/>
+ <property name="java-output-path" value="/jsp-samples/build/classes"/>
+ </wb-module>
+</project-modules>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <fixed facet="java"/>
+ <installed facet="java" version="1.7"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/META-INF/MANIFEST.MF 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/advaned.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,23 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
+<html>
+<head>
+<title>How to Use Choose,Otherwise and When</title>
+</head>
+
+<body bgcolor="#FFFFCC">
+ <form method="get">
+ Enter a number from one onwards:
+ <input type="text" name="number" /><br>
+ <input type="submit" value="Submit" />
+ </form>
+
+ <c:if test="true">
+ So, you want only
+ <c:out value="${param.number}" />
+ <c:choose>
+ <c:when test="true">orange</c:when>
+ <c:otherwise>banana</c:otherwise>
+ </c:choose>
+ </c:if>
+</body>
+</html>
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/if&outTest.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,18 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
+<html>
+<head>
+<title>How to Use Choose,Otherwise and When</title>
+</head>
+
+<body bgcolor="#FFFFCC">
+ <%-- <form method="get">Enter a number from one onwards :
+<input type="text" name="number" /><br>
+<input type="submit" value="Submit" />
+</form>
+
+<c:if test="false">So, you want only
+<c:out value="1"/> --%>
+ <c:set var="asdasd" value="2"></c:set>
+ <%-- </c:if> --%>
+</body>
+</html>
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/simple.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,28 @@
+<jsp:root
+ version="2.0"
+ xmlns:jspu="http://java.sun.com/JSP/Page"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:t="urn:jsptagdir:/WEB-INF/tags"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ >
+
+<jsp:directive.page contentType="text/html; charset=UTF-8" />
+<html>
+ <head><title>Simple jspx page</title></head>
+ <body>
+ <t:HelloTag start="1" end="10" cycleVar="i">
+ <jspu:body>
+ It's Body. Variable "i" is
+ <c:choose>
+ <c:when test="${i mod 2 eq 0}">
+ Even
+ </c:when>
+ <c:otherwise>
+ Odd
+ </c:otherwise>
+ </c:choose>
+ </jspu:body>
+ </t:HelloTag>
+ </body>
+</html>
+</jsp:root>
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp
===================================================================
--- workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp (rev 0)
+++ workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/testInterpretator.jsp 2012-08-29 09:01:54 UTC (rev 43286)
@@ -0,0 +1,7 @@
+<!-- <repeatBody howMany = "5" times = "6" test ="7">
+</repeatBody> -->
+
+<myTag></myTag>
+<helloTag></helloTag>
+<life attr1="Ilya" attr2="Buziuk"></life>
+<!-- <bodyRepeater howMany="5"><helloTag><helloTag></bodyRepeater> -->
\ No newline at end of file
Added: workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/jsp-samples/WebContent/variableSupport.jsp
===================================================================
More information about the jbosstools-commits
mailing list