I am actually using Netbeans for development. I am playing around with Eclipse and I am wondering what do I have to do to run the Drombler Sample application from Eclipse. The packaging type drombler-fx-application e.g. is not recognized, main-class is not found etc..
I'm also working with NetBeans normally. To test this I've installed Eclipse Luna on my Linux machine. Unfortunately it crashes all the time. I will have to check it later on a Windows machine.
-Puce
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried it on Windows as well, but I couldn't get it to work yet.
I will try to find some time to give it another try. I don't really see a reason why it shouldn't work. I'll also try to sepcify this directly in the POM.
I'm not sure if I'll find time this week though.
-Puce
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First tries running Drombler FX applications from Eclipse using the "default-cli" execution id were successful. I will add the necessary configuration to the archetype.
See issue [#72].
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am actually using Netbeans for development. I am playing around with Eclipse and I am wondering what do I have to do to run the Drombler Sample application from Eclipse. The packaging type drombler-fx-application e.g. is not recognized, main-class is not found etc..
During maven build I get
...
[WARNING] Ignoring project type drombler-fx-application - supportedProjectTypes = [jar, bundle]
...
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) ---
Fehler: main class true could not be found or loaded
...
My Eclipse run configuration looks like
Goals: org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
Parameter:
exec.args = -ea -Djavafx.verbose=true -Dbinary.css=false -Djava.util.logging.config.file=${project.build.directory}/deployment/standalone/conf/logging.properties -jar ${project.build.directory}/deployment/standalone/bin/foo.jar --userdir ${project.build.directory}/userdir
exec.executable = java
exec.classpathScope = runtime
exec.mainClass = org.drombler.fx.startup.main.Main
Any help appreciated.
Thank you.
Dirk
Hi Dirk,
I'm also working with NetBeans normally. To test this I've installed Eclipse Luna on my Linux machine. Unfortunately it crashes all the time. I will have to check it later on a Windows machine.
-Puce
Hi Puce,
I have not given it a try since your last post. Did you have any success?
Dirk
Hi Dirk,
I tried it on Windows as well, but I couldn't get it to work yet.
I will try to find some time to give it another try. I don't really see a reason why it shouldn't work. I'll also try to sepcify this directly in the POM.
I'm not sure if I'll find time this week though.
-Puce
With the execution id "default-cli" it should be possible to specify a configuration for the command line which is supported also for Maven 3.0.x:
http://stackoverflow.com/questions/3779369/run-a-single-maven-plugin-execution
First tries running Drombler FX applications from Eclipse using the "default-cli" execution id were successful. I will add the necessary configuration to the archetype.
See issue [#72].
Unfortunately, I couldn't get the debug configuration inside Eclipse to work yet. Suggestions are welcome.
See issue [#73].