Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[epf-dev] RE: Question about EPF Composer HTML generation


Hello Chris.
You are right, this was not a good solution as the appended integers could not be guaranteed to always create a unique names that never change.  We therefore implemented a new solution now that you should see in newer integration builds on EPF.  The published files now look like this:

rup_system_analyst_C3C9C9AC.html

We create a hash code based on the GUID and append it to the name.  Now all elements get this little appendix.  This compromise results into not too long names, but still ensures uniqueness and stability of the names.

If you wonder about migration of image maps and other files you guys might have updated recently: as long as you now include the guid attribute in your links the migration to the new should work automatically.

Thanks and best regards,
Peter Haumer.

______________________________________________________________

PETER HAUMER, Dr. rer. nat.
Rational Method Composer | Eclipse Process Framework
Rational Software | IBM Software Group
Tel.: +1 (408) 463-5096
______________________________________________________________



"Chris Sibbald" <Chris.Sibbald@xxxxxxxxxxxxx>

07/09/2007 02:13

To
Ricardo Balduino/Cupertino/IBM@IBMUS
cc
Peter Haumer/Cupertino/IBM@IBMUS, "External Chris Sibbald" <csibbald@xxxxxxxx>
Subject
RE: Question about EPF Composer HTML generation





Thanks Ricardo,
 
Peter, can you shed some light on the generated HTML file names.
 
The issue is the ability of other tools/webpages to link to generated process pages.  If the html file names are not pre-determined, and constant, then these other links will break if the process is updated and/or the website if regenerated.
 
Perhaps GUIDs were a better solution, as these are constant unless the underlying process element is deleted/recreated.
 
Thanks,
Chris


From: Ricardo Balduino [mailto:balduino@xxxxxxxxxx]
Sent:
Friday, July 06, 2007 6:40 PM
To:
Chris Sibbald
Subject:
Re: Question about EPF Composer HTML generation



Chris, I'm not sure. I confess I had seen this result before, but couldn't realize what behavior led to that.

I think this might be a good question for the tool team, but they will eventually ask us to reproduce steps - not sure how though.


Cheers,


Ricardo Balduino
IBM Rational Software (www.ibm.com/rational)
Eclipse Process Framework (www.eclipse.org/epf)



"Chris Sibbald" <Chris.Sibbald@xxxxxxxxxxxxx>

07/06/2007 12:25 PM


To
Ricardo Balduino/Cupertino/IBM@IBMUS
cc
"External Chris Sibbald" <csibbald@xxxxxxxx>
Subject
Question about EPF Composer HTML generation







Hello Ricardo,

 

I just noticed that the names of the generated HTML files have changed.

 

Some of them have a "-x", where "x" is an integer appended to the name.

 

For example, if I have a method element called "element_A.xmi" there is a generated page called "element_A-2.html".  Do you have any idea when and why this was changed?  Under what conditions are the integers appended?

 

The elements used to have a GUID in the filename and that was removed, so I can understand adding a incrementing number to get unique file names, but in many cases the appended integer is present even if the file name is already unique.

 

Any insight would be appreciated.

 

Cheers,
Chris

--------------------------------------------------------------------------------
Telelogic Lifecycle Solutions:
Helping You Define, Design & Deliver Advanced Systems & Software
Learn More at
www.telelogic.com

Chris Sibbald
Vice President, Standards and Technology
Telelogic North America Inc.
255 Albert Street, Suite 600
Ottawa Ontario K1P 6A9
Canada

Phone: +1 (613) 266 5061
Fax: +1 (613) 482 4538
Mobile phone: +1 (613) 266 5061

Chris.Sibbald@xxxxxxxxxxxxx
http://www.telelogic.com

Telelogic - Requirements-Driven Innovation!

-------------------------------------------------------------

The information contained in this e-mail, including any attachment or enclosure, is intended only for the person or entity to which it is addressed and may contain confidential material. Any unauthorized use, review, retransmissions, dissemination, copying or other use of this information by persons or entities other than the intended recipient is prohibited.


Back to the top