|
|
4:
Re: Re: Steps to create a tool and integrate in the Author
|
In response to 2
|
08/24/10 01:45 AM |
|
Thanks Ernie for the info provided.
While installing the toolbuilder plugin in the eclipse,
I get an error
-------------------------------------------------------------
Cannot complete the install because some dependencies are not satisfiable
org.lams.toolbuilder.feature.group [1.0.0] cannot be installed in this environment because its filter is not applicable.
-------------------------------------------------------------
I'm not sure what dependencies are not satisfied.
Posted by Syed Ghouse
|
|
|
5:
Re: Re: Steps to create a tool and integrate in the Author
|
In response to 2
|
08/24/10 03:05 AM |
|
I've followed the other method of getting the plugin, it was fine.
But, when I run the lams_build/build.xml to deploy the new tool in eclipse the build fails because of the followin msg.
-------------------------------------------------------------
..\workspace\lams_common\build.xml:168: D:\jboss-5\common\lib not found.
-------------------------------------------------------------
I know the path is not correct, I need to change the path.
But I can't find the file where the above path is assigned
Posted by Syed Ghouse
|
|
|
|
7:
Re: Re: Steps to create a tool and integrate in the Author
|
In response to 2
|
04/05/11 11:00 PM |
|
Hi Ernie,
I have recompiled and was able to run LAMS but after checking it seems that the custom tool i created is not displaying on the author tab. Is there a way to recompile LAMS not from scratch but just the tool code so that the Databse is not wiped out. Thanks!
Posted by b u
|
|
|
|
9:
Re: Re: Re: Re: Steps to create a tool and integrate in the Author
|
In response to 8
|
04/06/11 05:36 PM |
|
Thanks for that Ernie. I read the contents of the link you provided. I have the sql script and deploy directory all set-up. But still when I build the tool the custom tool is still not on the Author Tab Tools list. What I have in sequence for the build are these:
deploy-tool, synchronize-deploy
Is this sequence correct? The link doesn't seem to provide the build sequence to use.
Thanks again.
Posted by b u
|
|
|
|
11:
Re: Re: Re: Re: Re: Steps to create a tool and integrate in the Author
|
In response to 9
|
04/06/11 09:58 PM |
|
Hi BU,
Once you have your tool ready to be deployed, I would suggest you select the "explode war" task. That will copy deploy your tool into the lams.ear directory and of course explode it (open the war file).
Then if you do changes in the jsps, you can synchronise deploy and they would get copy over to jboss and you won't need to stop it.
However, if you do change in any .java files, well... you'll need to restart jboss.
I'm not so sure if there's a way to make .jar changes while Jboss is running. But I don't think so.
Hope it helps.
Ernie
Posted by Ernie Ghiglione
|
|
|
|
|
14:
Re: Re: Re: Re: Re: Re: Re: Re: Steps to create a tool and integrate in the Author
|
In response to 13
|
04/12/11 11:37 PM |
|
Hi Ernie,
I have looked at those links. I have done the following:
- modified fckconfig_custom.js - added the name of my tool in FCKConfig.ToolbarSets["Default"]. I also added FCKConfig.Plugins.Add('mytool', 'en');. I have rebuilt the tool build.xml and when I open up the FCK Editor, it is not displayed and I also get error "Unknown toolbar item". How do I resolve this?
Posted by b u
|
|
|
|
16:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Steps to create a tool and integrate in the Author
|
In response to 15
|
04/14/11 08:57 PM |
|
Hi Ernie,
Now it is displayed on the Text Editor, thanks for your help there. For some reason I withinn the fckeditor/plugins/ directory, the diractory for my custom tool was not being deployed. Once this directory existed - it worked. BUT ...I get javascript errors when I click on my cuatom tool. I get Error: Invalid Argument. I can't find what is causing this.
Posted by b u
|
|
|
|
|
3:
Re: Steps to create a tool and integrate in the Author
|
In response to 1
|
08/23/10 07:24 AM |
|
Adding to what Ernie posted, I believe you need to have some mid-deep knowledge about Spring and Struts, the frameworks included in LAMS. If you don't, probably you'll not understand the folder structure and why some files are related to each other.
Hope it helps!
Posted by Felipe Peña
|
|