cancel
Showing results for 
Search instead for 
Did you mean: 

How do I even start? whereis org.alfresco.service.* [SOLVED]

piousbox
Champ in-the-making
Champ in-the-making
I have a Java class written by someone else that imports the following:

import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;
import java.util.*;

import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.namespace.QName;

import org.alfresco.service.cmr.model.FileFolderService;
import org.alfresco.service.cmr.repository.ContentWriter;
import org.alfresco.service.cmr.model.FileInfo;

import org.alfresco.util.ApplicationContextHelper;
import org.springframework.context.ApplicationContext;
import org.alfresco.service.cmr.model.FileFolderService;
import org.alfresco.model.ContentModel;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
//import org.alfresco.webservice.util.AuthenticationUtils;
import org.alfresco.repo.security.authentication.AuthenticationComponent;
import org.alfresco.service.cmr.security.AuthenticationService;
import org.alfresco.service.ServiceRegistry;

Now to make small changes and recompile the class, I need to satisfy these dependencies. I only have the .java file. How do I setup the project to be able to recompile it? Instructions for NewBeans or Eclipse or anything plain ant would be fine.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse

You can get the pre-built libraries from the SDK or from a download of Alfresco.

Or you can build it yourself.