[Uml-devel] Using external library.
skiphuffman at gmail.com
Fri Feb 10 14:21:44 UTC 2012
Ok, that partially works. But not entirely. Also instead of importing
"time" it tries to import "Time". The capitalization is correct in the
umbrello model, just not in the generated code.
Let me restate the question a bit.
If I were hand coding the library instead of using Umbrello to generate it,
I would include several lines at the top:
from selenium.webdriver.support.ui import WebDriverWait
from selenium.common.exceptions import *
(Those are all external libraries. One third party, and one standard
How can I set up the umbrello model to include these same lines in
On Wed, Feb 8, 2012 at 1:49 PM, Skip Huffman <skiphuffman at gmail.com> wrote:
> Thanks Andi. I will give that a try!
> On Wed, Feb 8, 2012 at 12:56 PM, Andi Fischer <andi.fischer at hispeed.ch>wrote:
>> Am 08.02.2012 13:24, schrieb Skip Huffman:
>>> Resending this, since I never saw it on the list yesterday.
>>> On Tue, Feb 7, 2012 at 9:43 AM, Skip Huffman <skiphuffman at gmail.com<mailto:
>>> skiphuffman at gmail.com>**> wrote:
>>> How can I include an external library (in my case the standard
>>> library "time") so that the source code that I include in the
>>> diagram and export with the code generator can use it.
>>> Right now I have to go into the generated files and add the
>>> "import time" to the top of the files.
>>> Hi Skip,
>> See attached screen shot, which will probably not find its way to the
>> I added a class "time" and a class "MyClass". Then I added an attribute
>> "m_localTime" of type "time" to "MyClass".
>> When I generate C++ code, I can find the include of time.h. Works also
>> for python.
>> Unfortunately this seems not to work for Java or C#.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the umbrello-devel