Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Post-build copy on system builder: (5 Items)
   
Post-build copy on system builder  
Is there a way to define a post-build action in a system builder project to copy the resulting ifs file to a different 
directory on completion?

This can be done in C/C++ projects but I haven't discovered a way to do this in system builder.

This is for IDE 4.6 on Ubuntu.

TIA
Re: Post-build copy on system builder  
Hi, Ken,

Sorry for the long-delayed reply; I was away.

The System Builder projects do not provide hooks for post-build actions,
but the Eclipse Platform does.

I attach an example project that you can import that shows how to add a
custom builder to your project that will copy the image files into your
home directory (as an example) using the built-in Ant support.

HTH,

Christian



On Mon, 2009-08-03 at 16:28 -0400, Ken Schumm wrote:

> Is there a way to define a post-build action in a system builder project to copy the resulting ifs file to a different
 directory on completion?
> 
> This can be done in C/C++ projects but I haven't discovered a way to do this in system builder.
> 
> This is for IDE 4.6 on Ubuntu.
> 
> TIA
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post35149


Attachment: Compressed file post_build_copy.zip 3.06 KB
Re: Post-build copy on system builder  
Hello Christian,

Thanks a lot for the example but ... I don't understand it.

After importing the post_build_copy project into the workspace the builder properties show the QNX System Builder and 
the Post_Build_Copy builder. If I click 'edit' on Post_Build_Copy an error pop-up says

Launch configuration type id
"org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
Possible causes:
    Missing specification of a launch type (missing plug-in)
   Incorrect launch configuration XML

I'm not quite sure how to create the external builder with ANT.

Thanks,
Ken



> Hi, Ken,
> 
> Sorry for the long-delayed reply; I was away.
> 
> The System Builder projects do not provide hooks for post-build actions,
> but the Eclipse Platform does.
> 
> I attach an example project that you can import that shows how to add a
> custom builder to your project that will copy the image files into your
> home directory (as an example) using the built-in Ant support.
> 
> HTH,
> 
> Christian
> 
> 
> 
> On Mon, 2009-08-03 at 16:28 -0400, Ken Schumm wrote:
> 
> > Is there a way to define a post-build action in a system builder project to 
> copy the resulting ifs file to a different directory on completion?
> > 
> > This can be done in C/C++ projects but I haven't discovered a way to do this
>  in system builder.
> > 
> > This is for IDE 4.6 on Ubuntu.
> > 
> > TIA
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post35149
> 
> 


Re: Post-build copy on system builder  
Hi, Ken,

I have the JDT (Java Development Tools) installed in my workbench;
probably you do not.  The ANT-based external builder capability is
provided by JDT.

As you are a Linux user, the attached should work better.  It simply
invokes the cp command directly.

HTH,

Christian


On Tue, 2009-08-11 at 13:34 -0400, Ken Schumm wrote:

> Hello Christian,
> 
> Thanks a lot for the example but ... I don't understand it.
> 
> After importing the post_build_copy project into the workspace the builder properties show the QNX System Builder and 
the Post_Build_Copy builder. If I click 'edit' on Post_Build_Copy an error pop-up says
> 
> Launch configuration type id
> "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
> Possible causes:
>     Missing specification of a launch type (missing plug-in)
>    Incorrect launch configuration XML
> 
> I'm not quite sure how to create the external builder with ANT.
> 
> Thanks,
> Ken
> 
> 
> 
> > Hi, Ken,
> > 
> > Sorry for the long-delayed reply; I was away.
> > 
> > The System Builder projects do not provide hooks for post-build actions,
> > but the Eclipse Platform does.
> > 
> > I attach an example project that you can import that shows how to add a
> > custom builder to your project that will copy the image files into your
> > home directory (as an example) using the built-in Ant support.
> > 
> > HTH,
> > 
> > Christian
> > 
> > 
> > 
> > On Mon, 2009-08-03 at 16:28 -0400, Ken Schumm wrote:
> > 
> > > Is there a way to define a post-build action in a system builder project to 
> > copy the resulting ifs file to a different directory on completion?
> > > 
> > > This can be done in C/C++ projects but I haven't discovered a way to do this
> >  in system builder.
> > > 
> > > This is for IDE 4.6 on Ubuntu.
> > > 
> > > TIA
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > 
> > > General
> > > http://community.qnx.com/sf/go/post35149
> > 
> > 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post35735
> 


________________________________________________________________________

Christian W. Damus
Software Developer, IDE Team
QNX Software Systems
Attachment: Compressed file post_build_copy.zip 2.95 KB
Re: Post-build copy on system builder  
Hi Christian,

I see how that works. Thank you very much for the example!

Cheers,
Ken


> Hi, Ken,
> 
> I have the JDT (Java Development Tools) installed in my workbench;
> probably you do not.  The ANT-based external builder capability is
> provided by JDT.
> 
> As you are a Linux user, the attached should work better.  It simply
> invokes the cp command directly.
> 
> HTH,
> 
> Christian
> 
> 
> On Tue, 2009-08-11 at 13:34 -0400, Ken Schumm wrote:
> 
> > Hello Christian,
> > 
> > Thanks a lot for the example but ... I don't understand it.
> > 
> > After importing the post_build_copy project into the workspace the builder 
> properties show the QNX System Builder and the Post_Build_Copy builder. If I 
> click 'edit' on Post_Build_Copy an error pop-up says
> > 
> > Launch configuration type id
> > "org.eclipse.ant.AntBuilderLaunchConfigurationType" does not exist.
> > Possible causes:
> >     Missing specification of a launch type (missing plug-in)
> >    Incorrect launch configuration XML
> > 
> > I'm not quite sure how to create the external builder with ANT.
> > 
> > Thanks,
> > Ken
> > 
> > 
> > 
> > > Hi, Ken,
> > > 
> > > Sorry for the long-delayed reply; I was away.
> > > 
> > > The System Builder projects do not provide hooks for post-build actions,
> > > but the Eclipse Platform does.
> > > 
> > > I attach an example project that you can import that shows how to add a
> > > custom builder to your project that will copy the image files into your
> > > home directory (as an example) using the built-in Ant support.
> > > 
> > > HTH,
> > > 
> > > Christian
> > > 
> > > 
> > > 
> > > On Mon, 2009-08-03 at 16:28 -0400, Ken Schumm wrote:
> > > 
> > > > Is there a way to define a post-build action in a system builder project
>  to 
> > > copy the resulting ifs file to a different directory on completion?
> > > > 
> > > > This can be done in C/C++ projects but I haven't discovered a way to do 
> this
> > >  in system builder.
> > > > 
> > > > This is for IDE 4.6 on Ubuntu.
> > > > 
> > > > TIA
> > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > 
> > > > General
> > > > http://community.qnx.com/sf/go/post35149
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post35735
> > 
> 
> 
> ________________________________________________________________________
> 
> Christian W. Damus
> Software Developer, IDE Team
> QNX Software Systems