Focal Point
[CLOSED]Application Multiple Version

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4677030586

December 27, 2016, 02:19 PM
TexasStingray
[CLOSED]Application Multiple Version
Just curious to see if/how anyone is handling multiple version of an application. let me explain out scenario. We have an application call it MYAPP that we have created. is current release is called Release 3. Now need to be able to support MYAPP Release 3 making changes to correct any issues. We also need to start development of Release 4 which needs to start off looking like release 3. We also need to be able to run release 3 and release 4 at the same time. So I have to create a new content folder called MYAPP4, and a new portal, and new application folder on the backend Reporting Server. My issue is how to get the MYAPP4 files to use the MYAPP4 folder when they all have references to MYAPP. We have a patch that will import content from the root_content folder which has the raw text which I can do a search and replace on. However the html file when I replace MYAPP with MYAPP4 when I try to open them up in HTML Composer I get that message that states it has been edited outside of composer, which they were created in and open just fine in release 3 without the message. Anyone know how to tell it that the file was not opened outside of the composer?

This message has been edited. Last edited by: Tamra,




Scott

Are you running multiple environments ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

Yes, a dev, qa, and production. but we need to have release 3 and release 4 on the same environment.

We are run a WF80 version.




Scott

That is a tough one.

So you actually need 6 environments.

Any chance of having some sort of release parameter to direct to the desired version ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

Not sure about separate environments for each version ( 2 for dev, 2 for qa and 2 for prod) for the 2 versions. Not sure how a variable would help then the focexec and html file have a hard coded reference to the Repository in them. So I started coding a separate content folder for release 4 something like app for replease 3 is now app4 for release 4. going to use the same service node bu have app point to app folder in the reporting server and app4 point to app4 separate copies of metadata. I have a patch routine developed by IBI Professional Services that will export the content folder and put the raw code in the root_content folder as plain text which we can do a search and replace against. then use another patch they created to import that back in into a different content folder. The issue I have is that now html file created with composer say they were changed outside of the composer tool and it is not guaranteed to work correctly. This message does not come appear if keep the search and replace value length the same like search for app and replace with ap4. So it looks like it has something to do with the total length of the file.

Any Ideas?




Scott

Yes, the HTML files created by composer add a length to the end. If you edit in a text editor, and scroll to the bottom, you will see it.

You can just delete it and the alert will go away.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

Man, I must be blind I do not see it at the end of the html file when I am in Developer Studio and edit as text. Can you provide an example, may I am missing something.




Scott

Perhaps its because I'm using App Studio ??

This is what it looks like

</script></html>
<!-- cc tltkv -->



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

yea, I guess its the cc ????. I remove that but still get the error message.

guess with DS 8008 it needs the correct coded size. any idea how to code that?

This message has been edited. Last edited by: TexasStingray,




Scott

Nope, no idea.

But the html pages still work when run don't they ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

Yes, they appear to still run correctly, just hate the fact that I get the message.




Scott

I totally agree


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!