Commit c238013f authored by andrei's avatar andrei

Updated code to be compilable with JDT(Eclipse) 3.6.0

parent ae9175d6
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Bytecode Outline
Bundle-SymbolicName: de.loskutov.BytecodeOutline;singleton:=true
Bundle-Version: 2.3.0
Bundle-Version: 2.3.1
Bundle-ClassPath: .,
lib/asm-3.3.jar,
lib/asm-analysis-3.3.jar,
......@@ -15,7 +15,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui.editors,
org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.jdt.core;bundle-version="3.5.0",
org.eclipse.jdt.core;bundle-version="3.6.0",
org.eclipse.ui.workbench.texteditor,
org.eclipse.jdt.ui,
org.eclipse.ui.ide,
......
plugin.id=de.loskutov.BytecodeOutline
plugin.version=2.3.0
plugin.version=2.3.1
bin.includes = LICENSE.txt,\
README.txt,\
......
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="de.loskutov.BytecodeOutline.feature"
label="Bytecode Outline"
version="2.3.0"
provider-name="Andrei Loskutov">
<description url="http://asm.objectweb.org/eclipse/bco/index.html">
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="de.loskutov.BytecodeOutline.feature"
label="Bytecode Outline"
version="2.3.1"
provider-name="Andrei Loskutov">
<description url="http://asm.objectweb.org/eclipse/bco/index.html">
Feature contains bytecode outline and bytecode comparison view
for any java/class file.
</description>
<copyright url="..">
for any java/class file.
</description>
<copyright url="..">
Copyright (C)2004-2007 by Andrei Loskutov Loskutov@gmx.de
All rights reserved.
</copyright>
<license>
All rights reserved.
</copyright>
<license>
Copyright (C)2004-2007 by Andrei Loskutov Loskutov@gmx.de
All rights reserved.
......@@ -25,38 +25,38 @@ Redistribution and use in source and binary forms, with or without modification,
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS&apos;&apos; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</license>
<url>
<update label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
<discovery label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
</url>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.jdt.ui"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.compare"/>
<import plugin="org.eclipse.ui.console"/>
<import plugin="org.eclipse.help.base"/>
<import plugin="org.eclipse.help.appserver"/>
<import plugin="org.eclipse.jdt.debug.ui"/>
<import plugin="org.eclipse.debug.ui"/>
<import plugin="org.eclipse.jdt.debug"/>
<import plugin="org.eclipse.jdt.core" version="3.5.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.net"/>
</requires>
<plugin
id="de.loskutov.BytecodeOutline"
download-size="710"
install-size="710"
version="2.3.0"
unpack="false"/>
</feature>
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS&apos;&apos; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</license>
<url>
<update label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
<discovery label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
</url>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.jdt.ui"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.compare"/>
<import plugin="org.eclipse.ui.console"/>
<import plugin="org.eclipse.help.base"/>
<import plugin="org.eclipse.help.appserver"/>
<import plugin="org.eclipse.jdt.debug.ui"/>
<import plugin="org.eclipse.debug.ui"/>
<import plugin="org.eclipse.jdt.debug"/>
<import plugin="org.eclipse.jdt.core" version="3.6.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.net"/>
</requires>
<plugin
id="de.loskutov.BytecodeOutline"
download-size="710"
install-size="710"
version="2.3.1"
unpack="false"/>
</feature>
......@@ -28,4 +28,10 @@
<archive path="plugins/de.loskutov.BytecodeOutline_2.3.0.jar" url="http://download.forge.objectweb.org/asm/de.loskutov.BytecodeOutline_2.3.0.jar"/>
<category-def name="Bytecode Outline for Eclipse 3.5" label="Bytecode Outline for Eclipse 3.5"/>
<feature url="features/de.loskutov.BytecodeOutline.feature_2.3.1.jar" id="de.loskutov.BytecodeOutline.feature" version="2.3.1">
<category name="Bytecode Outline for Eclipse 3.6"/>
</feature>
<archive path="plugins/de.loskutov.BytecodeOutline_2.3.1.jar" url="http://download.forge.objectweb.org/asm/de.loskutov.BytecodeOutline_2.3.1.jar"/>
<category-def name="Bytecode Outline for Eclipse 3.5" label="Bytecode Outline for Eclipse 3.6"/>
</site>
......@@ -175,6 +175,7 @@ public class BytecodeActionBarContributor
String[] changedAttributes = {CPListElement.SOURCEATTACHMENT};
BuildPathSupport.modifyClasspathEntry(
shell, cpe, changedAttributes, javaProject, containerPath,
cpe.getReferencingEntry() != null,
new NullProgressMonitor());
} catch (CoreException e) {
BytecodeOutlinePlugin.error(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment