diff --git a/plugin/idea/IDEAPlugin.iml b/plugin/idea/IDEAPlugin.iml
deleted file mode 100644
index 02cb7bb25..000000000
--- a/plugin/idea/IDEAPlugin.iml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugin/idea/META-INF/plugin.xml b/plugin/idea/META-INF/plugin.xml
deleted file mode 100644
index f3f80af82..000000000
--- a/plugin/idea/META-INF/plugin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
- SimpleToolWindow
-
-
- An example of installing a tool window
-
-
- 1.0
-
-
- IntelliJ
-
-
-
-
-
-
-
-
- com.opensymphony.webwork.plugin.idea.Test
-
-
- com.opensymphony.webwork.plugin.idea.Test
-
-
-
-
-
- com.opensymphony.webwork.plugin.idea.FreeMarkerSupportLoader
-
-
-
diff --git a/plugin/idea/sample/Sample.iml b/plugin/idea/sample/Sample.iml
deleted file mode 100644
index 2c7f98c6b..000000000
--- a/plugin/idea/sample/Sample.iml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugin/idea/sample/Sample.ipr b/plugin/idea/sample/Sample.ipr
deleted file mode 100644
index 4fb63e5aa..000000000
--- a/plugin/idea/sample/Sample.ipr
+++ /dev/null
@@ -1,199 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugin/idea/sample/Sample.iws b/plugin/idea/sample/Sample.iws
deleted file mode 100644
index 39faf5b5a..000000000
--- a/plugin/idea/sample/Sample.iws
+++ /dev/null
@@ -1,563 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugin/idea/sample/src/webapp/WEB-INF/classes/xwork.xml b/plugin/idea/sample/src/webapp/WEB-INF/classes/xwork.xml
deleted file mode 100644
index 87668b925..000000000
--- a/plugin/idea/sample/src/webapp/WEB-INF/classes/xwork.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
- test.jsp
-
-
-
-
-
- test.jsp
-
-
-
-
-
- test.jsp
-
-
-
diff --git a/plugin/idea/sample/src/webapp/WEB-INF/web.xml b/plugin/idea/sample/src/webapp/WEB-INF/web.xml
deleted file mode 100644
index 3afc99660..000000000
--- a/plugin/idea/sample/src/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/plugin/idea/sample/src/webapp/foo.ftl b/plugin/idea/sample/src/webapp/foo.ftl
deleted file mode 100644
index 7aae0734a..000000000
--- a/plugin/idea/sample/src/webapp/foo.ftl
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerFileType.java b/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerFileType.java
deleted file mode 100644
index d3b52ddc8..000000000
--- a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerFileType.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package com.opensymphony.webwork.plugin.idea;
-
-import com.intellij.openapi.fileTypes.LanguageFileType;
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-import javax.swing.*;
-
-/**
- * User: patrick
- * Date: Oct 4, 2005
- * Time: 11:28:50 AM
- */
-public class FreeMarkerFileType extends LanguageFileType {
- protected FreeMarkerFileType() {
- super(new FreeMarkerLanguage());
- }
-
- @NotNull
- public String getName() {
- return "FreeMarker";
- }
-
- @NotNull
- public String getDescription() {
- return "FreeMarker file type";
- }
-
- @NotNull
- public String getDefaultExtension() {
- return "ftl";
- }
-
- @Nullable
- public Icon getIcon() {
- return null;
- }
-}
diff --git a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerLanguage.java b/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerLanguage.java
deleted file mode 100644
index 76c8da16b..000000000
--- a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerLanguage.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.opensymphony.webwork.plugin.idea;
-
-import com.intellij.lang.Language;
-
-/**
- * User: patrick
- * Date: Oct 4, 2005
- * Time: 11:30:22 AM
- */
-public class FreeMarkerLanguage extends Language {
- protected FreeMarkerLanguage() {
- super("ftl");
- }
-}
diff --git a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerSupportLoader.java b/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerSupportLoader.java
deleted file mode 100644
index c39cd00e3..000000000
--- a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/FreeMarkerSupportLoader.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package com.opensymphony.webwork.plugin.idea;
-
-import com.intellij.openapi.components.ApplicationComponent;
-import com.intellij.openapi.fileTypes.FileTypeManager;
-import com.intellij.openapi.application.ApplicationManager;
-import org.jetbrains.annotations.NonNls;
-
-/**
- * User: patrick
- * Date: Oct 4, 2005
- * Time: 1:00:14 PM
- */
-public class FreeMarkerSupportLoader implements ApplicationComponent {
- public FreeMarkerSupportLoader() {
- System.out.println("Hi!");
- }
-
- @NonNls
- public String getComponentName() {
- return "FreeMarker Support";
- }
-
- public void initComponent() {
- ApplicationManager.getApplication().runWriteAction(
- new Runnable() {
- public void run() {
- FileTypeManager.getInstance().registerFileType(new FreeMarkerFileType(), new String[] {"ftl"});
- }
- }
- );
- }
-
- public void disposeComponent() {
- }
-}
diff --git a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/PluginXmlConfigurationProvider.java b/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/PluginXmlConfigurationProvider.java
deleted file mode 100644
index 6d2f7aaaa..000000000
--- a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/PluginXmlConfigurationProvider.java
+++ /dev/null
@@ -1,69 +0,0 @@
-package com.opensymphony.webwork.plugin.idea;
-
-import com.intellij.openapi.project.Project;
-import com.intellij.openapi.roots.ContentIterator;
-import com.intellij.openapi.roots.ProjectRootManager;
-import com.intellij.openapi.vfs.VirtualFile;
-import com.opensymphony.xwork.ActionInvocation;
-import com.opensymphony.xwork.Result;
-import com.opensymphony.xwork.config.entities.InterceptorConfig;
-import com.opensymphony.xwork.config.providers.XmlConfigurationProvider;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-/**
- * User: patrick
- * Date: Oct 4, 2005
- * Time: 3:03:01 PM
- */
-public class PluginXmlConfigurationProvider extends XmlConfigurationProvider {
- Project project;
-
- public PluginXmlConfigurationProvider(Project project) {
- this.project = project;
- }
-
- protected boolean verifyAction(String className, String name) {
- return true;
- }
-
- protected boolean verifyInterceptor(String className, String name, InterceptorConfig config) {
- return true;
- }
-
- protected Class verifyResultType(String className) {
- return ResultHolder.class;
- }
-
- public static class ResultHolder implements Result {
- public void execute(ActionInvocation invocation) throws Exception {
- // do nothing, this is just a holder
- }
- }
-
- protected InputStream getInputStream(final String fileName) {
- final InputStream[] is = new InputStream[]{null};
- ProjectRootManager.getInstance(project).getFileIndex().iterateContent(new ContentIterator() {
- public boolean processFile(VirtualFile fileOrDir) {
- if (fileName.equals(fileOrDir.getName())) {
- try {
- is[0] = fileOrDir.getInputStream();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- return false;
- }
- return true;
- }
- });
-
- if (is[0] == null) {
- // ok, let's search the classpath then...
- return super.getInputStream(fileName);
- }
-
- return is[0];
- }
-}
diff --git a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/Test.java b/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/Test.java
deleted file mode 100644
index 6d594259b..000000000
--- a/plugin/idea/src/java/com/opensymphony/webwork/plugin/idea/Test.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Copyright 2000-2005 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.opensymphony.webwork.plugin.idea;
-
-import com.intellij.openapi.components.ProjectComponent;
-import com.intellij.openapi.project.Project;
-import com.intellij.openapi.wm.ToolWindow;
-import com.intellij.openapi.wm.ToolWindowAnchor;
-import com.intellij.openapi.wm.ToolWindowManager;
-import com.opensymphony.xwork.config.ConfigurationManager;
-import com.opensymphony.xwork.config.Configuration;
-import com.opensymphony.xwork.config.RuntimeConfiguration;
-import com.opensymphony.xwork.config.entities.ActionConfig;
-
-import javax.swing.*;
-import javax.swing.tree.DefaultMutableTreeNode;
-import javax.swing.tree.DefaultTreeModel;
-import java.awt.*;
-import java.awt.event.ActionListener;
-import java.awt.event.ActionEvent;
-import java.util.Map;
-import java.util.Iterator;
-
-public class Test implements ProjectComponent {
- private Project myProject;
-
- private ToolWindow myToolWindow;
- private JPanel myContentPanel;
-
- public static final String TOOL_WINDOW_ID = "SimpleToolWindow";
-
- public Test(final Project project) {
- System.out.println("HEY");
- myProject = project;
- }
-
- public void projectOpened() {
- initToolWindow();
- }
-
- public void projectClosed() {
- unregisterToolWindow();
- }
-
- public void initComponent() {
- // empty
- }
-
- public void disposeComponent() {
- // empty
- }
-
- public String getComponentName() {
- return "SimpleToolWindow.SimpleToolWindowPlugin";
- }
-
- private void initToolWindow() {
- ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
-
- myContentPanel = new JPanel(new GridBagLayout());
-
- myContentPanel.setBackground(UIManager.getColor("Tree.textBackground"));
- JButton button = new JButton("Hi");
- myContentPanel.add(button, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.PAGE_START, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 0, 0));
-
- JTabbedPane tabs = new JTabbedPane();
- JPanel panel = new JPanel(new GridBagLayout());
- tabs.add("Namespaces", panel);
-
- final DefaultMutableTreeNode top = new DefaultMutableTreeNode("WebWork");
- final JTree tree = new JTree(top);
- tree.setShowsRootHandles(true);
-
- panel.add(new JScrollPane(tree), new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
-
- myContentPanel.add(tabs, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.PAGE_START, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0));
-
- myToolWindow = toolWindowManager.registerToolWindow(TOOL_WINDOW_ID, myContentPanel, ToolWindowAnchor.LEFT);
- myToolWindow.setTitle("SimpleWindow");
-
-
- button.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent actionEvent) {
- top.removeAllChildren();
- ConfigurationManager.destroyConfiguration();
- ConfigurationManager.clearConfigurationProviders();
- ConfigurationManager.addConfigurationProvider(new PluginXmlConfigurationProvider(myProject));
- Configuration c = ConfigurationManager.getConfiguration();
- RuntimeConfiguration rc = c.getRuntimeConfiguration();
-
- Map ac = rc.getActionConfigs();
- for (Iterator iterator = ac.entrySet().iterator(); iterator.hasNext();) {
- Map.Entry entry = (Map.Entry) iterator.next();
- String namespace = (String) entry.getKey();
- DefaultMutableTreeNode nsNode = new DefaultMutableTreeNode(namespace);
- top.add(nsNode);
-
- Map actions = (Map) entry.getValue();
- for (Iterator iterator1 = actions.entrySet().iterator(); iterator1.hasNext();) {
- Map.Entry entry1 = (Map.Entry) iterator1.next();
- String action = (String) entry1.getKey();
- ActionConfig config = (ActionConfig) entry1.getValue();
-
- nsNode.add(new DefaultMutableTreeNode(action));
- }
- }
- DefaultTreeModel model = (DefaultTreeModel)tree.getModel();
- model.nodeStructureChanged(top);
- }
- });
- }
-
- private void unregisterToolWindow() {
- ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
- toolWindowManager.unregisterToolWindow(TOOL_WINDOW_ID);
- }
-}