I am using Orion server for my Java-based web application. I have a run configuration that launches Orion with the correct classpaths and all necessary configuration. I also have several ANT scripts for copying files to the build path. I want to create an ANT script that shuts down Orion, copies necessary files, and restarts Orion. I can shutdown and copy in ANT, but I can't figure out how to launch a run configuration. I prefer to reference the launch configuration as opposed to specifying all of the configurations in the ANT script as well. Is this possible?
Launch an Eclipse Run Configuration from ANT
7k Views Asked by Danny Cohn At
2
There are 2 best solutions below
0
Markus Peröbner
On
With eclipse remote control you can launch eclipse run configurations in eclipse from a simple java client application.
Related Questions in ECLIPSE
- Set log4j.properties for GWT
- Compound classes stored in an array are not accessible in selenium java
- Eclipse color highlighting broken
- Eclipse Luna with Nodeclipse hangs when navigating a .js file with the Outline view
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- Eclipse, how to find how many attributes defined in a class?
- Eclipse and Windows Headers
- Eclipse find source file from library
- mingw-64 conflicting declarations when cross-compiling
- String.split() not behaving in android
- local variable referenced before assignment in strange condition
- eclipse errors when try to change to master git branch
- Scala Eclipse IDE compiler giving errors until "clean" is run
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Behaviour Difference: Intellij vs Eclipse
Related Questions in ANT
- Ant build should wait for a child process to complete
- Can Apache Ant be told to cache its XML files?
- How to run FindBugs off of Ivy downloaded JARs
- NoSuchMethodError after cleaning the project
- How do you specify a fop config file for fop.bat in ant script
- Multiple browser execution of sahi scripts at the same time
- Eclipse Auto-build eternal loop
- Getting error when running pig: Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar', and try again
- Keep getting No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'
- How to import / reference a gradle application in android application using command line (ant)
- TestNG ANT: disable ONLY the html reporter
- Cannot compile Java adapter using adapter-builder task (ANT) in MFP v7
- Create checksum and pom for maven repo
- How can I install Apache Ant 1.9.5 and connect it to Android Studio 1.2.1.1 in Windows 8.1?
- Compiling Java with Ant - keep getting error JNI error has occurred
Related Questions in ECLIPSE-ORION
- Eclipse, Orion, OSGi development environment setup (Maqetta)
- 'require is not defined' in eclipse orion
- Eclipse Orion PHP plugin
- Plugin handshake timeout for $myHttpURLforOrionPlugin
- How to upgrade Eclipse to SimRel version
- Use a plugin with Eclipse ORION without using the ORION server
- Eclipse Orion, does it not run in Eclipse?
- eclipse orion with npm
- Sync local Orion with Orionhub?
- "orion" is undefined when integrating orion editor in dojo
- Laravel + Xtext DSL | Using the DSL in Laravel
- Angular Import external JS libray containing define
- Pricing model for Bluemix Toolchain
- What is state Id that xtext uses while saving the resource
- Full featured language plugins for Eclipse Orion
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ant4Eclipse is an Eclipse plugin and looks like it can do what you are asking. I have never used it myself so can't guarantee but reading their documentation they say you can create an Executor task that works on your launch configuration artifact. You will then reference this task in your build file.