Builder in Eclipse

Status
Nicht offen für weitere Antworten.
M

modad

Gast
Hallo Zusammen,

ich versuche gerade in Eclipse einen zusätzlichen Project Builder an zu hängen, den ich in Python geschrieben habe.

Eclipse weigert sich allerdings:

Errors during build.
Errors running builder 'Integrated External Tool Builder' on project 'DDPythonWeb'.
Exception occurred executing command line.
Cannot run program "C:\eclipseWorkspace\Python\src\cgi-bin-copy.py" (in directory "C:\eclipseWorkspace\DDWeb"): CreateProcess error=193, %1 ist keine zulässige Win32-Anwendung


er erkennt das Python Programm nicht als Win32 Anwendung. Im Explorer lassen sich die Files ausführen, genau wie in der Eingabeaufforderung.

Jemand eine Idee?
 

Wildcard

Top Contributor
modad hat gesagt.:
Cannot run program "C:\eclipseWorkspace\Python\src\cgi-bin-copy.py" (in directory "C:\eclipseWorkspace\DDWeb"): CreateProcess error=193, %1 ist keine zulässige Win32-Anwendung
Das ist eher eine Fehlermeldung deines Betriebssystems.
C:\eclipseWorkspace\Python\src\cgi-bin-copy.py
Wenn du das in der Shell eingibst läuft es wohl auch nicht. Das Python Skropt musst du mit dem Python Interpreter starten.
 
G

Guest

Gast
Wenn ich den Aufruf des Py-Scriptes in eine *bat Datei packe, wäre Eclipse auch damit einverstanden:

Code:
@echo on
echo %1
C:\eclipseWorkspace\Python\src\cgi-bin-copy.py %1 %2

aber das ganze finde ich mehr als umständlich...

Wenn ich "python" vor das au zu führende Script schreibe geht es auch, kann ich Eclipse das mitteilen das er das als "python DATEINAME" ausführen soll?

Grüße
 

Wildcard

Top Contributor
negativ. Wenn ich das in die Shell eingebe wird das Programm ausgeführt, darum wundert mich das verhalten von Eclipse ja auch so
Ich bin jetzt nicht so der Windows-Mensch, aber das ist dann irgendein Hack, bzw. eine Funktionalität der Shell.
Python Scripte sind, wie Java .class Dateien nicht ausführbar, also kann man sie auch nicht einfach an die Runtime übergeben.
Wie hast du den Builder denn registriert?
 
M

modad

Gast
Über die Projekt Properties, im "Builders", neues "Program" angelegt, das PyScript als Location ausgewählt, das Projekt als Working Directory, und 2 Parameter angegeben... wüsste auch nicht an welcher stelle ich ihm sagen muss das es sich um ein "phyton" Programm handelt... :(
 
M

modad

Gast
*an den Kopf schlag*

natürlich...da sagst du was :) . Das mir das nicht selber aufgefallen ist..^^ so gehts natürlich:

Programm Location: die "python.exe"

also Parameter: das Skript das ausgeführt werden soll, + eventuell zusätzliche Parameter


it works !

Vielen dank für dein investierten Gehirnschmalz!
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
H GUI Builder Jigloo für Eclipse Helios ??? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B GUI Builder für Eclipse? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
Z Eclipse 3.6.1 auf deutsch und GUI- Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Houly GUI-Builder Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
byte Tipp: Eclipse Builder Pattern Plugin IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
G Gui-Builder-Plugin für Eclipse ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
B GUI-Builder für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
S Eclipse GCJ Builder Plugin IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
G Eclipse Gui Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G GUI Builder für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
G gui builder plugin für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T NetBeans GUI Builder Probleme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
S NetBeans Gui Builder Resourcebundle IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Netbeans GUI Builder größe ändern IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
F Netbean GUI Builder Alternative IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
J Gui builder öffnen nach neuinstallation IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
T NetBeans Matisse GUI Builder (Quellcode einsehen) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
J NetBeans GUI Builder und eigene ActionListener Klasse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
H NetBeans SWING GUI Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
B Netbeans GUI-Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B GUI Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
G NetBeans 6.0/GUI Builder: JMenuBar nicht sichtbar IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Netbeans: Java Klasse in GUI Builder verwenden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Netbeans GUI-Builder: Elemente als Array IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
R finde den matisse gui builder in netbeans 6 nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N NetBeans GUI Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Netbeans->GUI Builder-> generierten Code editierbar ma IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
G GUI Builder Frage WICHTIG! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
H GUI Builder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
A Swing-GUI-Builder: JBuilder, NetBeans oder Visual Editor? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
E GUI-Builder für Swing IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
R Eclipse beim Ausführen zur Eingabe in die Konsole springen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse oder IntelliJ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
JonasM Gibt es eine Libary in Eclipse mit der ich Daten per USB an einen Microkontroller Senden kann? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Erstellen einer ausführbaren jar Datei in Eclipse (Linux Mint) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
O Eclipse stürzt beim Autovervollständigen ab IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
C In Eclipse Einrückung im Java-Editor einstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Avalon html ist nicht html in eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A Docker im Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Robertop Eclipse resolved Target-Platform nicht wegen automatischem HTTPS IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Eclipse englisch, deutsche Kommentare leider rot unterkringelt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse von Java 1.8 auf 17 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S [Eclipse] Zwei verschiedene Konfigurationen erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
A Eclipse Projekt-Umzug mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
D Eclipse Eclipse und OpenGL IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Ausführbares Programm aus Eclipse exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
Java00User00 Eclipse Theme IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Eclipse für Java 1.8 ARM einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
D Crawler funktioniert in intellij aber in Eclipse nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
U Problem mit Eclipse - WindowBuilder - memoryLeak? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
F Eclipse - Änderung am Code ohne Applikation Neustart IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
E Hilfe mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Eclipse version control System das ohne Internet funktioniert/nur lokal auf Computer? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
B Eclipse Problem mit jar Datei? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
N Eclipse erzeugt plötzlich keine (default package) mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 24
F alle Eclipse Projekte auf git hochladen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
O Java Eclipse Umlaute werden nicht richtig dargestellt in Konsole IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
B .exe Datei für Eclipse Java Programm erstellen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
Eclipse Build path duplication entry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
B Wie nicht-java Datei mit Eclipse benutzen (Excel Datei einlesen)? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
T GlassFish mit Eclipse, Dynamic Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nbergmann Eclipse Eclipse-Concole: Ergebnis-Zahlenfolge erscheint kurz und verschwindet dann wieder IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 21
berserkerdq2 Eclipse Eclipse führt nicht dei Klasse aus, bei der ich bin, muss das immer manuell ändern, was tun? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
MiHimbert Eclipse + Wildfly26 + primefaces11 + openjdk18 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
S Eclipse Umlaute IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
S Fehlermeldung bei Nutzung Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
LimDul IDEA IntelliJ Tipps für den Umstieg von Eclipse auf intelliJ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Robertop Maven Warnung "'version' contains an expression but should be a constant" in Eclipse verstecken IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J Eclipse - kein Server verfügbar zum ausführen meines Java Projektes IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
P PHP Skript wird nicht mit highlights markiert(Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B Eclipse Autovervollständigung zeigt nicht alle Methoden einer Klasse an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse- Zip Datei als Prgramm IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T Eclipse scheint awt Libary nicht zu besitzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
G eclipse mit neuestem JDK einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Cucumber Plugin Installation . Eclipse Warnmeldung IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Eclipse CDT Library einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Javac File generieren Eclipse oder IntellJ (JNI) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
sham5 Eclipse-Remote-Debugging von Java mit mehreren Prozessen oder Ports oder Netzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
Eichi1979 Eclipse Fehler in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
Arita wie kann man die automatische erstellte Ordner von Eclipse in D Drive ziehen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
nonickatall paho.client.mqttv3 in Eclipse installieren/einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
A Einbindung von FXML-Dateien in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A JavaFX in Eclipse einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 22
nonickatall Remote Debugging Eclipse/Raspberry IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
H Outline Fenster (Gliederung) wird mit deutschem Sprachpaket nicht angezeigt, Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Kann EGit nicht auf Eclipse installieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Tobero Eclipse Eclipse zeigt mir alles als Warnung an IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
B Versionen kontrollieren / dokumentieren mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
keinLebenNurCode Eclipse Eclipse: Gelbes Hilfsfenster für Funktionen und Methoden anzeigen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
windl Probleme mit Eclipse unter Linux IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
H Eclipse Fehler beim starten des Projekts IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
B Kompilieren in Eclipse ( 2 Klasse ohne main()-Methode) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
N Eclipse debug Gradle-Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
R Eclipse-Fehler IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
M Eclipse - Fehlermeldung bei JavaFX-Projekt "java.lang.module.FindException: Module javafx.controls not found" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 23
P ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=C__Users_birgit_eclipse_java-2020-124_eclipse, phase=org.eclipse.equinox.inte IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
H eclipse Fehler: Hauptklasse konnte nicht gefunden - bei Umwandlung in git IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
H Eclipse - Refactoring - mehrere Pakete geleichzeitig verschieben IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse, Console gibt Fragezeichen zurück. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4

Ähnliche Java Themen

Neue Themen


Oben