![]() |
Telelogic TAU (steve huntington) | ![]() |
Topic Title: About loading library by loading hiberarchical u2 file Topic Summary: Created On: 15-Oct-2007 08:58 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
For instance, PackageA stored in the a.u2 file has two packages PackageB and PackageC which are stored in b.u2 file and c.u2 file. But when I load them by modifying *.mod file such as follow:
... "listEtc"="urn:u2:addins/XXX/etc/a.u2; urn:u2:addins/XXX/etc/b.u2; urn:u2:addins/XXX/etc/c.u2" I got that my library as follow in model view window: |--Library |--PackageA |--PackageB |--PackageC |--PackageB |--PackageC Why not is as below: |--Library |--PackageA |--PackageB |--PackageC When I use TAU API LoadLibrary in TCL implementation, it's also failed. Is there any other way to load library or any wrong step above |
|
![]() |
|
![]() |
|
What error messages are you getting in the script tab when trying to load it from TCL? Or when loading the addin in message tab?
|
|
![]() |
|
![]() |
|
When loading the addin message tab, there is no any error, it seems that's OK but duplicate packages can be seen. u2::LoadLibraryTNR0049: Failed to find element by reference (CS5NkEn49SALRQlg4V1QhBTI). TNR0034: Failed to find Definition CS5NkEn49SALRQlg4V1QhBTI of ClassSymbol. TNR0049: Failed to find element by reference (L27qHLmRDXLL3WM9dLLWrieV). TNR0034: Failed to find Definition L27qHLmRDXLL3WM9dLLWrieV of ClassSymbol. TNR0049: Failed to find element by reference (satsJLKxtpILmNX9hEHrijtI). |
|
![]() |
|
![]() |
|
Okay so I've looked into this. The behavior you are seeing is expected. When loading the profiles from the mod file you will get them all listed at the root node of the Libraries. I think the reasoning for this is because it was originally intended for stand-alone libraries. The reason why it isn't loading from the API is because one of the requirements of LoadLibrary is that the file you load must pass name resolution to make sure it meets the requirement of a library and has all the required definitions.
I can think of two requests you might make to support... 1. That Tau's Load Library is extended to allow input of several libraries to be analyzed during the load. 2. That libraries aren't always visible in the root node. May I ask why you want to break them out as separate files? Do you have different groups managing them or is this for some other reason? |
|
![]() |
|
![]() |
|
Yes, It's very close to that you mentioned.
We will design a very large library specific to our developing methodology, separating u2 file is a requirement of configuration management. Also the libraries have some of versions of themselves and it's very important to give right version to right u2 files that composed the whole library hiberarchically. Another reason is when the fragment of library is damaged the error will be limited in small area and very easy to be found and merged. For now, I hasn't other groups mananging these library By the way, it seems that TAU(Version 3.1.1.0 ) often crashs when my project is activated upon the addin with the profiles loaded from the mod file. I don't know if there is any relationship with different loading. Thanks your attention and reply |
|
![]() |
|
![]() |
|
Hi James
I was able to observe the crash with TAU 3.1.1.
1. Created an addin to load library
2. Opened a project and activated the addin
3. dited the u2 file of the addin
4. Updated the addin u2
5. Opened a project in TAU and activated the addin
6. TAU propmpted with TNR error for the deleted elements from the addin
7. On closing TAU i observed crash consitently
In order to be inline with the issue in concern we would need the dump files from your scenario as well.
If you would like us to investigate on this issue, please email us at: tausupport.eu@telelogic.com with a reference Case ID: 3035364.
|
|
![]() |
|
![]() |
|
Asha, thank you!
|
|
![]() |
|
![]() |
|
FYI we have fixed this for 4.0.
Greg ------------------------- Greg Gorman Vice President, Product Management Modeling and Test Products Telelogic AB |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.