Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How do I use shared launch configurations?
How do I use shared launch configurations? [message #145834] Thu, 26 February 2004 16:10 Go to next message
Eclipse UserFriend
I have created some launch configurations in my workspace, and I would like
to share them with others on my team. I marked one as "shared" on the
appropriate External Tools dialog, picked a directory, and lo! a .launch
file appeared.

I check in this file, a team member checks it out....

Then what? I can't seem to figure out a way for the configuration to be
loaded into the workspace. I have searched help, the web, and this
newsgroup to no avail.

Thanks.
Re: How do I use shared launch configurations? [message #145927 is a reply to message #145834] Thu, 26 February 2004 22:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

Your team member opens the project containing the .launch file, and the
launch configuration should just appear in the list of valid configurations.
This is also handy for sharing launch configs between workspaces (just add
the project to all the workspaces).

--
Ed Burnette, co-author, Eclipse in Action
www.eclipsepowered.org

"Josh Rehman" <jrehman@citysearch.com> wrote in message
news:Xns949B8655B128Ajoshrehman@204.138.98.10...
> Then what? I can't seem to figure out a way for the configuration to be
> loaded into the workspace. I have searched help, the web, and this
> newsgroup to no avail.
Re: How do I use shared launch configurations? [message #146137 is a reply to message #145927] Fri, 27 February 2004 13:41 Go to previous messageGo to next message
Eclipse UserFriend
"Ed Burnette" <ed.burnette@REMOVE.THIS.sas.com> wrote in
news:c1mdu9$ts1$1@eclipse.org:

> Your team member opens the project containing the .launch file, and
> the launch configuration should just appear in the list of valid
> configurations. This is also handy for sharing launch configs between
> workspaces (just add the project to all the workspaces).

Thanks! The problem for me was that I expected the tool to appear in the
drop-down toolbar, and I didn't look in the External Tools dialog.
Furthermore, there's little or no mention of the expected behavior of
shared launch configurations - it's an area thats very lacking in the
Eclipse help files.

I have discovered that there are a few caveats to doing this with ant:

1 - you should not override the default JVM unless everyone is using a
non-default of the same name (which is unlikely).

2 - Look at the .launch file by hand to make sure there are no absolute
paths. "Working directory" is often set, although that's not needed.

3 - Some special ant tasks choke on relative paths. To be safe, prepend
paths explicitly with ${basedir} (tomcat-deploy and jasper-jspc both
suffer from this problem, and its slightly tough to diagnose).

I still haven't figured out how to reuse launch configs as builders. That
would be cool! I'm also still having problems getting builders to
trigger. I'll post seperately on that.
Re: How do I use shared launch configurations? [message #146147 is a reply to message #146137] Fri, 27 February 2004 14:03 Go to previous messageGo to next message
Eclipse UserFriend
>
> I still haven't figured out how to reuse launch configs as builders. That
> would be cool! I'm also still having problems getting builders to
> trigger. I'll post seperately on that.

To reuse launch configs as a builder, in the Builder Property Page (where
you add builders), hit the Copy... button
Did you post on the triggering problem?

HTH
Darins
Re: How do I use shared launch configurations? [message #146165 is a reply to message #146147] Fri, 27 February 2004 14:40 Go to previous messageGo to next message
Eclipse UserFriend
"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in
news:c1o3rn$41c$1@eclipse.org:

> In the Builder Property Page
> (where you add builders), hit the Copy... button

Ah, thanks! I expected that button to copy an item in that list. I would
expect that button to be labelled "External..." or "Load..." or something
like that.

> Did you post on the triggering problem?

I'm putting together steps-to-reproduce right now.

>
> HTH

It does, thanks a lot.
Re: How do I use shared launch configurations? [message #146174 is a reply to message #146165] Fri, 27 February 2004 15:06 Go to previous message
Eclipse UserFriend
> Ah, thanks! I expected that button to copy an item in that list. I would
> expect that button to be labelled "External..." or "Load..." or something
> like that.

I have logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=53316

Darins
Previous Topic:Remote debugging of OJVM
Next Topic:IMethod.getSignature weirdness...
Goto Forum:
  


Current Time: Wed May 07 17:09:45 EDT 2025

Powered by FUDForum. Page generated in 0.03898 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top