[Momectics IDE] using CVS

bridged with qnx.development_tools
Post Reply
Hye Jin Soang

[Momectics IDE] using CVS

Post by Hye Jin Soang » Thu Dec 02, 2004 4:16 am

Hello,

I'm working with CVS on QNX 6.3 Momectics IDE. CVS server is remote on QNX
6.3.
Well..Checking out, updating and committing are working.
But I can't add the source checked out from CVS to C/C++ Project of IDE.
So I can't compile it also.
How can I build the source from CVS on IDE.
I think it seemed to be possible on 6.2 version of IDE.
I couldn't find any doc related to compile it.
After "checking out as project", I can see it in Navigator view but not in
C/C++ Projects.
Please help me~

Thank you.
--
---------------------------------------------
Hye Jin Soang <hjsoang@rtsolutions.co.kr>
Research Engineer, RTSolutions Inc.
Tel: +82-2-583-4885 Fax: +82-2-583-6885
www.rtsolutions.co.kr www.qnx.co.kr
---------------------------------------------

David Gibbs

Re: [Momectics IDE] using CVS

Post by David Gibbs » Thu Dec 02, 2004 3:53 pm

Hye Jin Soang <hjsoang@igrus.inha.ac.kr> wrote:
Hello,

After "checking out as project", I can see it in Navigator view but not in
C/C++ Projects.
Please help me~
Select the project.
File -> New -> Other
C -> Convert to C/C++ Project

Or, when checking out, don't check out as project -- instead go
through the "Check out as..." menu, and select C -> Standard Make C Project

-David
--
David Gibbs
QNX Training Services
dagibbs@qnx.com

Hye Jin Soang

Re: [Momectics IDE] using CVS

Post by Hye Jin Soang » Fri Dec 03, 2004 1:38 am

Oh~ Thanks!!
It works well. :)

Why couldn't I find those information on manuals?
Where is it or isn't it??

"David Gibbs" <dagibbs@qnx.com> wrote in message
news:condqe$dp9$1@inn.qnx.com...
Hye Jin Soang <hjsoang@igrus.inha.ac.kr> wrote:
Hello,

After "checking out as project", I can see it in Navigator view but not
in
C/C++ Projects.
Please help me~

Select the project.
File -> New -> Other
C -> Convert to C/C++ Project

Or, when checking out, don't check out as project -- instead go
through the "Check out as..." menu, and select C -> Standard Make C
Project

-David
--
David Gibbs
QNX Training Services
dagibbs@qnx.com

Hye Jin Soang

Re: [Momectics IDE] using CVS

Post by Hye Jin Soang » Fri Dec 03, 2004 2:55 am

And also I'm working with Photon project.
How about in case of Photon projects?

When I select "Check out as..." menu, and select "QNX C project, compilation
seems to be done normally.
Of course, incase of "Standards Make C project", it's ok.

But after checking out as a photon project, when I try to run PhAb, it shows
infinite loop error like below

!!!!! found a resource that is not caught in the if else above type=2288752
value=36

or PhAb abnormal exit error message

Can't I work photon projects with CVS??

Now I'd like to manage photon projects with CVS and also work with IDE.
Please share your experience..

Thank you.


"David Gibbs" <dagibbs@qnx.com> wrote in message
news:condqe$dp9$1@inn.qnx.com...
Hye Jin Soang <hjsoang@igrus.inha.ac.kr> wrote:
Hello,

After "checking out as project", I can see it in Navigator view but not
in
C/C++ Projects.
Please help me~

Select the project.
File -> New -> Other
C -> Convert to C/C++ Project

Or, when checking out, don't check out as project -- instead go
through the "Check out as..." menu, and select C -> Standard Make C
Project

-David
--
David Gibbs
QNX Training Services
dagibbs@qnx.com

Chris Herborth

Re: [Momectics IDE] using CVS

Post by Chris Herborth » Mon Dec 06, 2004 4:13 pm

Hye Jin Soang wrote:
Oh~ Thanks!!
It works well. :)

Why couldn't I find those information on manuals?
Where is it or isn't it??
It's not in the 6.3.0 manuals, but it will be when Service Pack 1 ships;
the IDE User's Guide has gotten a number of updates.

--
Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Mon Dec 06, 2004 5:28 pm

This is not exactly related to the previous thread, but it is CVS related.

In my build tree I have a bin directory. This is where all of the
executables get put. I'd like this directory to be stored in the CVS
repository but I don't ever want any of it's contents to be stored there.
I.E. they can always be recreated from the sources.

Is there something I can tell CVS so that it won't store the contents
of this directory?

Eric Norton

Re: [Momectics IDE] using CVS

Post by Eric Norton » Mon Dec 06, 2004 7:20 pm

Bill Caroselli wrote:
This is not exactly related to the previous thread, but it is CVS related.

In my build tree I have a bin directory. This is where all of the
executables get put. I'd like this directory to be stored in the CVS
repository but I don't ever want any of it's contents to be stored there.
I.E. they can always be recreated from the sources.

Is there something I can tell CVS so that it won't store the contents
of this directory?
If you know the names of the executables you can put the names in the
..cvsignore file in the IDE. Right click on the file -> Team -> Add to
..cvsignore.

Eric

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Mon Dec 06, 2004 7:40 pm

Eric Norton <enorton_nospam@nospam_fct.ca> wrote:
EN > Bill Caroselli wrote:
This is not exactly related to the previous thread, but it is CVS related.

In my build tree I have a bin directory. This is where all of the
executables get put. I'd like this directory to be stored in the CVS
repository but I don't ever want any of it's contents to be stored there.
I.E. they can always be recreated from the sources.

Is there something I can tell CVS so that it won't store the contents
of this directory?
EN > If you know the names of the executables you can put the names in the
EN > .cvsignore file in the IDE. Right click on the file -> Team -> Add to
EN > .cvsignore.

EN > Eric

I knew I could do this. What I want is to add a line like bin/*.
This way, when I add a new program next month I won't have to
remember to include it there.

Chris Herborth

Re: [Momectics IDE] using CVS

Post by Chris Herborth » Mon Dec 06, 2004 8:11 pm

Bill Caroselli wrote:
I knew I could do this. What I want is to add a line like bin/*.
This way, when I add a new program next month I won't have to
remember to include it there.
Put .cvsignore in the bin/ directory, with one entry:

*

--
Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Mon Dec 06, 2004 8:41 pm

Chris Herborth <cherborth@qnx.com> wrote:
CH > Bill Caroselli wrote:
I knew I could do this. What I want is to add a line like bin/*.
This way, when I add a new program next month I won't have to
remember to include it there.
CH > Put .cvsignore in the bin/ directory, with one entry:
CH > *

Apparently that would only ignore it in *my* sandbox.

But I found I can put:
repository_name/bin/*
in
$CVSROOT/CVSROOT/cvsignore
and it will work for everyone who uses that repository.

Robert Muil

Re: [Momectics IDE] using CVS

Post by Robert Muil » Tue Dec 07, 2004 12:13 am

Or just checkin the .cvsignore file in that directory to CVS.

Perhaps I misunderstood you though.

By 'repository_name/bin/*' do you mean 'module_name/bin/*'?

Robert.

Bill Caroselli wrote:
Chris Herborth <cherborth@qnx.com> wrote:
CH > Bill Caroselli wrote:

I knew I could do this. What I want is to add a line like bin/*.
This way, when I add a new program next month I won't have to
remember to include it there.

CH > Put .cvsignore in the bin/ directory, with one entry:
CH > *

Apparently that would only ignore it in *my* sandbox.

But I found I can put:
repository_name/bin/*
in
$CVSROOT/CVSROOT/cvsignore
and it will work for everyone who uses that repository.

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Tue Dec 07, 2004 2:02 pm

Robert Muil <r.muil@crcmining.com.au> wrote:
RM > Or just checkin the .cvsignore file in that directory to CVS.

RM > Perhaps I misunderstood you though.

RM > By 'repository_name/bin/*' do you mean 'module_name/bin/*'?

Yes. I mis-spoke.

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Fri Dec 10, 2004 3:27 pm

the command:
cvs -nq update
should show me what's different in my sandbox and the repository. Files
that need to be added to the repository are shown with a '?' in the left
column. However, files that are in the ignore list ALSO show with a '?'.

Is there any way to have cvs not report on files in the ignore list?

I have many files in the ignoe lists. So that the occasional files that
simply needs to be added just blends in. This is bad.

Robert Muil

Re: [Momectics IDE] using CVS

Post by Robert Muil » Tue Dec 14, 2004 1:19 am

Bill,

This should not be the case. Any file that is in the ignore list should not
be mentioned by the update command.

Do you have the files listed in a .cvsignore file in the same directory? If
so, have you commited the file (although it should still work to ignore the
files without being commited).

There is nothing special you have to do for this - what you want is exactly
what the ignore list is used for. Your ignore list must not be working.

What are the details of the setup? Where is your ignore list?

Robert.

Bill Caroselli wrote:
the command:
cvs -nq update
should show me what's different in my sandbox and the repository.
Files that need to be added to the repository are shown with a '?' in
the left column. However, files that are in the ignore list ALSO
show with a '?'.

Is there any way to have cvs not report on files in the ignore list?

I have many files in the ignoe lists. So that the occasional files
that simply needs to be added just blends in. This is bad.

Bill Caroselli

Re: [Momectics IDE] using CVS

Post by Bill Caroselli » Tue Dec 14, 2004 1:42 pm

The files are listed in {repository}/CVSROOT/cvsignore. It IS working in
so far as the files are not checked in or out.

But they DO show up on a 'cvs -nq update'.

The files are listed as "{project}/bin/*" The deal is that the makefiles
dump the finished executables into a bin directory for that project. But i
don't want to archive the bins if I'm already archiving the sources.


Robert Muil <r.muil@crcmining.com.au> wrote:
RM > Bill,

RM > This should not be the case. Any file that is in the ignore list should not
RM > be mentioned by the update command.

RM > Do you have the files listed in a .cvsignore file in the same directory? If
RM > so, have you commited the file (although it should still work to ignore the
RM > files without being commited).

RM > There is nothing special you have to do for this - what you want is exactly
RM > what the ignore list is used for. Your ignore list must not be working.

RM > What are the details of the setup? Where is your ignore list?

RM > Bill Caroselli wrote:
the command:
cvs -nq update
should show me what's different in my sandbox and the repository.
Files that need to be added to the repository are shown with a '?' in
the left column. However, files that are in the ignore list ALSO
show with a '?'.

Is there any way to have cvs not report on files in the ignore list?

I have many files in the ignoe lists. So that the occasional files
that simply needs to be added just blends in. This is bad.

Post Reply

Return to “qnx.development_tools”