[umbrello] [Bug 379187] PHP class generation from code fails
Ralf Habacker
bugzilla_noreply at kde.org
Tue Apr 25 16:21:12 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=379187
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ralf.habacker at freenet.de
--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
Created attachment 105188
--> https://bugs.kde.org/attachment.cgi?id=105188&action=edit
xmi test file
I created an xmi file from inspecting attachment 105183, which indicates that
attachment 105183 seems not to be generated by umbrello.
Running generated code from this xmi file e.g.
php <umbrello-code-output-dir>/TimeTracker/Base/Models/Hour.php
returns
PHP Warning: require_once(ApiServer/Modules/Models/BaseModel.php): failed to
open stream: No such file or directory in
/home/xxx/uml-generated-code/TimeTracker/Base/Models/Hour.php on line 2
which could be fixed with setting the php variable include_path
cd /home/xxx/uml-generated-code/TimeTracker/Base/Models/
php -d include_path=../../../ Hour.php
to resolve the relative path.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list