Re: Building plugins & apps simultaneously
Re: Building plugins & apps simultaneously
- Subject: Re: Building plugins & apps simultaneously
- From: Raphael Sebbe <email@hidden>
- Date: Mon, 7 Jan 2002 17:18:37 +0100
I have a simple solution for this. I create a symlink where the plug-in
should be that points to the one in the Builds/ directory:
cd Builds/MyApp.app/Contents/PlugIns/
ln -s ../../../MyPlugIn.bundle MyPlugIn.bundle
Of course, you'll have to recreate it each time you clean MyApp, but
otherwise, it works nicely for incremental builds of the plug-in or the
app. Its even faster as no copy is performed!
Raphael
On Monday, January 7, 2002, at 02:50 PM, Calum Robinson wrote:
In my project I have the main application that will eventually have a
plugin in its resources folder. This plugin is a separate target in the
same project, and when it has been built, I would like it to be moved
to the Resources folder of the application.
The problem is that when the plugin is built, it exists only in the
build directory. Including it as a resource in the target that builds
the application requires me to re-build the application every time I
build the plugin.
Is there an easy way to do this? Adding a new 'Copy Files' build phase
did nothing. I can't create a symlink in the apps resources directory -
if I clean the target it will get deleted.
I can get round this by building the plugin and then rebuilding the
app, but I thought that someone could show me a better way?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.