Fix Bicycle Refactoring that did not work due to pyDev Update
(Version 1.2.2)
This commit is contained in:
parent
17d25bfe0f
commit
54f0e92eb3
@ -2,7 +2,7 @@
|
|||||||
<feature
|
<feature
|
||||||
id="pyUML"
|
id="pyUML"
|
||||||
label="PyUML Feature"
|
label="PyUML Feature"
|
||||||
version="1.2.1"
|
version="1.2.2"
|
||||||
provider-name="Freie University Berlin, Germany, Martin Dittmar">
|
provider-name="Freie University Berlin, Germany, Martin Dittmar">
|
||||||
|
|
||||||
<description url="http://www.example.com/description">
|
<description url="http://www.example.com/description">
|
||||||
@ -128,7 +128,7 @@ This Agreement is governed by the laws of the State of New York and the intellec
|
|||||||
id="pyUml"
|
id="pyUml"
|
||||||
download-size="541"
|
download-size="541"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="1.2.1"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
</feature>
|
</feature>
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
<classpathentry kind="lib" path="lib/refactoring.jar"/>
|
<classpathentry kind="lib" path="lib/refactoring.jar"/>
|
||||||
|
<classpathentry kind="lib" path="/pydev"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: PyUML
|
Bundle-Name: PyUML
|
||||||
Bundle-SymbolicName: pyUml;singleton:=true
|
Bundle-SymbolicName: pyUml;singleton:=true
|
||||||
Bundle-Version: 1.2.1
|
Bundle-Version: 1.2.2
|
||||||
Bundle-Activator: pyUML.plugin.Activator
|
Bundle-Activator: pyUML.plugin.Activator
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
Bundle-ClassPath: lib/refactoring.jar,
|
Bundle-ClassPath: lib/refactoring.jar,
|
||||||
|
@ -9,13 +9,16 @@ import org.eclipse.core.runtime.IProgressMonitor;
|
|||||||
import org.eclipse.jface.dialogs.MessageDialog;
|
import org.eclipse.jface.dialogs.MessageDialog;
|
||||||
import org.python.copiedfromeclipsesrc.JDTNotAvailableException;
|
import org.python.copiedfromeclipsesrc.JDTNotAvailableException;
|
||||||
import org.python.pydev.core.IPythonNature;
|
import org.python.pydev.core.IPythonNature;
|
||||||
|
import org.python.pydev.core.IPythonPathNature;
|
||||||
import org.python.pydev.core.MisconfigurationException;
|
import org.python.pydev.core.MisconfigurationException;
|
||||||
import org.python.pydev.core.PythonNatureWithoutProjectException;
|
import org.python.pydev.core.PythonNatureWithoutProjectException;
|
||||||
import org.python.pydev.core.REF;
|
import org.python.pydev.core.REF;
|
||||||
import org.python.pydev.editor.codecompletion.shell.AbstractShell;
|
import org.python.pydev.editor.codecompletion.shell.AbstractShell;
|
||||||
|
import org.python.pydev.editor.codecompletion.shell.PythonShell;
|
||||||
import org.python.pydev.editor.refactoring.AbstractPyRefactoring;
|
import org.python.pydev.editor.refactoring.AbstractPyRefactoring;
|
||||||
import org.python.pydev.editor.refactoring.IPyRefactoring;
|
import org.python.pydev.editor.refactoring.IPyRefactoring;
|
||||||
import org.python.pydev.plugin.nature.PythonNature;
|
import org.python.pydev.plugin.nature.PythonNature;
|
||||||
|
import org.python.pydev.plugin.nature.PythonPathNature;
|
||||||
|
|
||||||
|
|
||||||
import pyUML.exceptions.PyUMLSynchronizeCodeException;
|
import pyUML.exceptions.PyUMLSynchronizeCodeException;
|
||||||
@ -47,7 +50,8 @@ public class BicycleRefactoring {
|
|||||||
AbstractShell pytonShell = AbstractShell.getServerShell(pythonNature, AbstractShell.OTHERS_SHELL);
|
AbstractShell pytonShell = AbstractShell.getServerShell(pythonNature, AbstractShell.OTHERS_SHELL);
|
||||||
String output = "";
|
String output = "";
|
||||||
try{
|
try{
|
||||||
pytonShell.changePythonPath(pythonNature.getPythonPathNature().getCompleteProjectPythonPath(null, null)); //default
|
IPythonPathNature n = pythonNature.getPythonPathNature();
|
||||||
|
pytonShell.changePythonPath(pythonNature.getPythonPathNature().getCompleteProjectPythonPath(pythonNature.getProjectInterpreter(), null)); //default
|
||||||
pytonShell.write(refactorCommand);
|
pytonShell.write(refactorCommand);
|
||||||
output = URLDecoder.decode(pytonShell.read((IProgressMonitor)null), "UTF-8");
|
output = URLDecoder.decode(pytonShell.read((IProgressMonitor)null), "UTF-8");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
<name>pyUml_updatesite</name>
|
<name>pyUml_updatesite</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
|
<project>pyUml</project>
|
||||||
|
<project>pyUML_feature</project>
|
||||||
</projects>
|
</projects>
|
||||||
<buildSpec>
|
<buildSpec>
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
|
@ -3,20 +3,14 @@
|
|||||||
<repository name='file:/home/didi/workspace/pyUml_updatesite/ - artifacts' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1.0.0'>
|
<repository name='file:/home/didi/workspace/pyUml_updatesite/ - artifacts' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1.0.0'>
|
||||||
<properties size='2'>
|
<properties size='2'>
|
||||||
<property name='p2.compressed' value='false'/>
|
<property name='p2.compressed' value='false'/>
|
||||||
<property name='p2.timestamp' value='1244465812509'/>
|
<property name='p2.timestamp' value='1244719259775'/>
|
||||||
</properties>
|
</properties>
|
||||||
<mappings size='3'>
|
<mappings size='3'>
|
||||||
<rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>
|
<rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>
|
||||||
<rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/>
|
<rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/>
|
||||||
<rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/>
|
<rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/>
|
||||||
</mappings>
|
</mappings>
|
||||||
<artifacts size='7'>
|
<artifacts size='9'>
|
||||||
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
|
||||||
<properties size='2'>
|
|
||||||
<property name='artifact.size' value='4963'/>
|
|
||||||
<property name='download.size' value='4963'/>
|
|
||||||
</properties>
|
|
||||||
</artifact>
|
|
||||||
<artifact classifier='osgi.bundle' id='pyUml' version='1.2.0'>
|
<artifact classifier='osgi.bundle' id='pyUml' version='1.2.0'>
|
||||||
<properties size='3'>
|
<properties size='3'>
|
||||||
<property name='artifact.size' value='554276'/>
|
<property name='artifact.size' value='554276'/>
|
||||||
@ -24,6 +18,12 @@
|
|||||||
<property name='download.contentType' value='application/zip'/>
|
<property name='download.contentType' value='application/zip'/>
|
||||||
</properties>
|
</properties>
|
||||||
</artifact>
|
</artifact>
|
||||||
|
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
||||||
|
<properties size='2'>
|
||||||
|
<property name='artifact.size' value='4963'/>
|
||||||
|
<property name='download.size' value='4963'/>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
||||||
<properties size='2'>
|
<properties size='2'>
|
||||||
<property name='artifact.size' value='900'/>
|
<property name='artifact.size' value='900'/>
|
||||||
@ -50,11 +50,24 @@
|
|||||||
<property name='download.contentType' value='application/zip'/>
|
<property name='download.contentType' value='application/zip'/>
|
||||||
</properties>
|
</properties>
|
||||||
</artifact>
|
</artifact>
|
||||||
|
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.2'>
|
||||||
|
<properties size='2'>
|
||||||
|
<property name='artifact.size' value='4980'/>
|
||||||
|
<property name='download.size' value='4980'/>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
<artifact classifier='org.eclipse.update.feature' id='pyUML' version='1.2.1'>
|
||||||
<properties size='2'>
|
<properties size='2'>
|
||||||
<property name='artifact.size' value='4980'/>
|
<property name='artifact.size' value='4980'/>
|
||||||
<property name='download.size' value='4980'/>
|
<property name='download.size' value='4980'/>
|
||||||
</properties>
|
</properties>
|
||||||
</artifact>
|
</artifact>
|
||||||
|
<artifact classifier='osgi.bundle' id='pyUml' version='1.2.2'>
|
||||||
|
<properties size='3'>
|
||||||
|
<property name='artifact.size' value='555052'/>
|
||||||
|
<property name='download.size' value='555052'/>
|
||||||
|
<property name='download.contentType' value='application/zip'/>
|
||||||
|
</properties>
|
||||||
|
</artifact>
|
||||||
</artifacts>
|
</artifacts>
|
||||||
</repository>
|
</repository>
|
||||||
|
File diff suppressed because one or more lines are too long
BIN
pyUml_updatesite/features/pyUML_1.2.2.jar
Executable file
BIN
pyUml_updatesite/features/pyUML_1.2.2.jar
Executable file
Binary file not shown.
BIN
pyUml_updatesite/plugins/pyUml_1.2.2.jar
Executable file
BIN
pyUml_updatesite/plugins/pyUml_1.2.2.jar
Executable file
Binary file not shown.
@ -9,6 +9,9 @@
|
|||||||
<feature url="features/pyUML_1.2.1.jar" id="pyUML" version="1.2.1">
|
<feature url="features/pyUML_1.2.1.jar" id="pyUML" version="1.2.1">
|
||||||
<category name="Eclipse PyUML"/>
|
<category name="Eclipse PyUML"/>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature url="features/pyUML_1.2.2.jar" id="pyUML" version="1.2.2">
|
||||||
|
<category name="Eclipse PyUML"/>
|
||||||
|
</feature>
|
||||||
<category-def name="Eclipse PyUML" label="Eclipse PyUML">
|
<category-def name="Eclipse PyUML" label="Eclipse PyUML">
|
||||||
<description>
|
<description>
|
||||||
A UML Roundtrip Tool for Python
|
A UML Roundtrip Tool for Python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user