-
Notifications
You must be signed in to change notification settings - Fork 77
Run Maven, Gradle or other batch-based script from Java (and then Eclipse) #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Asnswered by @FIRST Zero with reference to http://wiki.eclipse.org/FAQ_How_do_I_write_to_the_console_from_a_plug-in%3F
|
Here how node.js is launched
But this way fails for |
paulvi
added a commit
that referenced
this issue
Jan 25, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
asked on http://stackoverflow.com/questions/21177198/run-maven-gradle-or-other-batch-based-script-from-java-and-then-eclipse
I am making Eclipse plugin https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.maven that run alternative build from within Eclipse
(e.g. for project that have both
pom.xml
andbuild.gradle
do run withmvn package
orgradle build
)But entry point for both of them are batch
.bat
files on Windows and bash on Linux.For Windows running from Java would look like
but that will start new window, while I want it to see running in Eclipse Console.
There must be something like http://commons.apache.org/proper/commons-exec/ but in Eclipse way I guess. How to run such script from Eclipse and see output in Console?
This is meant to be alternative and not dependent on m2e and Gradle Integration.
The text was updated successfully, but these errors were encountered: