This post originated from an RSS feed registered with Java Buzz
by Vasanth Dharmaraj.
Original Post: ATG Dynamo and Eclipse
Feed Title: Vasanth Dharmaraj's Blogs
Feed URL: /SyndicationService.asmx/GetRssCategory?categoryName=Technology%7CJava
Feed Description: my thoughts on dot net, java, linux, formula one, xbox gamming...(my java category)
A colleague pointed me to an Eclipse plugin for ATG
Dynamo application server. The plugin lets you start and shutdown ATG Dynamo from
within Eclipse. But sadly the plugin does not work on the latest build of Eclipse.
(Yes, I work with the nightly builds ;-))
But I have for sometime been using the "External Tools" feature in Eclipse
to start and stop ATG from Eclipse.
This is quite simple I just call the cmd.exe and pass startDynamo.bat or stopDynamo.bat along
with the parameters to this. This way the output is redirected to the Eclipse console.
The following screen-shots show configurations.
For "Start ATG" the following properties are set:
Location: "C:\WINNT\system32\CMD.EXE"
Working Directory: "C:\ATG\Dynamo5.6.1\home"
Arguments: "/c C:\ATG\Dynamo5.6.1\home\bin\startDynamo.bat -m yourmoduleshere"
Just change the yourmoduleshere to the modules you
need to start.
For "Stop ATG" the following properties are set:
Location: "C:\WINNT\system32\CMD.EXE"
Working Directory: "C:\ATG\Dynamo5.6.1\home"
Arguments: "/c C:\ATG\Dynamo5.6.1\home\bin\stopDynamo.bat -user admin -password admin"
Just change the user and password appropriately.
Plus you can use the LogWatcher plugin
to tail the ATG log.