misc
authoraxelcl <axelcl>
Wed, 29 Dec 2004 22:18:21 +0000 (22:18 +0000)
committeraxelcl <axelcl>
Wed, 29 Dec 2004 22:18:21 +0000 (22:18 +0000)
26 files changed:
archive/net.sourceforge.phpeclipse.css.core/build.xml
archive/net.sourceforge.phpeclipse.css.ui/build.xml
archive/net.sourceforge.phpeclipse.html.ui/build.xml
archive/net.sourceforge.phpeclipse.js.core/build.xml
archive/net.sourceforge.phpeclipse.js.ui/build.xml
archive/net.sourceforge.phpeclipse.news/build.xml [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.quantum.sql/build.xml
archive/net.sourceforge.phpeclipse.wiki/build.xml
net.sourceforge.phpeclipse.smarty.ui/build.xml
net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Import2Console.java [deleted file]
net.sourceforge.phpeclipse.tests/src/net/sourceforge/example/outline/Type2Console.java [deleted file]
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpdt/internal/compiler/batch/CompilationUnit.java [new file with mode: 0644]
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/DualParseSyntaxErrorTest.java
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/phpeditor/php/test/PHPFormatterTest.java
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/OverlibTestCase.java
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPManualTestCase.java
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/PHPParserTestCase.java
net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/tests/parser/SmartyCompilerTestCase.java
net.sourceforge.phpeclipse.tests/src/test/HelloWorld.java [new file with mode: 0644]
net.sourceforge.phpeclipse.ui/build.xml [new file with mode: 0644]
net.sourceforge.phpeclipse.xml.core/build.xml [new file with mode: 0644]
net.sourceforge.phpeclipse.xml.core/plugin.xml
net.sourceforge.phpeclipse.xml.ui/build.xml [new file with mode: 0644]
net.sourceforge.phpeclipse.xml.ui/plugin.xml
net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/editor/XMLEditorMessages.java
net.sourceforge.phpeclipse/build.xml

index 30dc662..23c03f4 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="csscore.jar"                    />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,*.jar,csscore.jar,plugin.properties"                     />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1"/>
-               <copy file="${build.result.folder}/csscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy file="${build.result.folder}/csscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,schema/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1"/>
-               <copy file="${temp.folder}/csscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy file="${temp.folder}/csscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.css.core of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/csscore.jar"/>
                <delete file="${build.result.folder}/csscoresrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
index c62b693..88bb563 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="cssui.jar" excludes="icons/.cvsignore"                  />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,plugin*.properties,cssui.jar,icons/,plugin.properties" excludes="icons/.cvsignore"                       />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1"/>
-               <copy file="${build.result.folder}/cssuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2"/>
+               <copy file="${build.result.folder}/cssuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1"/>
-               <copy file="${temp.folder}/cssui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2"/>
+               <copy file="${temp.folder}/cssui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.ui_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.css.ui of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/cssui.jar"/>
                <delete file="${build.result.folder}/cssuisrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
index 5ee5ae6..d879df7 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="htmlui.jar"                     />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,htmlui.jar,icons/,cpl-v10.html"                  />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1"/>
-               <copy file="${build.result.folder}/htmluisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2"/>
+               <copy file="${build.result.folder}/htmluisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1"/>
-               <copy file="${temp.folder}/htmlui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2"/>
+               <copy file="${temp.folder}/htmlui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.html.ui_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.html.ui of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/htmlui.jar"/>
                <delete file="${build.result.folder}/htmluisrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.html.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
index 271ec53..2dba85b 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <javac destdir="${temp.folder}/jscore.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"            >
                        <compilerarg line="${compilerArg}"/>
                        <classpath>
-                               <pathelement path="../../plugins/org.eclipse.core.resources_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.runtime_3.0.0/runtime.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/core.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/console.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/osgi.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/resolver.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/eclipseAdaptor.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.jface.text_3.0.0/jfacetext.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.text_3.0.0/text.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt_3.0.0/ws/${basews}/swt.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0/ws/${basews}/swt.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0"/>
-                               <pathelement path="../../plugins/org.eclipse.jface_3.0.0/jface.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="jscore.jar"                     />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="icons/,jscoresrc.zip,plugin.xml,plugin.properties,jscore.jar,cpl-v10.html"                  />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy file="${build.result.folder}/jscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy file="${build.result.folder}/jscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy file="${temp.folder}/jscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy file="${temp.folder}/jscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.js.core of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/jscore.jar"/>
                <delete file="${build.result.folder}/jscoresrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
index d8ea014..99bffef 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="jsui.jar"                       />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,*.jar,icons/,plugin.properties,cpl-v10.html,jsui.jar"                    />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1"/>
-               <copy file="${build.result.folder}/jsuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2"/>
+               <copy file="${build.result.folder}/jsuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1"/>
-               <copy file="${temp.folder}/jsui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2"/>
+               <copy file="${temp.folder}/jsui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.ui_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.js.ui of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/jsui.jar"/>
                <delete file="${build.result.folder}/jsuisrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
diff --git a/archive/net.sourceforge.phpeclipse.news/build.xml b/archive/net.sourceforge.phpeclipse.news/build.xml
new file mode 100644 (file)
index 0000000..8278ec4
--- /dev/null
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="net.sourceforge.phpeclipse.news" default="build.jars" basedir=".">
+
+       <property name="bootclasspath" value=""/>
+       <property name="basews" value="${ws}"/>
+       <property name="baseos" value="${os}"/>
+       <property name="basearch" value="${arch}"/>
+       <property name="basenl" value="${nl}"/>
+       <property name="javacFailOnError" value="false"/>
+       <property name="javacDebugInfo" value="on"/>
+       <property name="javacVerbose" value="true"/>
+       <property name="javacSource" value="1.3"/>
+       <property name="javacTarget" value="1.2"/>
+       <property name="compilerArg" value=""/>
+
+       <target name="init" depends="properties">
+               <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="pluginTemp" value="${basedir}"/>
+               <condition property="build.result.folder" value="${pluginTemp}/net.sourceforge.phpeclipse.news">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="build.result.folder" value="${basedir}"/>
+               <property name="temp.folder" value="${basedir}/temp.folder"/>
+               <property name="plugin.destination" value="${basedir}"/>
+       </target>
+
+       <target name="properties" if="eclipse.running">
+               <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+       </target>
+
+       <target name="build.update.jar" depends="init" description="Build the plug-in: net.sourceforge.phpeclipse.news for an update site.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.news_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" filesonly="false" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="rssnews.jar" depends="init" unless="rssnews.jar" description="Create jar: rssnews.jar.">
+               <delete dir="${temp.folder}/rssnews.jar.bin"/>
+               <mkdir dir="${temp.folder}/rssnews.jar.bin"/>
+               <!-- compile the source code -->
+               <javac destdir="${temp.folder}/rssnews.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"           >
+                       <compilerarg line="${compilerArg}"/>
+                       <classpath>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core_3.0.1/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.ui_3.0.1/updateui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.base_3.0.1/helpbase.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/parser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/lucene-1.3-final.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/>
+                               <pathelement path="lib/xmlrpc-1.2-b1.jar"/>
+                       </classpath>
+                       <src path="src/"                        />
+                       </javac>
+               <!-- Copy necessary resources -->
+               <copy todir="${temp.folder}/rssnews.jar.bin" failonerror="true">
+                       <fileset dir="src/" excludes="**/*.java, **/package.htm*"                       />
+               </copy>
+               <mkdir dir="${build.result.folder}"/>
+               <jar jarfile="${build.result.folder}/rssnews.jar" basedir="${temp.folder}/rssnews.jar.bin"/>
+               <delete dir="${temp.folder}/rssnews.jar.bin"/>
+       </target>
+
+       <target name="rssnewssrc.zip" depends="init" unless="rssnewssrc.zip">
+               <mkdir dir="${build.result.folder}"/>
+               <zip zipfile="${build.result.folder}/rssnewssrc.zip" filesonly="false" whenempty="skip" update="false">
+                       <fileset dir="src/" includes="**/*.java"                        />
+               </zip>
+       </target>
+
+       <target name="build.jars" depends="init" description="Build all the jars for the plug-in: net.sourceforge.phpeclipse.news.">
+               <available property="rssnews.jar" file="${build.result.folder}/rssnews.jar"/>
+               <antcall target="rssnews.jar"/>
+       </target>
+
+       <target name="build.sources" depends="init">
+               <available property="rssnewssrc.zip" file="${build.result.folder}/rssnewssrc.zip"/>
+               <antcall target="rssnewssrc.zip"/>
+       </target>
+
+       <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="rssnews.jar" excludes="icons/*.xcf"                     />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="icons/,plugin.xml,rssnewssrc.zip,about.html,lib/,rssnews.jar,default_feeds.properties,changes.txt" excludes="icons/*.xcf"                   />
+               </copy>
+       </target>
+
+       <target name="build.zips" depends="init">
+       </target>
+
+       <target name="gather.sources" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2"/>
+               <copy file="${build.result.folder}/rssnewssrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/"                       />
+               </copy>
+       </target>
+
+       <target name="gather.logs" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2"/>
+               <copy file="${temp.folder}/rssnews.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.news_1.1.2" failonerror="false"/>
+       </target>
+
+       <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.news of all the zips, jars and logs created.">
+               <delete file="${build.result.folder}/rssnews.jar"/>
+               <delete file="${build.result.folder}/rssnewssrc.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.news_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.news_1.1.2.zip"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.news" property="resourcePath"/>
+               <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+       </target>
+
+       <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: net.sourceforge.phpeclipse.news.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="build.sources"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <antcall target="gather.sources">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <delete>
+                       <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
+               </delete>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.news_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+</project>
index 8063615..1d8a2ef 100644 (file)
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
index 4242819..3f6bc26 100644 (file)
@@ -88,8 +88,8 @@
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/>
-                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.webbrowser/bin"/>
-                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
                                <pathelement path="lib/xmlrpc-1.1.jar"/>
                                <pathelement path="lib/radeox.jar"/>
                                <pathelement path="lib/commons-logging.jar"/>
@@ -97,6 +97,7 @@
                                <pathelement path="lib/java2html_4.1.jar"/>
                                <pathelement path="lib/plog4u.jar"/>
                                <pathelement path="lib/velocity-dep-1.4.jar"/>
+                               <pathelement path="lib/mysql-connector.jar"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
index cc78e41..df58a48 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
-                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
                                <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="smartyui.jar"                   />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,icons/,cpl-v10.html,smartyui.jar"                        />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1"/>
-               <copy file="${build.result.folder}/smartyuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2"/>
+               <copy file="${build.result.folder}/smartyuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1"/>
-               <copy file="${temp.folder}/smartyui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2"/>
+               <copy file="${temp.folder}/smartyui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpdt.smarty.ui of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/smartyui.jar"/>
                <delete file="${build.result.folder}/smartyuisrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
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 (file)
index ac2adef..0000000
+++ /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 (file)
index bb5f55c..0000000
+++ /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 (file)
index 0000000..36ba8e7
--- /dev/null
@@ -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
index 76d4a10..66b7d5d 100644 (file)
@@ -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;
                
index 90ab589..8acbb51 100644 (file)
@@ -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 = "<?php\nheader(\"Location: http://www.phpeclipse.de/eclipse/space/eclipse/faq/longlinetester\"); exit; ?>";
@@ -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 = "<?php " 
-        + lineDelimiter + "header(\"Location: http://www.phpeclipse.de/eclipse/space/eclipse/faq/longlinetester\");" + lineDelimiter
-        + "exit;" + lineDelimiter + "?>";
+    String formatedString = fFormatter.format(text, indent, null, lineDelimiter);
+    String testResult = "<?php " + lineDelimiter
+        + "header(\"Location: http://www.phpeclipse.de/eclipse/space/eclipse/faq/longlinetester\");" + lineDelimiter + "exit;"
+        + lineDelimiter + "?>";
     junit.framework.Assert.assertEquals(formatedString, testResult);
   }
+
   public void testFormatter1() {
     System.out.println("----- testFormatter1 -----");
     String text = "<?php\n" + "function test()\n" + "{echo 'Test!';}\n" + "?>";
@@ -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 = "<?php "+ lineDelimiter + "function test() {" + lineDelimiter
-        + "\techo 'Test!';" + lineDelimiter + "}" + lineDelimiter + "?>";
+    String formatedString = fFormatter.format(text, indent, null, lineDelimiter);
+    String testResult = "<?php " + lineDelimiter + "function test() {" + lineDelimiter + "\techo 'Test!';" + lineDelimiter + "}"
+        + lineDelimiter + "?>";
     junit.framework.Assert.assertEquals(formatedString, testResult);
   }
+
   public void testFormatter2() {
     //  bug 741752
     System.out.println("----- testFormatter2 -----");
-    String text = "<?php\n" + "if ( ${ $feldname }== $modellvar) $i=0;\n"
-        + "?>";
+    String text = "<?php\n" + "if ( ${ $feldname }== $modellvar) $i=0;\n" + "?>";
     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 = "<?php " + lineDelimiter + "if (${ $feldname } == $modellvar)"
-        + lineDelimiter + "\t$i = 0;" + lineDelimiter + "?>";
+    String formatedString = fFormatter.format(text, indent, null, lineDelimiter);
+    String testResult = "<?php " + lineDelimiter + "if (${ $feldname } == $modellvar)" + lineDelimiter + "\t$i = 0;"
+        + lineDelimiter + "?>";
     junit.framework.Assert.assertEquals(formatedString, testResult);
   }
+
   public void testFormatter3() {
     System.out.println("----- testFormatter1 -----");
-    String text = "<?php\n \r\n \r\n" + "function test()\n"
-        + "{echo 'Test!';}\n" + "?>";
+    String text = "<?php\n \r\n \r\n" + "function test()\n" + "{echo 'Test!';}\n" + "?>";
     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 = "<?php " + lineDelimiter + " " + lineDelimiter + " "
-        + lineDelimiter + "function test() {" + lineDelimiter
+    String formatedString = fFormatter.format(text, indent, null, lineDelimiter);
+    String testResult = "<?php " + lineDelimiter + " " + lineDelimiter + " " + lineDelimiter + "function test() {" + lineDelimiter
         + "\techo 'Test!';" + lineDelimiter + "}" + lineDelimiter + "?>";
     junit.framework.Assert.assertEquals(formatedString, testResult);
   }
-}
+}
\ No newline at end of file
index a57f7a3..6f4cb49 100644 (file)
@@ -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
index c89fc35..a32f03d 100644 (file)
@@ -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
index eb0e083..3dd7166 100644 (file)
@@ -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
index c4c02ac..88c39dd 100644 (file)
@@ -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 (file)
index 0000000..2f8b47e
--- /dev/null
@@ -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 (file)
index 0000000..7b113df
--- /dev/null
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="net.sourceforge.phpeclipse.ui" default="build.jars" basedir=".">
+
+       <property name="bootclasspath" value=""/>
+       <property name="basews" value="${ws}"/>
+       <property name="baseos" value="${os}"/>
+       <property name="basearch" value="${arch}"/>
+       <property name="basenl" value="${nl}"/>
+       <property name="javacFailOnError" value="false"/>
+       <property name="javacDebugInfo" value="on"/>
+       <property name="javacVerbose" value="true"/>
+       <property name="javacSource" value="1.3"/>
+       <property name="javacTarget" value="1.2"/>
+       <property name="compilerArg" value=""/>
+
+       <target name="init" depends="properties">
+               <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="pluginTemp" value="${basedir}"/>
+               <condition property="build.result.folder" value="${pluginTemp}/net.sourceforge.phpeclipse.ui">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="build.result.folder" value="${basedir}"/>
+               <property name="temp.folder" value="${basedir}/temp.folder"/>
+               <property name="plugin.destination" value="${basedir}"/>
+       </target>
+
+       <target name="properties" if="eclipse.running">
+               <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+       </target>
+
+       <target name="build.update.jar" depends="init" description="Build the plug-in: net.sourceforge.phpeclipse.ui for an update site.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="ui.jar" depends="init" unless="ui.jar" description="Create jar: ui.jar.">
+               <delete dir="${temp.folder}/ui.jar.bin"/>
+               <mkdir dir="${temp.folder}/ui.jar.bin"/>
+               <!-- compile the source code -->
+               <javac destdir="${temp.folder}/ui.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"                >
+                       <compilerarg line="${compilerArg}"/>
+                       <classpath>
+                               <pathelement path="../net.sourceforge.phpeclipse.core/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.core/webcore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core_3.0.1/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.ui_3.0.1/updateui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.base_3.0.1/helpbase.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/parser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/lucene-1.3-final.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
+                       </classpath>
+                       <src path="src/"                        />
+                       </javac>
+               <!-- Copy necessary resources -->
+               <copy todir="${temp.folder}/ui.jar.bin" failonerror="true">
+                       <fileset dir="src/" excludes="**/*.java, **/package.htm*"                       />
+               </copy>
+               <mkdir dir="${build.result.folder}"/>
+               <jar jarfile="${build.result.folder}/ui.jar" basedir="${temp.folder}/ui.jar.bin"/>
+               <delete dir="${temp.folder}/ui.jar.bin"/>
+       </target>
+
+       <target name="uisrc.zip" depends="init" unless="uisrc.zip">
+               <mkdir dir="${build.result.folder}"/>
+               <zip zipfile="${build.result.folder}/uisrc.zip" filesonly="false" whenempty="skip" update="false">
+                       <fileset dir="src/" includes="**/*.java"                        />
+               </zip>
+       </target>
+
+       <target name="build.jars" depends="init" description="Build all the jars for the plug-in: net.sourceforge.phpeclipse.ui.">
+               <available property="ui.jar" file="${build.result.folder}/ui.jar"/>
+               <antcall target="ui.jar"/>
+       </target>
+
+       <target name="build.sources" depends="init">
+               <available property="uisrc.zip" file="${build.result.folder}/uisrc.zip"/>
+               <antcall target="uisrc.zip"/>
+       </target>
+
+       <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="ui.jar"                 />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="plugin.xml,cpl-v10.html,icons/,plugin.properties,templates/,ui.jar"                 />
+               </copy>
+       </target>
+
+       <target name="build.zips" depends="init">
+       </target>
+
+       <target name="gather.sources" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2"/>
+               <copy file="${build.result.folder}/uisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
+               </copy>
+       </target>
+
+       <target name="gather.logs" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2"/>
+               <copy file="${temp.folder}/ui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.ui_1.1.2" failonerror="false"/>
+       </target>
+
+       <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.ui of all the zips, jars and logs created.">
+               <delete file="${build.result.folder}/ui.jar"/>
+               <delete file="${build.result.folder}/uisrc.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.ui_1.1.2.zip"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.ui" property="resourcePath"/>
+               <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+       </target>
+
+       <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: net.sourceforge.phpeclipse.ui.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="build.sources"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <antcall target="gather.sources">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <delete>
+                       <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
+               </delete>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+</project>
diff --git a/net.sourceforge.phpeclipse.xml.core/build.xml b/net.sourceforge.phpeclipse.xml.core/build.xml
new file mode 100644 (file)
index 0000000..29f9344
--- /dev/null
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="net.sourceforge.phpeclipse.xml.core" default="build.jars" basedir=".">
+
+       <property name="bootclasspath" value=""/>
+       <property name="basews" value="${ws}"/>
+       <property name="baseos" value="${os}"/>
+       <property name="basearch" value="${arch}"/>
+       <property name="basenl" value="${nl}"/>
+       <property name="javacFailOnError" value="false"/>
+       <property name="javacDebugInfo" value="on"/>
+       <property name="javacVerbose" value="true"/>
+       <property name="javacSource" value="1.3"/>
+       <property name="javacTarget" value="1.2"/>
+       <property name="compilerArg" value=""/>
+
+       <target name="init" depends="properties">
+               <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="pluginTemp" value="${basedir}"/>
+               <condition property="build.result.folder" value="${pluginTemp}/net.sourceforge.phpeclipse.xml.core">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="build.result.folder" value="${basedir}"/>
+               <property name="temp.folder" value="${basedir}/temp.folder"/>
+               <property name="plugin.destination" value="${basedir}"/>
+       </target>
+
+       <target name="properties" if="eclipse.running">
+               <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+       </target>
+
+       <target name="build.update.jar" depends="init" description="Build the plug-in: net.sourceforge.phpeclipse.xml.core for an update site.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.xml.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" filesonly="false" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="xmlcore.jar" depends="init" unless="xmlcore.jar" description="Create jar: xmlcore.jar.">
+               <delete dir="${temp.folder}/xmlcore.jar.bin"/>
+               <mkdir dir="${temp.folder}/xmlcore.jar.bin"/>
+               <!-- compile the source code -->
+               <javac destdir="${temp.folder}/xmlcore.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"           >
+                       <compilerarg line="${compilerArg}"/>
+                       <classpath>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.core/bin"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.core/webcore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                       </classpath>
+                       <src path="src/"                        />
+                       </javac>
+               <!-- Copy necessary resources -->
+               <copy todir="${temp.folder}/xmlcore.jar.bin" failonerror="true">
+                       <fileset dir="src/" excludes="**/*.java, **/package.htm*"                       />
+               </copy>
+               <mkdir dir="${build.result.folder}"/>
+               <jar jarfile="${build.result.folder}/xmlcore.jar" basedir="${temp.folder}/xmlcore.jar.bin"/>
+               <delete dir="${temp.folder}/xmlcore.jar.bin"/>
+       </target>
+
+       <target name="xmlcoresrc.zip" depends="init" unless="xmlcoresrc.zip">
+               <mkdir dir="${build.result.folder}"/>
+               <zip zipfile="${build.result.folder}/xmlcoresrc.zip" filesonly="false" whenempty="skip" update="false">
+                       <fileset dir="src/" includes="**/*.java"                        />
+               </zip>
+       </target>
+
+       <target name="build.jars" depends="init" description="Build all the jars for the plug-in: net.sourceforge.phpeclipse.xml.core.">
+               <available property="xmlcore.jar" file="${build.result.folder}/xmlcore.jar"/>
+               <antcall target="xmlcore.jar"/>
+       </target>
+
+       <target name="build.sources" depends="init">
+               <available property="xmlcoresrc.zip" file="${build.result.folder}/xmlcoresrc.zip"/>
+               <antcall target="xmlcoresrc.zip"/>
+       </target>
+
+       <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="xmlcore.jar"                    />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="plugin.xml,xmlcore.jar,cpl-v10.html,plugin.properties"                      />
+               </copy>
+       </target>
+
+       <target name="build.zips" depends="init">
+       </target>
+
+       <target name="gather.sources" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2"/>
+               <copy file="${build.result.folder}/xmlcoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
+               </copy>
+       </target>
+
+       <target name="gather.logs" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2"/>
+               <copy file="${temp.folder}/xmlcore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.core_1.1.2" failonerror="false"/>
+       </target>
+
+       <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.xml.core of all the zips, jars and logs created.">
+               <delete file="${build.result.folder}/xmlcore.jar"/>
+               <delete file="${build.result.folder}/xmlcoresrc.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.xml.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.xml.core_1.1.2.zip"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.xml.core" property="resourcePath"/>
+               <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+       </target>
+
+       <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: net.sourceforge.phpeclipse.xml.core.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="build.sources"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <antcall target="gather.sources">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <delete>
+                       <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
+               </delete>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.xml.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+</project>
index 8f29db4..d79aefd 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.xml.core"
    name="%pluginName"
-   version="1.1.1"
+   version="1.1.2"
    provider-name="%providerName"
    class="">
 
diff --git a/net.sourceforge.phpeclipse.xml.ui/build.xml b/net.sourceforge.phpeclipse.xml.ui/build.xml
new file mode 100644 (file)
index 0000000..7df3162
--- /dev/null
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="net.sourceforge.phpeclipse.xml.ui" default="build.jars" basedir=".">
+
+       <property name="bootclasspath" value=""/>
+       <property name="basews" value="${ws}"/>
+       <property name="baseos" value="${os}"/>
+       <property name="basearch" value="${arch}"/>
+       <property name="basenl" value="${nl}"/>
+       <property name="javacFailOnError" value="false"/>
+       <property name="javacDebugInfo" value="on"/>
+       <property name="javacVerbose" value="true"/>
+       <property name="javacSource" value="1.3"/>
+       <property name="javacTarget" value="1.2"/>
+       <property name="compilerArg" value=""/>
+
+       <target name="init" depends="properties">
+               <condition property="pluginTemp" value="${buildTempFolder}/plugins">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="pluginTemp" value="${basedir}"/>
+               <condition property="build.result.folder" value="${pluginTemp}/net.sourceforge.phpeclipse.xml.ui">
+                       <isset property="buildTempFolder"/>
+               </condition>
+               <property name="build.result.folder" value="${basedir}"/>
+               <property name="temp.folder" value="${basedir}/temp.folder"/>
+               <property name="plugin.destination" value="${basedir}"/>
+       </target>
+
+       <target name="properties" if="eclipse.running">
+               <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+       </target>
+
+       <target name="build.update.jar" depends="init" description="Build the plug-in: net.sourceforge.phpeclipse.xml.ui for an update site.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.xml.ui_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" filesonly="false" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="xmlui.jar" depends="init" unless="xmlui.jar" description="Create jar: xmlui.jar.">
+               <delete dir="${temp.folder}/xmlui.jar.bin"/>
+               <mkdir dir="${temp.folder}/xmlui.jar.bin"/>
+               <!-- compile the source code -->
+               <javac destdir="${temp.folder}/xmlui.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"             >
+                       <compilerarg line="${compilerArg}"/>
+                       <classpath>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.core/bin"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.core/webcore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.xml.core/bin"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.xml.core/xmlcore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.ui/bin"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.ui/ui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/bin"/>
+                               <pathelement path="../org.eclipse.ui.workbench/compatibility.jar"/>
+                               <pathelement path="../org.eclipse.ui.workbench/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
+                               <pathelement path="../org.eclipse.ui.ide/bin"/>
+                               <pathelement path="../org.eclipse.ui.ide/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core_3.0.1/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.ui_3.0.1/updateui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.base_3.0.1/helpbase.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/parser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/lucene-1.3-final.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.webbrowser/bin"/>
+                               <pathelement path="${build.result.folder}/../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.compare_3.0.0/compare.jar"/>
+                       </classpath>
+                       <src path="src/"                        />
+                       </javac>
+               <!-- Copy necessary resources -->
+               <copy todir="${temp.folder}/xmlui.jar.bin" failonerror="true">
+                       <fileset dir="src/" excludes="**/*.java, **/package.htm*"                       />
+               </copy>
+               <mkdir dir="${build.result.folder}"/>
+               <jar jarfile="${build.result.folder}/xmlui.jar" basedir="${temp.folder}/xmlui.jar.bin"/>
+               <delete dir="${temp.folder}/xmlui.jar.bin"/>
+       </target>
+
+       <target name="xmluisrc.zip" depends="init" unless="xmluisrc.zip">
+               <mkdir dir="${build.result.folder}"/>
+               <zip zipfile="${build.result.folder}/xmluisrc.zip" filesonly="false" whenempty="skip" update="false">
+                       <fileset dir="src/" includes="**/*.java"                        />
+               </zip>
+       </target>
+
+       <target name="build.jars" depends="init" description="Build all the jars for the plug-in: net.sourceforge.phpeclipse.xml.ui.">
+               <available property="xmlui.jar" file="${build.result.folder}/xmlui.jar"/>
+               <antcall target="xmlui.jar"/>
+       </target>
+
+       <target name="build.sources" depends="init">
+               <available property="xmluisrc.zip" file="${build.result.folder}/xmluisrc.zip"/>
+               <antcall target="xmluisrc.zip"/>
+       </target>
+
+       <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="xmlui.jar"                      />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="plugin.xml,icons/,cpl-v10.html,plugin.properties,xmlui.jar"                 />
+               </copy>
+       </target>
+
+       <target name="build.zips" depends="init">
+       </target>
+
+       <target name="gather.sources" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2"/>
+               <copy file="${build.result.folder}/xmluisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/,.classpath,.project,.cvsignore"                        />
+               </copy>
+       </target>
+
+       <target name="gather.logs" depends="init" if="destination.temp.folder">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2"/>
+               <copy file="${temp.folder}/xmlui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.xml.ui_1.1.2" failonerror="false"/>
+       </target>
+
+       <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.xml.ui of all the zips, jars and logs created.">
+               <delete file="${build.result.folder}/xmlui.jar"/>
+               <delete file="${build.result.folder}/xmluisrc.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.xml.ui_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.xml.ui_1.1.2.zip"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+       <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.xml.ui" property="resourcePath"/>
+               <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+       </target>
+
+       <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: net.sourceforge.phpeclipse.xml.ui.">
+               <delete dir="${temp.folder}"/>
+               <mkdir dir="${temp.folder}"/>
+               <antcall target="build.jars"/>
+               <antcall target="build.sources"/>
+               <antcall target="gather.bin.parts">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <antcall target="gather.sources">
+                       <param name="destination.temp.folder" value="${temp.folder}/"/>
+               </antcall>
+               <delete>
+                       <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
+               </delete>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.xml.ui_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <delete dir="${temp.folder}"/>
+       </target>
+
+</project>
index 314d7b0..6ce6bbb 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.xml.ui"
    name="%pluginName"
-   version="1.1.1"
+   version="1.1.2"
    provider-name="%providerName"
    class="net.sourceforge.phpeclipse.xml.ui.XMLPlugin">
 
index 1af6716..f63bc52 100644 (file)
@@ -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;
 
index b2b2195..fd4254e 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse_1.1.0.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse_1.1.0" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <javac destdir="${temp.folder}/phpeclipse.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"                >
                        <compilerarg line="${compilerArg}"/>
                        <classpath>
-                               <pathelement path="../../plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.runtime_3.0.0/runtime.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/core.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/console.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/osgi.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/resolver.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/eclipseAdaptor.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui_3.0.0/ui.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.help_3.0.0/help.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt_3.0.0/ws/${basews}/swt.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0/ws/${basews}/swt.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0"/>
-                               <pathelement path="../../plugins/org.eclipse.jface_3.0.0/jface.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.workbench_3.0.0/compatibility.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.workbench_3.0.0/workbench.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.console_3.0.0/console.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.jface.text_3.0.0/jfacetext.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.text_3.0.0/text.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.workbench.texteditor_3.0.0/texteditor.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.search_3.0.0/search.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.filebuffers_3.0.0/filebuffers.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.ide_3.0.0/ide.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/ide.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/workbenchwin32.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.update.core_3.0.0/updatecore.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.update.ui_3.0.0/updateui.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.help.base_3.0.0/helpbase.jar"/>
-                               <pathelement path="../../plugins/org.apache.lucene_1.3.0/parser.jar"/>
-                               <pathelement path="../../plugins/org.apache.lucene_1.3.0/lucene-1.3-final.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.editors_3.0.0/editors.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.debug.core_3.0.0/dtcore.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.variables_3.0.0/variables.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.debug.ui_3.0.0/dtui.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.compare_3.0.0/compare.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.externaltools_3.0.0/externaltools.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui_3.0.1/ui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help_3.0.0/help.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench_3.0.1/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.console_3.0.0/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.workbench.texteditor_3.0.1/texteditor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.search_3.0.1/search.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.filebuffers_3.0.1/filebuffers.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.ide_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/ide.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.win32_3.0.1/workbenchwin32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.views_3.0.0/views.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core_3.0.1/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.core.win32_3.0.0/updatecore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.ui_3.0.1/updateui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.base_3.0.1/helpbase.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/parser.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.apache.lucene_1.3.1/lucene-1.3-final.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.help.appserver_3.0.0/appserver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.forms_3.0.0/forms.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.editors_3.0.1/editors.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.debug.core_3.0.1/dtcore.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.variables_3.0.0/variables.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.debug.ui_3.0.1/dtui.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.compare_3.0.0/compare.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.ui.externaltools_3.0.1/externaltools.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.team.core_3.0.0/team.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.quantum.sql/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.quantum.sql/quantum.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.webbrowser/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.core/webcore.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.ui/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.ui/ui.jar"/>
-                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/bin"/>
-                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/xmlui.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.xml.core/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.xml.core/xmlcore.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/xmlui.jar"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="phpeclipse.jar"                 />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="true">
-                       <fileset dir="${basedir}" includes="phpeclipse.jar,icons/,install.txt,plugin.properties,plugin.xml,cpl-v10.html"                        />
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="phpeclipse.jar,icons/,install.txt,plugin.properties,plugin.xml,cpl-v10.html,templates/"                     />
                </copy>
        </target>
 
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0"/>
-               <copy file="${build.result.folder}/phpeclipsesrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2"/>
+               <copy file="${build.result.folder}/phpeclipsesrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0"/>
-               <copy file="${temp.folder}/phpeclipse.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2"/>
+               <copy file="${temp.folder}/phpeclipse.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/phpeclipse.jar"/>
                <delete file="${build.result.folder}/phpeclipsesrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse_1.1.0.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse_1.1.0.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse_1.1.0.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>