Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Howto develop External Tools?

To build a "selfhosting workspace" (a workspace where you edit Eclipse and 
then launch it), you need to have all of the prerequisite plugins in the 
workspace. Thanks to PDE, this isn't hard. Steps:

1. Check out the projects you want to edit: org.eclipse.ui.externaltools 
and/or org.eclipse.ant.core
2. You can tweak the steps here a bit if you like, but my exact clicks are:
"File->Import->External Plug-ins and Fragments->Next->Next->Select 
All->Finish". When prompted to overwrite the projects I checked out in step 1 
I say "No to All".
3. You need to run the "buildSelfhostingJARs.xml" ant script in 
org.eclipse.ui.externaltools/scripts. This will create the a jar in 
org.eclipse.ui.externaltools/lib that the external tools plugin.xml 
contributes to the ant classpath via a classpath extension point defined in 
org.eclipse.ant.core. The buildSelfhostingJARs script only needs to be run 
again if you edit files in the "Ant Runner Support" source folder of the 
external tools plugin, which is unlikely.

When you're ready to launch your edited version of Eclipse, bring up the 
launch config dialog and create a new "Runtime Workbench" launch config. I 
just launch with the default values.

- Jared

On Friday 15 November 2002 11:14 am, Matt_Conway@xxxxxx wrote:
> If want to dig around/fix bug/make contributions, etc, what do I need to 
> do to setup a development structure for the new External Tools/Ant 
> plugins?
> I have no trouble getting and building the org.eclipse.ui.externaltools 
> package from CVS HEAD, but I see it depends on org.eclipse.ant.core which 
> I can't get to build completely - errors in ant_src.
> What do I have to do to build and run/debug these two plugins in a 
> Run-time  Workbench.
> 
> Are there any other gotchas that I need to be aware of?
> 
> Thanks,
> 
> Matt
> 
> 
> _______________________________________________
> platform-ant-dev mailing list
> platform-ant-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ant-dev
> 



Back to the top