[jbosstools-commits] JBoss Tools SVN: r23769 - in trunk/vpe: plugins/org.jboss.tools.vpe.spring and 36 other directories.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Jul 28 05:58:58 EDT 2010
Author: yradtsevich
Date: 2010-07-28 05:58:55 -0400 (Wed, 28 Jul 2010)
New Revision: 23769
Added:
trunk/vpe/plugins/org.jboss.tools.vpe.spring/
trunk/vpe/plugins/org.jboss.tools.vpe.spring/.classpath
trunk/vpe/plugins/org.jboss.tools.vpe.spring/.project
trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/
trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.spring/about.html
trunk/vpe/plugins/org.jboss.tools.vpe.spring/build.properties
trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.properties
trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.xml
trunk/vpe/plugins/org.jboss.tools.vpe.spring/pom.xml
trunk/vpe/plugins/org.jboss.tools.vpe.spring/src/
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.classpath
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.project
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/build.properties
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.properties
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/pom.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.classpath
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.project
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/.jsdtscope
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/com.springsource.server.ide.jdt.core.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.jdt.core.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.ltk.core.refactoring.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.component
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.validation.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.maven.ide.eclipse.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.beans.core.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.core.prefs
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.springBeans
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/pom.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormBean.java
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormController.java
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/resources/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/springapp-servlet.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/web.xml
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/index.jsp
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/resources/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/tools/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/tools/vpe/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/tools/vpe/spring/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/tools/vpe/spring/test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/java/org/jboss/tools/vpe/spring/test/springtest/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/test/resources/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringAllTests.java
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringFormComponentTest.java
trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringTestPlugin.java
Log:
https://jira.jboss.org/browse/JBIDE-6711
https://jira.jboss.org/browse/JBIDE-6721
- org.jboss.tools.vpe.spring plugin initial commit (two Spring tags are already implemented: form:form and form:checkbox)
- org.jboss.tools.vpe.spring.test initial commit (SpringTest project is inside along with JUnits for form:form and form:checkbox)
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/.classpath
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/.classpath (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/.classpath 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/.project
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/.project (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/.project 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.spring</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/META-INF/MANIFEST.MF 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %bundleName
+Bundle-SymbolicName: org.jboss.tools.vpe.spring;singleton:=true
+Bundle-Version: 3.1.0.qualifier
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe
+Bundle-ActivationPolicy: lazy
+Bundle-Vendor: %vendorName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/about.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/about.html (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/about.html 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/build.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/build.properties (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/build.properties 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,8 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ templates/,\
+ plugin.properties,\
+ about.html
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.properties (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.properties 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,3 @@
+#Properties file for org.jboss.tools.vpe.spring
+vendorName = JBoss by Red Hat
+bundleName =Spring support for JBoss Visual Page Editor Plug-in
\ No newline at end of file
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.xml (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/plugin.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.templates">
+ <templates
+ decsription="VPE templates for Spring support"
+ name="Spring"
+ path="templates/vpe-templates-spring.xml">
+ </templates>
+ </extension>
+</plugin>
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/pom.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/pom.xml (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/pom.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>../../../parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.spring.plugins</groupId>
+ <artifactId>org.jboss.tools.vpe.spring</artifactId>
+ <version>3.1.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<vpe:templates xmlns:vpe="http://org.jboss.org/tools/vpe/template"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <vpe:template-taglib
+ uri="http://www.springframework.org/tags/form"
+ prefix="form" />
+ <vpe:template-taglib
+ uri="http://www.springframework.org/tags"
+ prefix="spring" />
+ <vpe:template-taglib
+ uri="http://www.springframework.org/security/tags"
+ prefix="security" />
+
+ <vpe:tag name="form:checkbox" case-sensitive="yes">
+ <vpe:if test="@disabled='true'">
+ <vpe:template children="no" modify="no">
+ <span class="vpe-text">
+ <input type="checkbox" id="{@id}" style="{@cssStyle}"
+ class="{@cssClass}" disabled="disabled"/>
+ <label>
+ <vpe:value expr="{@label}"/>
+ </label>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="no" modify="no">
+ <span class="vpe-text">
+ <input type="checkbox" id="{@id}" style="{@cssStyle}"
+ class="{@cssClass}"/>
+ <label>
+ <vpe:value expr="{@label}"/>
+ </label>
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="form:form" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <form id="{@id}" style="{@cssStyle}" class="{@cssClass}"/>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+</vpe:templates>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.classpath
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.classpath (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.classpath 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.project
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.project (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/.project 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.spring.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/META-INF/MANIFEST.MF 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name.0
+Bundle-SymbolicName: org.jboss.tools.vpe.spring.test;singleton:=true
+Bundle-Version: 3.2.0.qualifier
+Bundle-Activator: org.jboss.tools.vpe.spring.test.SpringTestPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe.ui.test,
+ org.jboss.tools.common.text.ext,
+ org.jboss.tools.common.model,
+ org.jboss.tools.vpe.xulrunner,
+ org.junit,
+ org.jboss.tools.vpe.spring;bundle-version="3.1.0",
+ org.jboss.tools.vpe.jsp;bundle-version="3.1.0",
+ org.jboss.tools.vpe.html;bundle-version="3.1.0"
+Bundle-ActivationPolicy: lazy
+Export-Package: org.jboss.tools.vpe.spring.test
+Bundle-Vendor: %Bundle-Vendor.0
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/build.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/build.properties (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/build.properties 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,13 @@
+bin.includes = META-INF/,\
+ resources/,\
+ plugin.properties,\
+ plugin.xml,\
+ .
+jars.compile.order = .
+src.includes = src/,\
+ resources/,\
+ META-INF/,\
+ build.properties,\
+ plugin.xml
+source.. = src/
+output.. = bin/
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.properties (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.properties 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,3 @@
+#Properties file for org.jboss.tools.vpe.spring.test
+Bundle-Vendor.0 = JBoss by Red Hat
+Bundle-Name.0 = Spring Test Plug-in
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/plugin.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.ui.tests">
+ <tests
+ description="Unit tests for Spring support in VPE"
+ name="Spring Tests"
+ testSuite="org.jboss.tools.vpe.spring.test.SpringAllTests"/>
+ <testProject
+ name="SpringTest"
+ path="resources/SpringTest"/>
+ </extension>
+
+</plugin>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/pom.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/pom.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/pom.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,36 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>../../../parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.spring.tests</groupId>
+ <artifactId>org.jboss.tools.vpe.spring.test</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <emma.filter>org.jboss.tools*</emma.filter>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <configuration>
+ <product>org.jboss.tools.tests</product>
+ <explodedBundles>
+ <bundle>org.jboss.tools.vpe</bundle>
+ <bundle>org.mozilla.xulrunner.carbon.macosx</bundle>
+ <bundle>org.mozilla.xulrunner.cocoa.macosx</bundle>
+ <bundle>org.mozilla.xulrunner.gtk.linux.x86</bundle>
+ <bundle>org.mozilla.xulrunner.gtk.linux.x86_64</bundle>
+ <bundle>org.mozilla.xulrunner.win32.win32.x86</bundle>
+ </explodedBundles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.classpath
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.classpath (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.classpath 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.project
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.project (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.project 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>SpringTest</name>
+ <comment></comment>
+ <projects>
+ <project>Servers</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.ajdt.core.ajbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.springframework.ide.eclipse.core.springbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.springsource.sts.roo.core.nature</nature>
+ <nature>org.eclipse.ajdt.ui.ajnature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.springframework.ide.eclipse.core.springnature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ </natures>
+</projectDescription>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/.jsdtscope
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/.jsdtscope (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/.jsdtscope 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/com.springsource.server.ide.jdt.core.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/com.springsource.server.ide.jdt.core.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/com.springsource.server.ide.jdt.core.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,2 @@
+<classpath>
+</classpath>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.jdt.core.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,8 @@
+#Wed Jul 28 09:46:16 EEST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.ltk.core.refactoring.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.ltk.core.refactoring.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.ltk.core.refactoring.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,3 @@
+#Thu Mar 11 16:34:45 EST 2010
+eclipse.preferences.version=1
+org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.component 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="SpringTest">
+ <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
+ <property name="java-output-path" value="target/classes"/>
+ <property name="context-root" value="SpringTest"/>
+ </wb-module>
+</project-modules>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.java" version="1.6"/>
+</faceted-project>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.container 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.jsdt.ui.superType.name 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.validation.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.validation.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.eclipse.wst.validation.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,6 @@
+#Fri Jun 06 17:00:12 BST 2008
+DELEGATES_PREFERENCE=delegateValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator\=org.eclipse.wst.wsdl.validation.internal.eclipse.Validator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator\=org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator;
+USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
+USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator;
+USER_PREFERENCE=overrideGlobalPreferencesfalse
+eclipse.preferences.version=1
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.maven.ide.eclipse.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.maven.ide.eclipse.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,9 @@
+#Tue Mar 17 14:28:16 EDT 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.beans.core.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.beans.core.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.beans.core.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,4 @@
+#Tue Mar 16 01:34:25 CET 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false
+org.springframework.ide.eclipse.beans.core.loadNamespaceHandlerFromClasspath=false
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.core.prefs
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.core.prefs (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.settings/org.springframework.ide.eclipse.core.prefs 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,69 @@
+#Tue Mar 16 01:34:25 CET 2010
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true
+org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=true
+org.springframework.ide.eclipse.core.builders.enable.osgibundleupdater=false
+org.springframework.ide.eclipse.core.enable.project.preferences=false
+org.springframework.ide.eclipse.core.validator.enable.com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.server.quickfix.manifestvalidator=false
+org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false
+org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivationPolicyRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivatorRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleManifestVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.exportPackageRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.importRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.parsingProblemsRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.requireBundleRule-com.springsource.server.ide.manifest.core.manifestvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.RefElementRule-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.legacyxmlusage.jndiobjectfactory-com.springsource.sts.bestpractices.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importLibraryVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importPackageVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.requireBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.autowire.autowire-org.springframework.ide.eclipse.beans.core.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.toolAnnotation-org.springframework.ide.eclipse.beans.core.beansvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true
+org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.springBeans
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.springBeans (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/.springBeans 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beansProjectDescription>
+ <version>1</version>
+ <pluginVersion><![CDATA[2.3.1.201003090936-RELEASE]]></pluginVersion>
+ <configSuffixes>
+ <configSuffix><![CDATA[xml]]></configSuffix>
+ </configSuffixes>
+ <enableImports><![CDATA[true]]></enableImports>
+ <configs>
+ <config>src/main/resources/META-INF/spring/integration.xml</config>
+ <config>src/main/resources/META-INF/spring/security.xml</config>
+ <config>src/main/resources/META-INF/spring/theorchid/controllers.xml</config>
+ </configs>
+ <configSets>
+ </configSets>
+</beansProjectDescription>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/pom.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/pom.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/pom.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.springframework.samples</groupId>
+ <artifactId>SpringTest</artifactId>
+ <name>SpringTest</name>
+ <packaging>war</packaging>
+ <version>1.0.0-BUILD-SNAPSHOT</version>
+ <properties>
+ <java-version>1.6</java-version>
+ <org.springframework-version>3.0.3.BUILD-SNAPSHOT</org.springframework-version>
+ <org.springframework.webflow-version>2.1.0.BUILD-SNAPSHOT</org.springframework.webflow-version>
+ <org.springframework.security-version>3.0.2.RELEASE</org.springframework.security-version>
+ <org.aspectj-version>1.6.8</org.aspectj-version>
+ </properties>
+ <dependencies>
+ <!-- Spring -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${org.springframework-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ <version>${org.springframework-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-orm</artifactId>
+ <version>${org.springframework-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>${org.springframework-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.webflow</groupId>
+ <artifactId>spring-webflow</artifactId>
+ <version>${org.springframework.webflow-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.webflow</groupId>
+ <artifactId>spring-js</artifactId>
+ <version>${org.springframework.webflow-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-web</artifactId>
+ <version>${org.springframework.security-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-taglibs</artifactId>
+ <version>${org.springframework.security-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-config</artifactId>
+ <version>${org.springframework.security-version}</version>
+ </dependency>
+ <!-- ROO dependencies -->
+ <dependency>
+ <groupId>org.springframework.roo</groupId>
+ <artifactId>org.springframework.roo.annotations</artifactId>
+ <version>1.0.2.RELEASE</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- AspectJ -->
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>${org.aspectj-version}</version>
+ </dependency>
+
+ <!-- @Inject -->
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ </dependency>
+
+ <!-- Database -->
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.10</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Servlet -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <!-- Apache Tiles -->
+ <dependency>
+ <groupId>org.apache.tiles</groupId>
+ <artifactId>tiles-jsp</artifactId>
+ <version>2.1.3</version>
+ </dependency>
+
+ <!-- Hibernate JPA 2 Provider -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <version>3.5.0-Final</version>
+ </dependency>
+
+ <!-- JSR 303 with Hibernate Validator -->
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <version>1.0.0.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>4.0.2.GA</version>
+ </dependency>
+
+ <!-- Joda Time -->
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time-jsptags</artifactId>
+ <version>1.0.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <type>jar</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <!-- For testing against latest Spring snapshots -->
+ <repository>
+ <id>org.springframework.maven.snapshot</id>
+ <name>Spring Maven Snapshot Repository</name>
+ <url>http://maven.springframework.org/snapshot</url>
+ <releases><enabled>false</enabled></releases>
+ <snapshots><enabled>true</enabled></snapshots>
+ </repository>
+ <!-- For developing against latest Spring milestones -->
+ <repository>
+ <id>org.springframework.maven.milestone</id>
+ <name>Spring Maven Milestone Repository</name>
+ <url>http://maven.springframework.org/milestone</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ </repository>
+ <!-- Maven Central -->
+ <repository>
+ <id>org.maven.central</id>
+ <name>Maven Central Repository</name>
+ <url>http://repo1.maven.org/maven2</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ </repository>
+ <!-- For released artifacts not in Maven Central -->
+ <!-- Needed for for annotations until it is added to central -->
+ <repository>
+ <id>com.springsource.repository.bundles.release</id>
+ <name>SpringSource Bundle Repository</name>
+ <url>http://repository.springsource.com/maven/bundles/release</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ </repository>
+ <!-- Needed for Hibernate, which is not published to central -->
+ <repository>
+ <id>org.jboss.repository</id>
+ <name>JBoss Maven Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ </repository>
+ </repositories>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${java-version}</source>
+ <target>${java-version}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <warName>SpringTest</warName>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install</id>
+ <phase>install</phase>
+ <goals>
+ <goal>sources</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>aspectj-maven-plugin</artifactId>
+ <!-- Have to use version 1.2 since version 1.3 does not appear to work with ITDs -->
+ <version>1.2</version>
+ <dependencies>
+ <!-- You must use Maven 2.0.9 or above or these are ignored (see MNG-2972) -->
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>${org.aspectj-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjtools</artifactId>
+ <version>${org.aspectj-version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>test-compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outxml>true</outxml>
+ <source>${java-version}</source>
+ <target>${java-version}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <junitArtifactName>junit:junit</junitArtifactName>
+ <excludes>
+ <exclude>**/*_Roo_*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormBean.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormBean.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormBean.java 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,26 @@
+package org.jboss.tools.vpe.spring.test.springtest;
+
+public class FormBean {
+ private boolean chechbox1Selected = false;
+ private boolean chechbox2Selected = true;
+ private boolean chechbox3Selected = false;
+
+ public boolean isChechbox1Selected() {
+ return chechbox1Selected;
+ }
+ public void setChechbox1Selected(boolean chechbox1Selected) {
+ this.chechbox1Selected = chechbox1Selected;
+ }
+ public boolean isChechbox2Selected() {
+ return chechbox2Selected;
+ }
+ public void setChechbox2Selected(boolean chechbox2Selected) {
+ this.chechbox2Selected = chechbox2Selected;
+ }
+ public boolean isChechbox3Selected() {
+ return chechbox3Selected;
+ }
+ public void setChechbox3Selected(boolean chechbox3Selected) {
+ this.chechbox3Selected = chechbox3Selected;
+ }
+}
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormController.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormController.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/java/org/jboss/tools/vpe/spring/test/springtest/FormController.java 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,29 @@
+package org.jboss.tools.vpe.spring.test.springtest;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.springframework.web.servlet.ModelAndView;
+import org.springframework.web.servlet.mvc.Controller;
+
+/**
+ *
+ * @author Yahor Radtsevich (yradtsevich)
+ */
+public class FormController implements Controller {
+
+ protected final Log logger = LogFactory.getLog(getClass());
+
+ public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+
+ String viewName = request.getServletPath().replace(".htm", "");
+ FormBean formBean = new FormBean();
+ return new ModelAndView(viewName, "formBean", formBean);
+ }
+}
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,29 @@
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
+<html>
+<head>
+ <style>
+ .tall-checkbox {
+ -moz-appearance: none;
+ height: 30px;
+ }
+ </style>
+</head>
+<body>
+ <h1>Test of form:checkbox</h1>
+
+ <form:form modelAttribute="formBean">
+ <form:checkbox id="checkbox1" path="chechbox1Selected" />
+ form:checkbox with id and path attributes
+ <br/>
+ <form:checkbox id="checkbox2" path="chechbox2Selected"
+ cssStyle="width: 30px;" cssClass="tall-checkbox"
+ label="form:checkbox with id, path, cssStyle, cssClass and label attributes. (Must look as a big square.)"/>
+ <br/>
+ <form:checkbox id="checkbox3" path="chechbox3Selected"
+ disabled="true"
+ label="form:checkbox with id, path and disabled='true' attributes."/>
+ <br/>
+ </form:form>
+</body>
+</html>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/checkbox.jsp.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,27 @@
+<tests>
+ <test id="checkbox1">
+ <SPAN CLASS="vpe-text">
+ <INPUT TYPE="checkbox" ID="checkbox1" />
+ <LABEL>
+ </LABEL>
+ </SPAN>
+ </test>
+ <test id="checkbox2">
+ <SPAN CLASS="vpe-text">
+ <INPUT TYPE="checkbox" CLASS="tall-checkbox" ID="checkbox2"
+ STYLE="width: 30px;" />
+ <LABEL>
+ form:checkbox with id, path, cssStyle, cssClass and label
+ attributes. (Must be big square.)
+ </LABEL>
+ </SPAN>
+ </test>
+ <test id="checkbox3">
+ <SPAN CLASS="vpe-text">
+ <INPUT TYPE="checkbox" DISABLED="disabled" ID="checkbox3" />
+ <LABEL>
+ form:checkbox with id, path and disabled='true' attributes.
+ </LABEL>
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,22 @@
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
+<html>
+<head>
+ <style>
+ .yellow-text {
+ color: yellow
+ }
+ </style>
+</head>
+<body>
+ <h1>Test of form:form</h1>
+
+ <form:form id="form1">
+ This is a form:form with id-attribute.
+ </form:form>
+
+ <form:form id="form2" cssClass="yellow-text" cssStyle="background-color: black">
+ This is a form:form with style and class attributes. Yellow text on black background.
+ </form:form>
+</body>
+</html>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/jsp/form.jsp.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,18 @@
+<tests>
+ <test id="form1">
+ <FORM ID="form1">
+ <SPAN CLASS="vpe-text">
+ This is a form:form with id-attribute.
+ </SPAN>
+ </FORM>
+ </test>
+ <test id="form2">
+ <FORM CLASS="yellow-text" ID="form2"
+ STYLE="background-color: black;">
+ <SPAN CLASS="vpe-text">
+ This is a form:form with style and class attributes. Yellow text on black
+ background.
+ </SPAN>
+ </FORM>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/springapp-servlet.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/springapp-servlet.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/springapp-servlet.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <!-- the application context definition for the springapp DispatcherServlet -->
+
+ <bean name="/form.htm" class="org.jboss.tools.vpe.spring.test.springtest.FormController"/>
+ <bean name="/checkbox.htm" class="org.jboss.tools.vpe.spring.test.springtest.FormController"/>
+
+ <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
+ <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"></property>
+ <property name="prefix" value="/WEB-INF/jsp"></property>
+ <property name="suffix" value=".jsp"></property>
+ </bean>
+</beans>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/web.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/WEB-INF/web.xml 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
+
+ <servlet>
+ <servlet-name>springapp</servlet-name>
+ <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>springapp</servlet-name>
+ <url-pattern>*.htm</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>
+ index.jsp
+ </welcome-file>
+ </welcome-file-list>
+
+</web-app>
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/index.jsp
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/index.jsp (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/src/main/webapp/index.jsp 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,5 @@
+<a href="checkbox.htm">checkbox.htm</a>
+<br/>
+<a href="form.htm">form.htm</a>
+<br/>
+
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringAllTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringAllTests.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringAllTests.java 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.spring.test;
+
+import org.jboss.tools.vpe.ui.test.VpeTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * Class for testing all RichFaces components
+ *
+ * @author Yahor Radtsevich (yradtsevich)
+ *
+ */
+
+public class SpringAllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Tests for Vpe Spring components"); //$NON-NLS-1$
+ // $JUnit-BEGIN$
+ suite.addTestSuite(SpringFormComponentTest.class);
+ //cleanUpTests();
+ // $JUnit-END$
+ return new VpeTestSetup(suite);
+ }
+}
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringFormComponentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringFormComponentTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringFormComponentTest.java 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.spring.test;
+
+import org.eclipse.core.resources.IFile;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+
+/**
+ * Class for testing form spring components
+ *
+ * @author Yahor Radtsevich (yradtsevich)
+ *
+ */
+public class SpringFormComponentTest extends VpeTest {
+
+ // import project name
+ static final String IMPORT_PROJECT_NAME = "SpringTest"; //$NON-NLS-1$
+
+ public SpringFormComponentTest(String name) {
+ super(name);
+ }
+
+ /*
+ * Spring Form test cases
+ */
+
+ public void testCheckbox() throws Throwable {
+ performTestForVpeComponent((IFile)TestUtil.getResource(
+ "src/main/webapp/WEB-INF/jsp/checkbox.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ }
+
+ public void testForm() throws Throwable {
+ performTestForVpeComponent((IFile)TestUtil.getResource(
+ "src/main/webapp/WEB-INF/jsp/form.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ }
+}
Added: trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringTestPlugin.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringTestPlugin.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.spring.test/src/org/jboss/tools/vpe/spring/test/SpringTestPlugin.java 2010-07-28 09:58:55 UTC (rev 23769)
@@ -0,0 +1,85 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.spring.test;
+
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.jboss.tools.common.log.IPluginLog;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @author Yahor Radtsevich (yradtsevich)
+ */
+public class SpringTestPlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.vpe.spring.test"; //$NON-NLS-1$
+
+ // The shared instance
+ private static SpringTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public SpringTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static SpringTestPlugin getDefault() {
+ return plugin;
+ }
+
+ public static IPluginLog getPluginLog() {
+ return getDefault();
+ }
+
+ public static String getPluginResourcePath() {
+ Bundle bundle = Platform.getBundle(PLUGIN_ID);
+ URL url = null;
+ try {
+ url = bundle == null ? null : FileLocator.resolve(bundle
+ .getEntry("/resources")); //$NON-NLS-1$
+ } catch (Exception e) {
+ url = bundle.getEntry("/resources"); //$NON-NLS-1$
+ }
+ return (url == null) ? null : url.getPath();
+ }
+}
\ No newline at end of file
More information about the jbosstools-commits
mailing list