From b11f3838160b686a6b70d4cbaa1a6834dddb943e Mon Sep 17 00:00:00 2001 From: axelcl Date: Wed, 29 Dec 2004 22:18:21 +0000 Subject: [PATCH] misc --- .../net.sourceforge.phpeclipse.css.core/build.xml | 24 ++-- .../net.sourceforge.phpeclipse.css.ui/build.xml | 32 ++-- .../net.sourceforge.phpeclipse.html.ui/build.xml | 32 ++-- .../net.sourceforge.phpeclipse.js.core/build.xml | 60 +++--- archive/net.sourceforge.phpeclipse.js.ui/build.xml | 32 ++-- archive/net.sourceforge.phpeclipse.news/build.xml | 180 +++++++++++++++++++ .../build.xml | 8 +- archive/net.sourceforge.phpeclipse.wiki/build.xml | 5 +- net.sourceforge.phpeclipse.smarty.ui/build.xml | 32 ++-- .../example/outline/Import2Console.java | 64 ------- .../sourceforge/example/outline/Type2Console.java | 74 -------- .../internal/compiler/batch/CompilationUnit.java | 91 ++++++++++ .../php/test/DualParseSyntaxErrorTest.java | 21 --- .../phpeditor/php/test/PHPFormatterTest.java | 62 ++++---- .../phpeclipse/tests/parser/OverlibTestCase.java | 2 +- .../phpeclipse/tests/parser/PHPManualTestCase.java | 2 +- .../phpeclipse/tests/parser/PHPParserTestCase.java | 2 +- .../tests/parser/SmartyCompilerTestCase.java | 2 +- .../src/test/HelloWorld.java | 9 + net.sourceforge.phpeclipse.ui/build.xml | 181 +++++++++++++++++++ net.sourceforge.phpeclipse.xml.core/build.xml | 152 ++++++++++++++++ net.sourceforge.phpeclipse.xml.core/plugin.xml | 2 +- net.sourceforge.phpeclipse.xml.ui/build.xml | 188 ++++++++++++++++++++ net.sourceforge.phpeclipse.xml.ui/plugin.xml | 2 +- .../xml/ui/internal/editor/XMLEditorMessages.java | 2 +- net.sourceforge.phpeclipse/build.xml | 125 +++++++------- 26 files changed, 1020 insertions(+), 366 deletions(-) create mode 100644 archive/net.sourceforge.phpeclipse.news/build.xml delete mode 100644 net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Import2Console.java delete mode 100644 net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Type2Console.java create mode 100644 net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpdt/internal/compiler/batch/CompilationUnit.java create mode 100644 net.sourceforge.phpeclipse.tests/src/test/HelloWorld.java create mode 100644 net.sourceforge.phpeclipse.ui/build.xml create mode 100644 net.sourceforge.phpeclipse.xml.core/build.xml create mode 100644 net.sourceforge.phpeclipse.xml.ui/build.xml diff --git a/archive/net.sourceforge.phpeclipse.css.core/build.xml b/archive/net.sourceforge.phpeclipse.css.core/build.xml index 30dc662..23c03f4 100644 --- a/archive/net.sourceforge.phpeclipse.css.core/build.xml +++ b/archive/net.sourceforge.phpeclipse.css.core/build.xml @@ -37,7 +37,7 @@ - + @@ -93,11 +93,11 @@ - - + + - + @@ -106,23 +106,23 @@ - - - + + + - - + + - - + + @@ -145,7 +145,7 @@ - + diff --git a/archive/net.sourceforge.phpeclipse.css.ui/build.xml b/archive/net.sourceforge.phpeclipse.css.ui/build.xml index c62b693..88bb563 100644 --- a/archive/net.sourceforge.phpeclipse.css.ui/build.xml +++ b/archive/net.sourceforge.phpeclipse.css.ui/build.xml @@ -37,7 +37,7 @@ - + @@ -74,13 +74,15 @@ - - + + + - + + @@ -127,11 +129,11 @@ - - + + - + @@ -140,23 +142,23 @@ - - - + + + - - + + - - + + @@ -179,7 +181,7 @@ - + diff --git a/archive/net.sourceforge.phpeclipse.html.ui/build.xml b/archive/net.sourceforge.phpeclipse.html.ui/build.xml index 5ee5ae6..d879df7 100644 --- a/archive/net.sourceforge.phpeclipse.html.ui/build.xml +++ b/archive/net.sourceforge.phpeclipse.html.ui/build.xml @@ -37,7 +37,7 @@ - + @@ -76,13 +76,15 @@ - - + + + - + + @@ -129,11 +131,11 @@ - - + + - + @@ -142,23 +144,23 @@ - - - + + + - - + + - - + + @@ -181,7 +183,7 @@ - + diff --git a/archive/net.sourceforge.phpeclipse.js.core/build.xml b/archive/net.sourceforge.phpeclipse.js.core/build.xml index 271ec53..2dba85b 100644 --- a/archive/net.sourceforge.phpeclipse.js.core/build.xml +++ b/archive/net.sourceforge.phpeclipse.js.core/build.xml @@ -37,7 +37,7 @@ - + @@ -48,24 +48,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -96,11 +96,11 @@ - - + + - + @@ -109,23 +109,23 @@ - - - + + + - - + + - - + + @@ -148,7 +148,7 @@ - + diff --git a/archive/net.sourceforge.phpeclipse.js.ui/build.xml b/archive/net.sourceforge.phpeclipse.js.ui/build.xml index d8ea014..99bffef 100644 --- a/archive/net.sourceforge.phpeclipse.js.ui/build.xml +++ b/archive/net.sourceforge.phpeclipse.js.ui/build.xml @@ -37,7 +37,7 @@ - + @@ -68,12 +68,14 @@ - - + + + - + + @@ -126,11 +128,11 @@ - - + + - + @@ -139,23 +141,23 @@ - - - + + + - - + + - - + + @@ -178,7 +180,7 @@ - + diff --git a/archive/net.sourceforge.phpeclipse.news/build.xml b/archive/net.sourceforge.phpeclipse.news/build.xml new file mode 100644 index 0000000..8278ec4 --- /dev/null +++ b/archive/net.sourceforge.phpeclipse.news/build.xml @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archive/net.sourceforge.phpeclipse.quantum.sql/build.xml b/archive/net.sourceforge.phpeclipse.quantum.sql/build.xml index 8063615..1d8a2ef 100644 --- a/archive/net.sourceforge.phpeclipse.quantum.sql/build.xml +++ b/archive/net.sourceforge.phpeclipse.quantum.sql/build.xml @@ -66,12 +66,14 @@ - - + + + - + + diff --git a/archive/net.sourceforge.phpeclipse.wiki/build.xml b/archive/net.sourceforge.phpeclipse.wiki/build.xml index 4242819..3f6bc26 100644 --- a/archive/net.sourceforge.phpeclipse.wiki/build.xml +++ b/archive/net.sourceforge.phpeclipse.wiki/build.xml @@ -88,8 +88,8 @@ - - + + @@ -97,6 +97,7 @@ + diff --git a/net.sourceforge.phpeclipse.smarty.ui/build.xml b/net.sourceforge.phpeclipse.smarty.ui/build.xml index cc78e41..df58a48 100644 --- a/net.sourceforge.phpeclipse.smarty.ui/build.xml +++ b/net.sourceforge.phpeclipse.smarty.ui/build.xml @@ -37,7 +37,7 @@ - + @@ -76,13 +76,15 @@ - - + + + - + + @@ -129,11 +131,11 @@ - - + + - + @@ -142,23 +144,23 @@ - - - + + + - - + + - - + + @@ -181,7 +183,7 @@ - + diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Import2Console.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Import2Console.java deleted file mode 100644 index ac2adef..0000000 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Import2Console.java +++ /dev/null @@ -1,64 +0,0 @@ -package net.sourceforge.example.outline; - -import org.eclipse.core.resources.*; -import net.sourceforge.phpdt.core.*; -import org.eclipse.jface.action.*; -import org.eclipse.jface.viewers.*; -import org.eclipse.ui.*; - -public class Import2Console implements IObjectActionDelegate { - - private IWorkbenchPartSite myPartSite = null; - - private IWorkspace myWorkspace = null; - - private IWorkbenchPart myWorkbenchPart = null; - - private IImportDeclaration myType = null; - - public Import2Console() { - // this(new PackageSelector()); - } - - // public CreateMock(IPackageSelector aPackageSelector) { - // myPackageSelector = aPackageSelector; - // } - - /** - * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart) - */ - public void setActivePart(IAction action, IWorkbenchPart targetPart) { - myWorkspace = ResourcesPlugin.getWorkspace(); - myWorkbenchPart = targetPart; - } - - /** - * @see IActionDelegate#run(IAction) - */ - public void run(IAction action) { - try { - String actionId = action.getId(); - showSourceInConsole(actionId); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * @see IActionDelegate#selectionChanged(IAction, ISelection) - */ - public void selectionChanged(IAction action, ISelection selection) { - if (selection instanceof IStructuredSelection) { - Object item = ((IStructuredSelection) selection).getFirstElement(); - myType = (IImportDeclaration) item; // this plugin only reacts to IImportDeclaration's - } - } - - private void showSourceInConsole(String actionId) throws Exception { - - String src = myType.getSource(); - System.out.println("Source :"+src); - - } - -} \ No newline at end of file diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Type2Console.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Type2Console.java deleted file mode 100644 index bb5f55c..0000000 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Type2Console.java +++ /dev/null @@ -1,74 +0,0 @@ -package net.sourceforge.example.outline; - - -import org.eclipse.core.resources.*; -import net.sourceforge.phpdt.core.*; -import org.eclipse.jface.action.*; -import org.eclipse.jface.viewers.*; -import org.eclipse.swt.widgets.*; -import org.eclipse.ui.*; - -public class Type2Console implements IObjectActionDelegate { - private IWorkbenchPartSite myPartSite = null; - - private IWorkspace myWorkspace = null; - - private IWorkbenchPart myWorkbenchPart = null; - - private IType myType = null; - - private Shell myShell = new Shell(); // TBReplaced with getShell() - - public Type2Console() { - } - - /** - * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart) - */ - public void setActivePart(IAction action, IWorkbenchPart targetPart) { - myWorkspace = ResourcesPlugin.getWorkspace(); - myWorkbenchPart = targetPart; - } - - /** - * @see IActionDelegate#run(IAction) - */ - public void run(IAction action) { - try { - - String actionId = action.getId(); - showSourceInConsole(actionId); - - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * @see IActionDelegate#selectionChanged(IAction, ISelection) - */ - public void selectionChanged(IAction action, ISelection selection) { - if (selection instanceof IStructuredSelection) { - Object item = ((IStructuredSelection) selection).getFirstElement(); - myType = (IType) item; // this plugin only reacts to - // "org.eclipse.jdt.core.IType" objects - } - } - - private void showSourceInConsole(String actionId) throws Exception { - if (!(myType.isInterface() || myType.isClass())) { - throw new Exception("incompatible Type"); - } - - IMethod[] methods = myType.getMethods(); - - String fqname = myType.getFullyQualifiedName(); // a.b.c.d.MyClass - System.out.println(fqname + '\n'); - for (int i = 0; i < methods.length; i++) { - System.out.println("Method " + i + ":" - + methods[i].getElementName()); - } - - } - -} \ No newline at end of file diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpdt/internal/compiler/batch/CompilationUnit.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpdt/internal/compiler/batch/CompilationUnit.java new file mode 100644 index 0000000..36ba8e7 --- /dev/null +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpdt/internal/compiler/batch/CompilationUnit.java @@ -0,0 +1,91 @@ +/*********************************************************************************************************************************** + * Copyright (c) 2000, 2004 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made + * available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: IBM Corporation - initial API and implementation + **********************************************************************************************************************************/ +package net.sourceforge.phpdt.internal.compiler.batch; + +import java.io.File; +import java.io.IOException; + +import org.eclipse.core.resources.IResource; + +import net.sourceforge.phpdt.core.compiler.CharOperation; +import net.sourceforge.phpdt.internal.compiler.env.ICompilationUnit; +import net.sourceforge.phpdt.internal.compiler.util.Util; + +public class CompilationUnit implements ICompilationUnit { + public char[] contents; + + public char[] fileName; + + public char[] mainTypeName; + + String encoding; + + public CompilationUnit(char[] contents, String fileName, String encoding) { + this.contents = contents; + if (File.separator.equals("/")) { //$NON-NLS-1$ + if (fileName.indexOf("\\") != -1) { //$NON-NLS-1$ + fileName = fileName.replace('\\', File.separatorChar); + } + } else { + // the file separator is \ + if (fileName.indexOf('/') != -1) { + fileName = fileName.replace('/', File.separatorChar); + } + } + this.fileName = fileName.toCharArray(); + + int start = fileName.lastIndexOf("/") + 1; //$NON-NLS-1$ + if (start == 0 || start < fileName.lastIndexOf("\\")) //$NON-NLS-1$ + start = fileName.lastIndexOf("\\") + 1; //$NON-NLS-1$ + + int end = fileName.lastIndexOf("."); //$NON-NLS-1$ + if (end == -1) + end = fileName.length(); + + this.mainTypeName = fileName.substring(start, end).toCharArray(); + this.encoding = encoding; + } + + public char[] getContents() { + if (this.contents != null) + return this.contents; // answer the cached source + + // otherwise retrieve it + try { + return Util.getFileCharContent(new File(new String(this.fileName)), this.encoding); + } catch (IOException e) { + // assume no content then + } + return CharOperation.NO_CHAR; + } + + public char[] getFileName() { + return this.fileName; + } + + public char[] getMainTypeName() { + return this.mainTypeName; + } + + public char[][] getPackageName() { + return null; + } + + public String toString() { + return "CompilationUnit[" + new String(this.fileName) + "]"; //$NON-NLS-2$ //$NON-NLS-1$ + } + + /* + * (non-Javadoc) + * + * @see net.sourceforge.phpdt.internal.compiler.env.ICompilationUnit#getResource() + */ + public IResource getResource() { + return null; + } +} \ No newline at end of file diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/DualParseSyntaxErrorTest.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/DualParseSyntaxErrorTest.java index 76d4a10..66b7d5d 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/DualParseSyntaxErrorTest.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/DualParseSyntaxErrorTest.java @@ -6,29 +6,8 @@ */ package net.sourceforge.phpeclipse.phpeditor.php.test; -import java.io.PrintWriter; -import java.io.StringWriter; -import java.util.Locale; - -import net.sourceforge.phpdt.core.compiler.IProblem; import net.sourceforge.phpdt.core.tests.util.AbstractCompilerTest; -import net.sourceforge.phpdt.core.tests.util.Util; -import net.sourceforge.phpdt.internal.compiler.CompilationResult; -import net.sourceforge.phpdt.internal.compiler.DefaultErrorHandlingPolicies; -import net.sourceforge.phpdt.internal.compiler.batch.CompilationUnit; -import net.sourceforge.phpdt.internal.compiler.env.ICompilationUnit; -import net.sourceforge.phpdt.internal.compiler.parser.UnitParser; -import net.sourceforge.phpdt.internal.compiler.problem.DefaultProblem; -import net.sourceforge.phpdt.internal.compiler.problem.DefaultProblemFactory; -import net.sourceforge.phpdt.internal.compiler.problem.ProblemReporter; -import net.sourceforge.phpeclipse.internal.compiler.ast.CompilationUnitDeclaration; -/** - * @author khartlage - * - * To change the template for this generated type comment go to - * Window - Preferences - Java - Code Generation - Code and Comments - */ public class DualParseSyntaxErrorTest extends AbstractCompilerTest { public static boolean optimizeStringLiterals = false; diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/PHPFormatterTest.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/PHPFormatterTest.java index 90ab589..8acbb51 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/PHPFormatterTest.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/PHPFormatterTest.java @@ -3,24 +3,31 @@ * */ package net.sourceforge.phpeclipse.phpeditor.php.test; + import java.util.Map; + import junit.framework.TestCase; import net.sourceforge.phpdt.core.JavaCore; import net.sourceforge.phpdt.internal.corext.codemanipulation.StubUtility; import net.sourceforge.phpdt.internal.corext.util.Strings; import net.sourceforge.phpdt.internal.formatter.CodeFormatter; import net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage; + import org.eclipse.jface.text.IDocument; + /** * Testcase for the PHP CodeFormatter * * @author Stefan Langer - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class PHPFormatterTest extends TestCase { private CodeFormatter fFormatter; + private IDocument fDocument; + private String fInitialIndentation; + /* * (non-Javadoc) * @@ -31,6 +38,7 @@ public class PHPFormatterTest extends TestCase { fFormatter = new CodeFormatter(options); fDocument = new DummyDocument(); } + public void testFormatter0() { System.out.println("----- testFormatter0 -----"); String text = ""; @@ -38,16 +46,15 @@ public class PHPFormatterTest extends TestCase { String lineDelimiter = StubUtility.getLineDelimiterFor(fDocument); int indent = 0; if (fInitialIndentation != null) { - indent = Strings.computeIndent(fInitialIndentation, - CodeFormatterPreferencePage.getTabSize()); + indent = Strings.computeIndent(fInitialIndentation, CodeFormatterPreferencePage.getTabSize()); } - String formatedString = fFormatter - .format(text, indent, null, lineDelimiter); - String testResult = ""; + String formatedString = fFormatter.format(text, indent, null, lineDelimiter); + String testResult = ""; junit.framework.Assert.assertEquals(formatedString, testResult); } + public void testFormatter1() { System.out.println("----- testFormatter1 -----"); String text = ""; @@ -55,49 +62,42 @@ public class PHPFormatterTest extends TestCase { String lineDelimiter = StubUtility.getLineDelimiterFor(fDocument); int indent = 0; if (fInitialIndentation != null) { - indent = Strings.computeIndent(fInitialIndentation, - CodeFormatterPreferencePage.getTabSize()); + indent = Strings.computeIndent(fInitialIndentation, CodeFormatterPreferencePage.getTabSize()); } - String formatedString = fFormatter - .format(text, indent, null, lineDelimiter); - String testResult = ""; + String formatedString = fFormatter.format(text, indent, null, lineDelimiter); + String testResult = ""; junit.framework.Assert.assertEquals(formatedString, testResult); } + public void testFormatter2() { // bug 741752 System.out.println("----- testFormatter2 -----"); - String text = ""; + String text = ""; fDocument.set(text); String lineDelimiter = StubUtility.getLineDelimiterFor(fDocument); int indent = 0; if (fInitialIndentation != null) { - indent = Strings.computeIndent(fInitialIndentation, - CodeFormatterPreferencePage.getTabSize()); + indent = Strings.computeIndent(fInitialIndentation, CodeFormatterPreferencePage.getTabSize()); } - String formatedString = fFormatter - .format(text, indent, null, lineDelimiter); - String testResult = ""; + String formatedString = fFormatter.format(text, indent, null, lineDelimiter); + String testResult = ""; junit.framework.Assert.assertEquals(formatedString, testResult); } + public void testFormatter3() { System.out.println("----- testFormatter1 -----"); - String text = ""; + String text = ""; fDocument.set(text); String lineDelimiter = StubUtility.getLineDelimiterFor(fDocument); int indent = 0; if (fInitialIndentation != null) { - indent = Strings.computeIndent(fInitialIndentation, - CodeFormatterPreferencePage.getTabSize()); + indent = Strings.computeIndent(fInitialIndentation, CodeFormatterPreferencePage.getTabSize()); } - String formatedString = fFormatter - .format(text, indent, null, lineDelimiter); - String testResult = ""; junit.framework.Assert.assertEquals(formatedString, testResult); } -} +} \ No newline at end of file diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/OverlibTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/OverlibTestCase.java index a57f7a3..6f4cb49 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/OverlibTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/OverlibTestCase.java @@ -1,6 +1,6 @@ package net.sourceforge.phpeclipse.tests.parser; /******************************************************************************* - * Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.de All rights + * Copyright (c) 2002 www.phpeclipse.de All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPManualTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPManualTestCase.java index c89fc35..a32f03d 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPManualTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPManualTestCase.java @@ -1,6 +1,6 @@ package net.sourceforge.phpeclipse.tests.parser; /******************************************************************************* - * Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.de All rights + * Copyright (c) 2002 www.phpeclipse.de All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java index eb0e083..3dd7166 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java @@ -1,6 +1,6 @@ package net.sourceforge.phpeclipse.tests.parser; /******************************************************************************* - * Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.de All rights + * Copyright (c) 2002 www.phpeclipse.de All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/SmartyCompilerTestCase.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/SmartyCompilerTestCase.java index c4c02ac..88c39dd 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/SmartyCompilerTestCase.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/SmartyCompilerTestCase.java @@ -1,6 +1,6 @@ package net.sourceforge.phpeclipse.tests.parser; /******************************************************************************* - * Copyright (c) 2002 Klaus Hartlage - www.eclipseproject.de All rights + * Copyright (c) 2002 www.phpeclipse.de All rights * reserved. This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html diff --git a/net.sourceforge.phpeclipse.tests/src/test/HelloWorld.java b/net.sourceforge.phpeclipse.tests/src/test/HelloWorld.java new file mode 100644 index 0000000..2f8b47e --- /dev/null +++ b/net.sourceforge.phpeclipse.tests/src/test/HelloWorld.java @@ -0,0 +1,9 @@ +package test; + +class HelloWorld +{ + public static void main(String args[]) + { + System.out.println("Hello World!"); + } +} diff --git a/net.sourceforge.phpeclipse.ui/build.xml b/net.sourceforge.phpeclipse.ui/build.xml new file mode 100644 index 0000000..7b113df --- /dev/null +++ b/net.sourceforge.phpeclipse.ui/build.xml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net.sourceforge.phpeclipse.xml.core/build.xml b/net.sourceforge.phpeclipse.xml.core/build.xml new file mode 100644 index 0000000..29f9344 --- /dev/null +++ b/net.sourceforge.phpeclipse.xml.core/build.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net.sourceforge.phpeclipse.xml.core/plugin.xml b/net.sourceforge.phpeclipse.xml.core/plugin.xml index 8f29db4..d79aefd 100644 --- a/net.sourceforge.phpeclipse.xml.core/plugin.xml +++ b/net.sourceforge.phpeclipse.xml.core/plugin.xml @@ -3,7 +3,7 @@ diff --git a/net.sourceforge.phpeclipse.xml.ui/build.xml b/net.sourceforge.phpeclipse.xml.ui/build.xml new file mode 100644 index 0000000..7df3162 --- /dev/null +++ b/net.sourceforge.phpeclipse.xml.ui/build.xml @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net.sourceforge.phpeclipse.xml.ui/plugin.xml b/net.sourceforge.phpeclipse.xml.ui/plugin.xml index 314d7b0..6ce6bbb 100644 --- a/net.sourceforge.phpeclipse.xml.ui/plugin.xml +++ b/net.sourceforge.phpeclipse.xml.ui/plugin.xml @@ -3,7 +3,7 @@ diff --git a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/editor/XMLEditorMessages.java b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/editor/XMLEditorMessages.java index 1af6716..f63bc52 100644 --- a/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/editor/XMLEditorMessages.java +++ b/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/editor/XMLEditorMessages.java @@ -7,7 +7,7 @@ http://www.eclipse.org/legal/cpl-v10.html Contributors: IBM Corporation - Initial implementation - Klaus Hartlage - www.eclipseproject.de + www.phpeclipse.de **********************************************************************/ package net.sourceforge.phpeclipse.xml.ui.internal.editor; diff --git a/net.sourceforge.phpeclipse/build.xml b/net.sourceforge.phpeclipse/build.xml index b2b2195..fd4254e 100644 --- a/net.sourceforge.phpeclipse/build.xml +++ b/net.sourceforge.phpeclipse/build.xml @@ -37,7 +37,7 @@ - + @@ -48,53 +48,54 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -103,10 +104,10 @@ - - + + @@ -137,12 +138,12 @@ - - + + - - + + @@ -150,23 +151,23 @@ - - - + + + - - + + - - + + @@ -189,7 +190,7 @@ - + -- 1.7.1