How is the IDE used for team projects? [message #137504] |
Mon, 29 September 2003 14:04  |
Eclipse User |
|
|
|
Hey all,
I am curious as to how development teams are using the IDE in a team shared
enviornment. Our company is sharing IDE project files, and we are using many
projects at one time. My thought though is to standardize on the ANT build
script, instead of using the IDE build process. Even though we are all using
Eclipse now (switched from JBuilder), I am not a big fan of sharing IDE
project files and would much rather share a single (or master and many
slave) build file(s).
The one area we do use Eclipse is with the JBoss IDE and debugging. So, if
you use an external Ant script (not created using the Ant wizard via
Eclipse, but as an external program launching the ant.bat file and supplying
the path to the build.xml file), can you still debug using the internal
debugger? In other words, if my ant script launches my app, and its an
external Ant that I use via the single-click drop down External box (the
little red tool box and the figure that is running), will the internal
debugger be able to trace through the app?
The thing is, I find it a pain in the arse to have to click on a given
project (we have 6 of them for our one application based on tiers and such),
then go up and click the Project menu, Rebuild Project, etc etc. It is time
consuming. Using the Ant script, I simply click the button that drops down a
list, and select the project. If I need to run the same script, I just click
the button again without having to select as it will run the last clicked
item. That to me is VERY quick. I also think it sucks that while in the
editor I can't just press F9 and have it rebuild my project, or F10 to run
it. I have tried to configure the keys to do so and it doesn't seem they
work inside the editor. Only when I click on the navigator pane or
something. At least with Eclipse 2.1.1.
Anyway, I am interested in hearing how others are using the IDE in a team
environment, and even better, one that is geometrically dispersed.
Thanks.
|
|
|
Re: How is the IDE used for team projects? [message #137540 is a reply to message #137504] |
Mon, 29 September 2003 14:26  |
Eclipse User |
|
|
|
> The one area we do use Eclipse is with the JBoss IDE and debugging. So,
if
> you use an external Ant script (not created using the Ant wizard via
> Eclipse, but as an external program launching the ant.bat file and
supplying
> the path to the build.xml file), can you still debug using the internal
> debugger? In other words, if my ant script launches my app, and its an
> external Ant that I use via the single-click drop down External box (the
> little red tool box and the figure that is running), will the internal
> debugger be able to trace through the app?
>
Yes, if you modify the ant.bat file to launch the JVM in "debug mode"
As an example (from ant.bat)
:runAnt
"%_JAVACMD%" %ANT_OPTS% -classpath
"%LOCALCLASSPATH%" -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=800 0
"-Dant.home=%ANT_HOME%" org.apache.tools.ant.Main %ANT_ARGS%
%ANT_CMD_LINE_ARGS%
Fire this up as before, then create and launch a Remote Java Application
specified with host as localhost and port as 8000 (modify as you require).
Debug as "normal"
HTH
Darins
|
|
|
Powered by
FUDForum. Page generated in 0.27403 seconds