I'm using FCKeditor with java and it works just fine.
I have several web sites and I would like to put the FCKeditor tag in a new personal tag. Not a big deal so far but would it be possible to put the content of the FCKeditor.zip file in a jar so that the whole component could be downloaded by maven using the right pom.xml ?
I did a jar file from the webapp/fckeditor folder. I put all the jars files in the lib folder :
-fckeditor.jar (my new jar replacing the webapp/fckeditor folder... )
But the editor is not found and in my page I have the following : "file not found : /fckeditor/editor/fckeditor.html "
Is it possible ? could you help ?
having the webapp/fckeditor folder in a jar
Re: having the webapp/fckeditor folder in a jar
How is your solution supposed to work anyway ? Think about it. I can't work because the files you depend on are in the webapp classpath and not the scope of your web server.
You, as far as can see, three possibilities to reach your goal:
1. Depend on a jar and serve the content from with a ProxyServlet mapped to /fckeditor/*. (I wouldn't do that).
2. Using war overlay(s) which contains the editor in the src/main/webapp dir. (Favorite)
3. Unpacking dependencies and binding to a phase. Ideally to process-resources phase. (Favorite).
At last, check all and pick the best for you dev life cycle.
Give me feedback on this.
You can get probably more ideas on the Maven User List.