FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Compilation error in OKM-3_0 tagged source code (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Compilation error in OKM-3_0 tagged source code
#2762
kiransringeri (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Compilation error in OKM-3_0 tagged source code 8 Months, 3 Weeks ago Karma: 0  
Hi,
I have taken the OpenKM source code (tagged version OKM-3_0)
But, eclipse shows compilation problems.

Severity and Description Path Resource Location Creation Time Id
AuthModule cannot be resolved to a type openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 77 1245385639204 12421
AuthModule cannot be resolved to a type openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 108 1245385639204 12423
AuthModuleHome cannot be resolved to a type openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 46 1245385639204 12417
AuthModuleHome cannot be resolved to a type openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 63 1245385639204 12419
AuthModuleHome cannot be resolved to a type openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 63 1245385639204 12420
e cannot be resolved openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 269 1245385639290 12439
EvalError cannot be resolved to a type openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 268 1245385639290 12438
home cannot be resolved openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 63 1245385639204 12418
home cannot be resolved openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 81 1245385639204 12422
home cannot be resolved openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 112 1245385639204 12424
Interpreter cannot be resolved to a type openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 261 1245385639289 12436
Interpreter cannot be resolved to a type openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 261 1245385639290 12437
The import bsh cannot be resolved openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 30 1245385639289 12434
The import bsh cannot be resolved openkm/src/es/git/openkm/module/direct DirectScriptingModule.java line 31 1245385639289 12435
The import es.git.openkm.ejb.AuthModule.AuthModule cannot be resolved openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 41 1245385639204 12416
The import es.git.openkm.ejb.AuthModule.AuthModuleHome cannot be resolved openkm/src/es/git/openkm/module/ejb EJBAuthModule.java line 40 1245385639204 12415



PS: I didn't find a suitable group to post this question. So posting in the most active group.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2830
dignan (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Re:Compilation error in OKM-3_0 tagged source code 8 Months, 1 Week ago Karma: 0  
This is because you have not used XDoclet to generate those classes yet.

To do this you must install JBoss Tools version 2.1.2_GA plugin into Eclipse Europa (3.3). Then configure XDoclet in Preferences such that all libraries are found. Most of the libraries are in <eclipse home>/plugins/org.jboss.ide.eclipse.xdoclet.core_2.0.0.GA. There is one library missing, which you can get by downloading the file here: http://sourceforge.net/projects/xdoclet/files/xdoclet/xdoclet-bin-1.2.3.zip extracting that, and copying or moving xjavadoc-1.1.jar from there to the plugin folder of xdoclet.core_2.0.0.GA. Once you have done that, in Eclipse right click your openkm project and click "Run XDoclet". From there, follow the development guide instructions.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2834
kiransringeri (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Compilation error in OKM-3_0 tagged source code 8 Months, 1 Week ago Karma: 0  
Thanks a lot. It worked.
I am able to run the OpenKM from Eclipse.
How can I create the OpenKM.war file?
Is it like following?
1. Run generate.sh
2. Run generateback.sh
3. Zip the OpenKM.war folder in JBoss?

OR do we have a single script which generates OpenKM.war?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2837
dignan (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Re:Compilation error in OKM-3_0 tagged source code 8 Months, 1 Week ago Karma: 0  
I'm not sure what the exact step is, but you set it up to auto-update it in the developers guide here: http://www.openkm.com/index.php?option=com_openwiki&Itemid=48&id=developer_guide
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2844
jllort (Admin)
Admin
Posts: 826
graph
User Online Now Click here to see the profile of this user
Re:Compilation error in OKM-3_0 tagged source code 8 Months, 1 Week ago Karma: 16  
You must have installed jboss-tools in your eclipse. If generates automatically OpenKM.ear file to be deployed on jboss ( I think it's well explained on developer guide ). You must deploy OpenKM.ear file not OpenKM.war that's into ear file.
 
Report to moderator   Logged Logged  
 
Be open my friend
  The administrator has disabled public write access.
#3100
hayline (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Compilation error in OKM-3_0 tagged source code 6 Months ago Karma: 0  
Hi all...
I'm facing the same problem..
I just cannot find "Run Xdoclet" option..I installed Jboss Tools Plugin on eclipse but I can't find the folder
I can see Xdoclet preferences on window menu but can't find Xdoclet..
When trying the keys "ctrl+alt+F1" all I get is "Help - RElated TOpics" window..

Do you have any idea??
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop