cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to build Alfresco Surf (missing dependencies)

benkrembs
Champ in-the-making
Champ in-the-making
After reading all the exciting blog posts about Alfresco Surf, I finally decided to give it a try myself – but I couldn't get too far.  Per the instructions on the "Getting Started" portion of the Surf intro page (http://wiki.alfresco.com/wiki/Surf_Platform) it recommends checking out the project from Subversion and building from source to create a bare bones project.  So…

1. I checked out code from svn://svn.alfresco.com/alfresco/HEAD
2. I went to the /root directory and ran "ant incremental-webframework-tomcat"
3. I got the following compile error:
[javac] E:\projects\reference\surf\root\root\projects\web-framework\source\java\org\alfresco\web\site\servlet\NTLMAuthenticationFilter.java:239: cannot find symbol
    [javac] symbol  : variable NTLMMessage
    [javac] location: class org.alfresco.web.site.servlet.NTLMAuthenticationFilter
    [javac]             int ntlmTyp = NTLMMessage.isNTLMType(ntlmByts);

I did some digging and was able to get past that error if I manually included alfresco-jlan.jar…. but then hit another compile error.  Am I doing something wrong?  How does a developer give Surf a test drive?

-Ben
3 REPLIES 3

laura_
Champ in-the-making
Champ in-the-making
Ditto.

Where on earth is a developer supposed to download Surf from?

brian_robinson
Champ in-the-making
Champ in-the-making
Try running:

ant package-jlan

and then:

ant incremental-surf-starter


Thanks,
-Brian

mcapcarre
Champ in-the-making
Champ in-the-making
Thanks that seems to work fine. Cheers.