cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply a customed file(jar, zip..)

pglovepg
Champ in-the-making
Champ in-the-making
Hello all. Thank you for taking the time to read this post.

I set up the alfresco-community 4.0 on Linux server(CentOS 5.4).
(server is a remote server, SSH connecting)

separately,
I am trying to custom alfresco(SDK Custom Login sample) on my Local PC,

I have downloaded the alfresco-community-sdk-4.0.b.zip
I have imported the projects using File|Import|Existing Projects into Workspace in Eclipse.

expand SDK Custom Login package and right click 'build.xml' and  Run As > Ant build.
so I have 2 result file, custom-login.jar and custom-login.zip.

Now, what shoud I do next step?
just send 2 file to WEB-INF/lib folder on remote server?

I am obviously a newbie, I don't understand alfresco developer guide or wiki(that's very rough info…)
please let me know very very specific step on remote server or local pc…T.T

Thank you,
Lee.
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
All the jars must be applied in the Alfresco WAR inside the alfresco.war/WEB-INF/lib, but all the Spring contexts must be defined in the shared classloader of the application server. If you are using Tomcat the shared classloader is defined here: tomcat/shared/classes/alfresco/extension.

The extension root folder is the way that you should use to extend the Alfresco Spring context to load or override new resources in the Java classpath.

Hope this helps.