Page 1 of 1

recomplie error

PostPosted:Mon Nov 10, 2008 1:13 am
by ygli
hi
I want to change the admin role \"system\" in 2.0 version,
I change the resource code ,just

es.git.openkm.frontend.client.util.WorkspaceUserProperties and es.git.openkm.frontend.client.widget.UserInfo

in these 2 class, I replace \"system\" with SYSTEM_USER IN

es.git.openkm.core.Config
and import this class,so I think I can use the OpenKM.cfg configuration
,but when I run generate.bat ,there is a complie error .
the description is printed by GWTComplier , it said that it can\'t find es.git.openkm.core package in WorkspaceUserProperties or UserInfo class.

if I change the \"system\" in 2 class to other String object ,
I can complie this project and generate the ear file to deploy.
please give some help about this ,thank you very much.

Re:recomplie error

PostPosted:Mon Nov 10, 2008 8:47 am
by pavila
In OpenKM 3.0-RC1 \"system\" user has been replaced by \"admin\".

Re:recomplie error

PostPosted:Mon Nov 10, 2008 11:21 am
by jllort
Only one question, you\'re not compiling actual cvs source code no ? you are compiling older 2.0 OpenKM source code version ?

Re:recomplie error

PostPosted:Tue Nov 11, 2008 1:25 am
by ygli
to pavila:
in my environment I can\'t create a username like \"admin\" in a grant AD system because it is so special, so I just want to make the application can use Config.SYSTEM_USER that can be changed by changing the OpenKM.cfg file.

to jllort
my actually problem is can not complie the changed code that just import Config class in this project. I can complie the code from cvs and build ear file if there is no changes. Maybe it is the GWTComplier\'s problem?

Re:recomplie error

PostPosted:Tue Nov 11, 2008 7:16 am
by jllort
I ask you about it you had made some cvs checkout, because we\'ve updated the cvs code to OpenKM 3.0 community and now the IDE and GWT version to compile has been changed. If it\'s your case must take a look at new developer guide.

Re:recomplie error

PostPosted:Wed Nov 12, 2008 8:29 am
by ygli
to jllort

no, I did not check out new code from cvs recently
I make sure I just complie the 2.0 version code

and I just find 2.0 version develop guide by your link

thanks