|
Re: custom build steps / script [message #531989 is a reply to message #531721] |
Thu, 06 May 2010 17:25 |
Eric Rizzo Messages: 3070 Registered: July 2009 |
Senior Member |
|
|
On 5/5/10 6:02 PM, brian@ideaslive.com wrote:
> I'm using the Flash Builder plug-in inside of Eclipse, but my question
> is really general...
>
> When I build my executable (in this case an SWF file), I'd like to
> incorporate additional steps before and after the build to copy files
> from one folder to another, delete files, etc. This is similar to what
> I'd do with a build scripting language like python, perl, or DOS. Can I
> do something like this inside of the IDE? Do I need to write an Eclipse
> build script?
>
> Thanks in advance,
See if any of this information is helpful:
http://bewarethepenguin.blogspot.com/2008/08/customizing-bui lds-for-your-eclipse.html
Hope this helps,
Eric
|
|
|
|
|
|
|
Re: custom build steps / script [message #533251 is a reply to message #532921] |
Wed, 12 May 2010 17:53 |
No real name Messages: 6 Registered: April 2010 |
Junior Member |
|
|
Good suggestion, but it didn't work for me. I'm using the Flex builder, so maybe that's the problem.
-- Brian
Eric Rizzo wrote on Tue, 11 May 2010 10:51 | On 5/7/10 10:24 AM, brian@ideaslive.com wrote:
If all you're doing is copying files, the default Java builder will do
that. When it encounters non-java files in a source folder, it simply
copies them to the build output location. If your data files are in a
different directory than your source code, you can just add that data
directory as a new Source Location to the project's build path. If you
want the data files to go to a different build location than the code,
just enable the "Allow output folders for source folders" checkbox on
the build path dialog and then you can specify a different location for
each source directory.
Using this, you might not need a custom build script at all since it
will automatically detect when the data files have changed and copy them
to the appropriate location.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.09795 seconds