Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PB 11.2 and TFS 2010 - Getting latest objects (Problem)

5 posts in General Discussion Last posting was on 2013-03-13 12:23:43.0Z
William Posted on 2013-03-01 15:52:52.0Z
Sender: 5cde.5130b8e7.1804289383@sybase.com
From: William
Newsgroups: sybase.public.powerbuilder.general
Subject: PB 11.2 and TFS 2010 - Getting latest objects (Problem)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5130ced4.651e.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 1 Mar 2013 07:52:52 -0800
X-Trace: forums-1-dub 1362153172 172.20.134.41 (1 Mar 2013 07:52:52 -0800)
X-Original-Trace: 1 Mar 2013 07:52:52 -0800, 172.20.134.41
Lines: 77
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249768
Article PK: 1308031

Currently we are using PB11.2 and TFS 2010 for our source
control. The TFS repository seems to hold our current
changes when we modify objects but we seem to have object
issues when getting the latest objects in our working
directories.

TFS holds all of our files, including DLL's, PB files(SRW,
SRU, SRD, etc.) bitmaps, etc. for our application, when a
new developer joins our team this is downloaded locally to
their machine so they have all the necessary files. Noted
below are the steps we take in order to have the files in
sync on their local machine.

1) In TFS 2010 the developer maps the working directory to
their local machine, ex. C:\TFS Applications\"Application
acronym".
2) In TFS 2010 the developer gets the latest version
downloaded to their local machine.
3) In the working folder on their local machine, we make the
.OPT, .OPC, .PBG, .PBL, .PBR, .PBT and .PBW read/write
accessible.
4) We open up PB11.2 and open the workspace, in the
'Properties of Workspace' window we add the project path
'Files in TFS are located on a network server', and then add
the local root directory path 'C:\TFS
Applications\"Application acronym"', then connect to TFS.
5) In PB, we then refresh the status which refreshes it to
100% with no problems, next we get the latest version for
all the objects 'Get Latest Version', 'Select multiple files
contained in this target', when the 'Get Latest Version'
window opens, I have the developer 'Select All', and in the
advanced window, I have the developer check 'Force get of
file versions already in workspace'.

So now the developer should have all the latest files for
the application. When checking out objects, it is visible to
everyone and TFS recognizes it.

We have run into issues when other developers want to 'Get
the latest version'. After selecting this option in PB, when
PB is finished downloading the objects, it indicates that an
object has been updated but upon opening the object the
changes are not always there, very weird.


We had an issue this past week where one of the developers
noticed that the text was incorrect on one of the windows on
his box. The text change was done 2 yrs. ago, so there was
no reason to believe there was an issue with that object.
There were no changes done to that object within our
development cycle, this was verified in TFS history. On my
machine the current change was there but on the other
developers machine it had the old text. I know that the
developer had the current files as I set up his machine
following the steps above.

Just to make sure we were not having a bad day, I verified
the object in TFS and the correct text was there.

SRD Property: text(band=header alignment="1" text="Issued:"
border="0" color="0" x="32" y="180" height="60" width="434"
html.valueishtml="0" name=t_current_booklet_printed
visible="1" font.face="Arial" font.height="-9"
font.weight="700" font.family="2" font.pitch="2"
font.charset="0" background.mode="1"
background.color="553648127" )

Each working folder on the developers machine is set up the
same way as above.

We will be migrating to PB12.5 shortly, has anyone
experienced this similar problem with 11.2 or 12.5 or any
other problems?

Am I doing something wrong here or missing some steps?

Thanks


Jeremy.Lakeman Posted on 2013-03-03 22:24:10.0Z
Sender: 3893.5133cc0d.1804289383@sybase.com
From: Jeremy.Lakeman@gmail.com
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 11.2 and TFS 2010 - Getting latest objects (Problem)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5133cd8a.38ef.1681692777@sybase.com>
References: <5130ced4.651e.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 3 Mar 2013 14:24:10 -0800
X-Trace: forums-1-dub 1362349450 172.20.134.41 (3 Mar 2013 14:24:10 -0800)
X-Original-Trace: 3 Mar 2013 14:24:10 -0800, 172.20.134.41
Lines: 91
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249789
Article PK: 1308059


> Currently we are using PB11.2 and TFS 2010 for our source
> control. The TFS repository seems to hold our current
> changes when we modify objects but we seem to have object
> issues when getting the latest objects in our working
> directories.
>
> TFS holds all of our files, including DLL's, PB files(SRW,
> SRU, SRD, etc.) bitmaps, etc. for our application, when a
> new developer joins our team this is downloaded locally to
> their machine so they have all the necessary files. Noted
> below are the steps we take in order to have the files in
> sync on their local machine.
>
> 1) In TFS 2010 the developer maps the working directory to
> their local machine, ex. C:\TFS Applications\"Application
> acronym".
> 2) In TFS 2010 the developer gets the latest version
> downloaded to their local machine.
> 3) In the working folder on their local machine, we make
> the .OPT, .OPC, .PBG, .PBL, .PBR, .PBT and .PBW read/write
> accessible.

Are you saying that there are ancient .PBL's stored in TFS?
PBL's don't belong in source control at all.

You should write an orcascript process for building the
pbl's from source control.

Then any developer can run this process when they want to
ensure they have a complete copy of the latest code.

If you aren't building directly from source control
periodically, how do you verify that all changes have been
checked in correctly?

> 4) We open up PB11.2 and open the workspace, in the
> 'Properties of Workspace' window we add the project path
> 'Files in TFS are located on a network server', and then
> add the local root directory path 'C:\TFS
> Applications\"Application acronym"', then connect to TFS.
> 5) In PB, we then refresh the status which refreshes it to
> 100% with no problems, next we get the latest version for
> all the objects 'Get Latest Version', 'Select multiple
> files contained in this target', when the 'Get Latest
> Version' window opens, I have the developer 'Select All',
> and in the advanced window, I have the developer check
> 'Force get of file versions already in workspace'.
>
> So now the developer should have all the latest files for
> the application. When checking out objects, it is visible
> to everyone and TFS recognizes it.
>
> We have run into issues when other developers want to 'Get
> the latest version'. After selecting this option in PB,
> when PB is finished downloading the objects, it indicates
> that an object has been updated but upon opening the
> object the changes are not always there, very weird.
>
>
> We had an issue this past week where one of the developers
> noticed that the text was incorrect on one of the windows
> on his box. The text change was done 2 yrs. ago, so there
> was no reason to believe there was an issue with that
> object. There were no changes done to that object within
> our development cycle, this was verified in TFS history.
> On my machine the current change was there but on the
> other developers machine it had the old text. I know that
> the developer had the current files as I set up his
> machine following the steps above.
>
> Just to make sure we were not having a bad day, I verified
> the object in TFS and the correct text was there.
>
> SRD Property: text(band=header alignment="1"
> text="Issued:" border="0" color="0" x="32" y="180"
> height="60" width="434" html.valueishtml="0"
> name=t_current_booklet_printed visible="1"
> font.face="Arial" font.height="-9" font.weight="700"
> font.family="2" font.pitch="2" font.charset="0"
> background.mode="1" background.color="553648127" )
>
> Each working folder on the developers machine is set up
> the same way as above.
>
> We will be migrating to PB12.5 shortly, has anyone
> experienced this similar problem with 11.2 or 12.5 or any
> other problems?
>
> Am I doing something wrong here or missing some steps?
>
> Thanks


William Posted on 2013-03-12 15:31:54.0Z
Sender: 344c.513f46f5.846930886@sybase.com
From: William
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 11.2 and TFS 2010 - Getting latest objects (Problem)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <513f4a6a.35fa.1681692777@sybase.com>
References: <5133cd8a.38ef.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 12 Mar 2013 07:31:54 -0800
X-Trace: forums-1-dub 1363102314 172.20.134.41 (12 Mar 2013 07:31:54 -0800)
X-Original-Trace: 12 Mar 2013 07:31:54 -0800, 172.20.134.41
Lines: 125
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249897
Article PK: 1308298

Thanks for your reply Jeremy, but I have a few questions.

Are you saying that there are ancient .PBL's stored in
TFS? PBL's don't belong in source control at all.
WV: We do store our PBL's in TFS, why don't PBL's belong in
source control(TFS)?

You should write an orcascript process for building the
pbl's from source control.
WV: Why do we need to build the PBL's if all the objects are
in TFS, as the SRD, SRU, SRF, etc. are in source control and
when brought down from TFS, they are the latest and current
files.

If you aren't building directly from source control
periodically, how do you verify that all changes have been
checked in correctly?
WV: I'm assuming you mean 'building your PBL's', as noted
above all the files from each object are in source control,
so why would I need to build the PBL's if I have the current
files in source control. When checking out and then checking
into TFS, the PBG and object is updated accordingly as I go
into the source control explorer in TFS and look at the
file(Don't really trust TFS, but maybe we are using it
incorrectly.).

It seems to me that it isn't a straightforward process to
have PB in TFS or I'm totally missing something.

Thanks

> > Currently we are using PB11.2 and TFS 2010 for our
> > source control. The TFS repository seems to hold our
> > current changes when we modify objects but we seem to
> > have object issues when getting the latest objects in
> > our working directories.
> >
> > TFS holds all of our files, including DLL's, PB
> > files(SRW, SRU, SRD, etc.) bitmaps, etc. for our
> > application, when a new developer joins our team this is
> > downloaded locally to their machine so they have all the
> > necessary files. Noted below are the steps we take in
> > order to have the files in sync on their local machine.
> >
> > 1) In TFS 2010 the developer maps the working directory
> > to their local machine, ex. C:\TFS
> > Applications\"Application acronym".
> > 2) In TFS 2010 the developer gets the latest version
> > downloaded to their local machine.
> > 3) In the working folder on their local machine, we make
> > the .OPT, .OPC, .PBG, .PBL, .PBR, .PBT and .PBW
> > read/write accessible.
>
> Are you saying that there are ancient .PBL's stored in
> TFS? PBL's don't belong in source control at all.
>
> You should write an orcascript process for building the
> pbl's from source control.
>
> Then any developer can run this process when they want to
> ensure they have a complete copy of the latest code.
>
> If you aren't building directly from source control
> periodically, how do you verify that all changes have been
> checked in correctly?
>
> > 4) We open up PB11.2 and open the workspace, in the
> > 'Properties of Workspace' window we add the project path
> > 'Files in TFS are located on a network server', and then
> > add the local root directory path 'C:\TFS
> > Applications\"Application acronym"', then connect to
> > TFS. 5) In PB, we then refresh the status which
> > refreshes it to 100% with no problems, next we get the
> > latest version for all the objects 'Get Latest Version',
> > 'Select multiple files contained in this target', when
> > the 'Get Latest Version' window opens, I have the
> > developer 'Select All', and in the advanced window, I
> > have the developer check 'Force get of file versions
> already in workspace'. >
> > So now the developer should have all the latest files
> > for the application. When checking out objects, it is
> > visible to everyone and TFS recognizes it.
> >
> > We have run into issues when other developers want to
> > 'Get the latest version'. After selecting this option in
> > PB, when PB is finished downloading the objects, it
> > indicates that an object has been updated but upon
> > opening the object the changes are not always there,
> very weird. >
> >
> > We had an issue this past week where one of the
> > developers noticed that the text was incorrect on one of
> > the windows on his box. The text change was done 2 yrs.
> > ago, so there was no reason to believe there was an
> > issue with that object. There were no changes done to
> > that object within our development cycle, this was
> > verified in TFS history. On my machine the current
> > change was there but on the other developers machine it
> > had the old text. I know that the developer had the
> > current files as I set up his machine following the
> steps above. >
> > Just to make sure we were not having a bad day, I
> > verified the object in TFS and the correct text was
> there. >
> > SRD Property: text(band=header alignment="1"
> > text="Issued:" border="0" color="0" x="32" y="180"
> > height="60" width="434" html.valueishtml="0"
> > name=t_current_booklet_printed visible="1"
> > font.face="Arial" font.height="-9" font.weight="700"
> > font.family="2" font.pitch="2" font.charset="0"
> > background.mode="1" background.color="553648127" )
> >
> > Each working folder on the developers machine is set up
> > the same way as above.
> >
> > We will be migrating to PB12.5 shortly, has anyone
> > experienced this similar problem with 11.2 or 12.5 or
> > any other problems?
> >
> > Am I doing something wrong here or missing some steps?
> >
> > Thanks


Roland Smith [TeamSybase] Posted on 2013-03-12 16:29:12.0Z
From: "Roland Smith [TeamSybase]" <rsmith@trusthss.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 11.2 and TFS 2010 - Getting latest objects (Problem)
References: <5133cd8a.38ef.1681692777@sybase.com> <513f4a6a.35fa.1681692777@sybase.com>
In-Reply-To: <513f4a6a.35fa.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <513f57d8$1@forums-1-dub>
Date: 12 Mar 2013 08:29:12 -0800
X-Trace: forums-1-dub 1363105752 172.20.134.152 (12 Mar 2013 08:29:12 -0800)
X-Original-Trace: 12 Mar 2013 08:29:12 -0800, vip152.sybase.com
Lines: 20
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249899
Article PK: 1308300


> WV: We do store our PBL's in TFS, why don't PBL's belong in

> source control(TFS)?

The PowerBuilder IDE exports objects from the PBL to a .sr* file when
performing Add or Checkin and imports objects from a .sr* file into the
PBL when performing a Checkout, Undo Checkout or Get Latest.

The PowerBuilder IDE will not put the PBL into source control so you
must be doing it in the TFS interface.

The current version of all your objects is the .sr* file. Having the PBL
files for the target in source control would only be useful as a way to
bundle the current version of the target when deploying a new version of
your app. You could use it to get PBL files onto a new person's pc but
you would have to do the get in the TFS interface first, then open
PowerBuilder and do a GLV to pick up the latest of individual objects.

If you were to get the PBL from TFS after doing a GLV in PB, that would
overwrite all the work PowerBuilder just did.


Chris Pollach Posted on 2013-03-13 12:23:43.0Z
From: Chris Pollach <cpollach@travel-net.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: PB 11.2 and TFS 2010 - Getting latest objects (Problem)
References: <5133cd8a.38ef.1681692777@sybase.com> <513f4a6a.35fa.1681692777@sybase.com>
In-Reply-To: <513f4a6a.35fa.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <51406fcf$1@forums-1-dub>
Date: 13 Mar 2013 04:23:43 -0800
X-Trace: forums-1-dub 1363177423 172.20.134.152 (13 Mar 2013 04:23:43 -0800)
X-Original-Trace: 13 Mar 2013 04:23:43 -0800, vip152.sybase.com
Lines: 144
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249905
Article PK: 1308321

FWIW: There is nothing wrong with checking in entire PBL's into any SCM
as a "check point" after a major release using the SCM's native
interface. I do this ALL the time! :-)

--

Regards ... Chris
President: OSUG / STD Inc.
Vice President: ISUG-TECH
Blog: http://chrispollach.blogspot.com
SourceForge: http://sourceforge.net/projects/stdfndclass
PBDJ: http://chrispollach.sys-con.com
TKD: http://www.syeoh.com

On 3/12/2013 11:31 AM, William wrote:
> Thanks for your reply Jeremy, but I have a few questions.
>
> Are you saying that there are ancient .PBL's stored in
> TFS? PBL's don't belong in source control at all.
> WV: We do store our PBL's in TFS, why don't PBL's belong in
> source control(TFS)?
>
> You should write an orcascript process for building the
> pbl's from source control.
> WV: Why do we need to build the PBL's if all the objects are
> in TFS, as the SRD, SRU, SRF, etc. are in source control and
> when brought down from TFS, they are the latest and current
> files.
>
> If you aren't building directly from source control
> periodically, how do you verify that all changes have been
> checked in correctly?
> WV: I'm assuming you mean 'building your PBL's', as noted
> above all the files from each object are in source control,
> so why would I need to build the PBL's if I have the current
> files in source control. When checking out and then checking
> into TFS, the PBG and object is updated accordingly as I go
> into the source control explorer in TFS and look at the
> file(Don't really trust TFS, but maybe we are using it
> incorrectly.).
>
> It seems to me that it isn't a straightforward process to
> have PB in TFS or I'm totally missing something.
>
> Thanks
>
>
>
>
>>> Currently we are using PB11.2 and TFS 2010 for our
>>> source control. The TFS repository seems to hold our
>>> current changes when we modify objects but we seem to
>>> have object issues when getting the latest objects in
>>> our working directories.
>>>
>>> TFS holds all of our files, including DLL's, PB
>>> files(SRW, SRU, SRD, etc.) bitmaps, etc. for our
>>> application, when a new developer joins our team this is
>>> downloaded locally to their machine so they have all the
>>> necessary files. Noted below are the steps we take in
>>> order to have the files in sync on their local machine.
>>>
>>> 1) In TFS 2010 the developer maps the working directory
>>> to their local machine, ex. C:\TFS
>>> Applications\"Application acronym".
>>> 2) In TFS 2010 the developer gets the latest version
>>> downloaded to their local machine.
>>> 3) In the working folder on their local machine, we make
>>> the .OPT, .OPC, .PBG, .PBL, .PBR, .PBT and .PBW
>>> read/write accessible.
>>
>> Are you saying that there are ancient .PBL's stored in
>> TFS? PBL's don't belong in source control at all.
>>
>> You should write an orcascript process for building the
>> pbl's from source control.
>>
>> Then any developer can run this process when they want to
>> ensure they have a complete copy of the latest code.
>>
>> If you aren't building directly from source control
>> periodically, how do you verify that all changes have been
>> checked in correctly?
>>
>>> 4) We open up PB11.2 and open the workspace, in the
>>> 'Properties of Workspace' window we add the project path
>>> 'Files in TFS are located on a network server', and then
>>> add the local root directory path 'C:\TFS
>>> Applications\"Application acronym"', then connect to
>>> TFS. 5) In PB, we then refresh the status which
>>> refreshes it to 100% with no problems, next we get the
>>> latest version for all the objects 'Get Latest Version',
>>> 'Select multiple files contained in this target', when
>>> the 'Get Latest Version' window opens, I have the
>>> developer 'Select All', and in the advanced window, I
>>> have the developer check 'Force get of file versions
>> already in workspace'. >
>>> So now the developer should have all the latest files
>>> for the application. When checking out objects, it is
>>> visible to everyone and TFS recognizes it.
>>>
>>> We have run into issues when other developers want to
>>> 'Get the latest version'. After selecting this option in
>>> PB, when PB is finished downloading the objects, it
>>> indicates that an object has been updated but upon
>>> opening the object the changes are not always there,
>> very weird. >
>>>
>>> We had an issue this past week where one of the
>>> developers noticed that the text was incorrect on one of
>>> the windows on his box. The text change was done 2 yrs.
>>> ago, so there was no reason to believe there was an
>>> issue with that object. There were no changes done to
>>> that object within our development cycle, this was
>>> verified in TFS history. On my machine the current
>>> change was there but on the other developers machine it
>>> had the old text. I know that the developer had the
>>> current files as I set up his machine following the
>> steps above. >
>>> Just to make sure we were not having a bad day, I
>>> verified the object in TFS and the correct text was
>> there. >
>>> SRD Property: text(band=header alignment="1"
>>> text="Issued:" border="0" color="0" x="32" y="180"
>>> height="60" width="434" html.valueishtml="0"
>>> name=t_current_booklet_printed visible="1"
>>> font.face="Arial" font.height="-9" font.weight="700"
>>> font.family="2" font.pitch="2" font.charset="0"
>>> background.mode="1" background.color="553648127" )
>>>
>>> Each working folder on the developers machine is set up
>>> the same way as above.
>>>
>>> We will be migrating to PB12.5 shortly, has anyone
>>> experienced this similar problem with 11.2 or 12.5 or
>>> any other problems?
>>>
>>> Am I doing something wrong here or missing some steps?
>>>
>>> Thanks