Update dependencies
This commit is contained in:
parent
7cf1419cc4
commit
f0fab8c936
@ -17,7 +17,7 @@
|
||||
<classpathentry kind="lib" path="lib/icu4j.jar"/>
|
||||
<classpathentry kind="lib" path="lib/j2objc-annotations.jar"/>
|
||||
<classpathentry kind="lib" path="lib/javassist.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JavaTXcompiler.jar" sourcepath="C:/Users/Daniel/Documents/Programming/JavaCompilerCore/src/main/java"/>
|
||||
<classpathentry kind="lib" path="lib/JavaTXcompiler.jar" sourcepath="/home/vic/Documents/Programming/JavaCompilerCore/src"/>
|
||||
<classpathentry kind="lib" path="lib/javax.json.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jsr305.jar"/>
|
||||
<classpathentry kind="lib" path="lib/listenablefuture.jar"/>
|
||||
|
@ -10,6 +10,7 @@ import java.io.IOException;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
@ -122,10 +123,11 @@ public class Typinferenz {
|
||||
}
|
||||
|
||||
public String getOutputDirectory() {
|
||||
String outputDirectory = editor.getFilePath().toString();
|
||||
outputDirectory = outputDirectory.substring(0,
|
||||
outputDirectory.length() - editor.getFilePath().lastSegment().length());// ".jav" hat Länge 4
|
||||
return outputDirectory;
|
||||
var path = Path.of(editor.getFilePath().toString());
|
||||
var parentFolder = path.getParent().getParent();
|
||||
var classFilePath = parentFolder.resolve("classFiles");
|
||||
classFilePath.toFile().mkdirs();
|
||||
return classFilePath.toString();
|
||||
}
|
||||
|
||||
public void updateresultSets(Vector<ResultSet> typeInsertResults) {
|
||||
|
@ -1,8 +1,10 @@
|
||||
package typinferenzplugin.editor;
|
||||
|
||||
|
||||
import java.awt.GraphicsDevice;
|
||||
import java.util.Vector;
|
||||
|
||||
import org.eclipse.jdt.ui.ISharedImages;
|
||||
import org.eclipse.jface.action.Action;
|
||||
import org.eclipse.jface.action.IAction;
|
||||
import org.eclipse.jface.action.IMenuListener;
|
||||
@ -17,12 +19,15 @@ import org.eclipse.jface.viewers.SelectionChangedEvent;
|
||||
import org.eclipse.jface.viewers.TreeViewer;
|
||||
import org.eclipse.jface.viewers.Viewer;
|
||||
import org.eclipse.jface.viewers.ViewerCell;
|
||||
import org.eclipse.swt.graphics.Device;
|
||||
import org.eclipse.swt.graphics.Image;
|
||||
import org.eclipse.swt.graphics.Point;
|
||||
import org.eclipse.swt.widgets.Button;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Control;
|
||||
import org.eclipse.swt.widgets.Menu;
|
||||
import org.eclipse.swt.widgets.TreeItem;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
import org.eclipse.ui.actions.ActionFactory;
|
||||
import org.eclipse.ui.texteditor.IDocumentProvider;
|
||||
import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
|
||||
@ -249,5 +254,4 @@ class SyntaxTreeLabelProvider extends LabelProvider{
|
||||
return generator.getDescription();
|
||||
//return "test";
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2,12 +2,6 @@
|
||||
<?pde version="3.8"?>
|
||||
<target name="JavaCompilerPlugin.Target" sequenceNumber="2">
|
||||
<locations>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<repository location="https://download.eclipse.org/eclipse/updates/4.27/"/>
|
||||
<unit id="org.eclipse.equinox.p2.sdk.feature.group" version="3.11.1900.v20230120-0604"/>
|
||||
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.23.700.v20230220-1352"/>
|
||||
<unit id="org.eclipse.platform.sdk" version="4.27.0.I20230302-0300"/>
|
||||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<repository location="https://download.eclipse.org/tools/orbit/downloads/drops/R20230302014618/repository/"/>
|
||||
<unit id="ch.qos.logback.slf4j" version="1.2.3.v20221112-0806"/>
|
||||
@ -31,6 +25,12 @@
|
||||
<unit id="org.eclipse.swtbot.ide.feature.group" version="4.0.0.202206011610"/>
|
||||
<unit id="org.eclipse.swtbot.junit5.feature.group" version="4.0.0.202206011610"/>
|
||||
</location>
|
||||
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
|
||||
<repository location="https://download.eclipse.org/eclipse/updates/4.28/"/>
|
||||
<unit id="org.eclipse.equinox.p2.sdk.feature.group" version="3.11.2000.v20230510-1208"/>
|
||||
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.23.800.v20230523-2142"/>
|
||||
<unit id="org.eclipse.platform.sdk" version="4.28.0.I20230605-0440"/>
|
||||
</location>
|
||||
</locations>
|
||||
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-19"/>
|
||||
</target>
|
Loading…
Reference in New Issue
Block a user