updated build.xml
authorjsurfer <jsurfer>
Sat, 25 Sep 2004 22:43:30 +0000 (22:43 +0000)
committerjsurfer <jsurfer>
Sat, 25 Sep 2004 22:43:30 +0000 (22:43 +0000)
archive/net.sourceforge.phpeclipse.html.ui/plugin.xml
archive/net.sourceforge.phpeclipse.js.core/plugin.xml
net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/rules/OuterDocumentView.java
net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/views/BrowserView.java
net.sourceforge.phpeclipse/build.properties

index 3094ac5..b3ae727 100644 (file)
@@ -27,7 +27,7 @@
       <import plugin="org.eclipse.core.runtime"/>
    </requires>
 
-
+<!--
    <extension
          point="org.eclipse.ui.editors">
       <editor 
@@ -54,6 +54,6 @@
             id="net.sourceforge.phpeclipse.html.ui.documentProvider">
       </provider>
    </extension>
-
+-->
 
 </plugin>
index 2379c4e..aecad49 100644 (file)
@@ -7,7 +7,7 @@
    provider-name="%providerName"
    class="net.sourceforge.phpeclipse.js.core.JSCorePlugin">
    
-   <runtime>
+   <runtime> 
       <library name="jscore.jar">
          <export name="*"/>
       </library>
index 3202fe3..74abf96 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  * 
- * $Id: OuterDocumentView.java,v 1.2 2004-09-22 18:51:51 jsurfer Exp $
+ * $Id: OuterDocumentView.java,v 1.3 2004-09-25 22:42:52 jsurfer Exp $
  */
 
 package net.sourceforge.phpeclipse.ui.text.rules;
@@ -211,6 +211,8 @@ public class OuterDocumentView extends AbstractDocument implements
                        // TODO: move to a better place
                        getTracker().replace(event.getOffset(), event.getLength(),
                                        event.getText());
+               } catch (IndexOutOfBoundsException x) {
+                 
                } catch (BadLocationException x) {
                }
 
index 36cf147..60eddb6 100644 (file)
@@ -73,31 +73,33 @@ public class BrowserView extends ViewPart {
 
   public void setUrl(final String url) {
     if (instance != null) {
-      try {
-        ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
-          public void run(IProgressMonitor monitor) throws CoreException {
-            instance.setURL(url);
-          }
-        }, null);
-      } catch (CoreException e) {
-        // TODO Auto-generated catch block
-        e.printStackTrace();
-      }
+      instance.setURL(url);
+//      try {
+//        ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
+//          public void run(IProgressMonitor monitor) throws CoreException {
+//            instance.setURL(url);
+//          }
+//        }, null);
+//      } catch (CoreException e) {
+//        // TODO Auto-generated catch block
+//        e.printStackTrace();
+//      }
     }
   }
 
   public void refresh() {
     if (instance != null) {
-      try {
-        ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
-          public void run(IProgressMonitor monitor) throws CoreException {
-            instance.refresh();
-          }
-        }, null);
-      } catch (CoreException e) {
-        // TODO Auto-generated catch block
-        e.printStackTrace();
-      }
+      instance.refresh();
+//      try {
+//        ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
+//          public void run(IProgressMonitor monitor) throws CoreException {
+//            instance.refresh();
+//          }
+//        }, null);
+//      } catch (CoreException e) {
+//        // TODO Auto-generated catch block
+//        e.printStackTrace();
+//      }
     }
   }
 }
\ No newline at end of file
index 9adf26c..0bb29b7 100644 (file)
@@ -4,5 +4,7 @@ bin.includes = phpeclipse.jar,\
                install.txt,\
                plugin.properties,\
                plugin.xml,\
-               cpl-v10.html
+               cpl-v10.html,\
+               templates/
 src.includes = src/
+output.phpeclipse.jar = bin/