Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Autobuild for individual QNX C projects : (7 Items)
   
Autobuild for individual QNX C projects  
Hi,

I am trying to enable "Build on resource save" for a QNX C project as per the docs at http://www.qnx.com/developers/docs
/6.4.1/ide_en/user_guide/devel.html#BUILD in an WinnXP QNX6.4.1 IDE.

However, when I then go on to edit and save the source file, no rebuild occurs.

Am I missing something?

Cheers,

Garry
RE: Autobuild for individual QNX C projects  
Did you enable the "Build Automatically" on the "General -> Workspace" preference?

-----Original Message-----
From: Garry Bleasdale [mailto:community-noreply@qnx.com]
Sent: Fri 11/12/2009 5:56 AM
To: general-ide
Subject: Autobuild for individual QNX C projects 
 

Hi,

I am trying to enable "Build on resource save" for a QNX C project as per the docs at http://www.qnx.com/developers/docs
/6.4.1/ide_en/user_guide/devel.html#BUILD in an WinnXP QNX6.4.1 IDE.

However, when I then go on to edit and save the source file, no rebuild occurs.

Am I missing something?

Cheers,

Garry



Attachment: Text winmail.dat 2.67 KB
Re: RE: Autobuild for individual QNX C projects  
Yes I tried that - but it rebuilds the whole workspace, not just the project I am working with.

The docs suggest that by selecting build on resource save in the properties of a single project then it should work for 
just that project.

Cheers,

Garry
Re: RE: Autobuild for individual QNX C projects  
Is the project in which you are changing the source depends on other
projects? This can happen if the project dependency causes the build on
other projects.


-----Original Message-----
From: Garry Bleasdale <community-noreply@qnx.com>
Reply-to: post43619@community.qnx.com
To: general-ide <post43619@community.qnx.com>
Subject: Re: RE: Autobuild for individual QNX C projects
Date: Fri, 11 Dec 2009 08:29:59 -0500 (EST)

Yes I tried that - but it rebuilds the whole workspace, not just the project I am working with.

The docs suggest that by selecting build on resource save in the properties of a single project then it should work for 
just that project.

Cheers,

Garry

Re: RE: Autobuild for individual QNX C projects  
The project has no references, it is just a new hello world project.

My workspace has System Builder projects in it, with the global workpsace auto build preference set these get rebuilt 
each time  change my hello world project.

Cheers,

Garry
Re: RE: Autobuild for individual QNX C projects  
You are right. System Build project is an exception. It does not use the
"cbuilder" spec as other C/C++ project do hance it does not have the
granularity of project level build control. Instead it uses its own
build spec which extends the Eclipse workspace resource builder thus
controlled by the global workspace preference (Build Automatically).

If you don't want System Builder projects to participate in the build,
you have to close them.


-----Original Message-----
From: Garry Bleasdale <community-noreply@qnx.com>
Reply-to: post43632@community.qnx.com
To: general-ide <post43632@community.qnx.com>
Subject: Re: RE: Autobuild for individual QNX C projects
Date: Fri, 11 Dec 2009 09:24:40 -0500 (EST)

The project has no references, it is just a new hello world project.

My workspace has System Builder projects in it, with the global workpsace auto build preference set these get rebuilt 
each time  change my hello world project.

Cheers,

Garry
Re: RE: Autobuild for individual QNX C projects  
Ah, I understand now.

Just to be clear, the global workspace auto build  preference AND individual project build on resource save flags need 
to be set.

Thanks very much for your help Andy.

Cheers,

Garry