cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with 3rd party lib

usetelni
Champ in-the-making
Champ in-the-making
Good afternoon, guys.

I think this issue is categorized as configuration, sorry if I'm wrong.

Well, here is my problem, when compiling with ant I got this issue:
\alfresco\root\build.xml:590: Cannot find javahl, svnkit nor command line svn client


But looking the source of build.xml there is a tag(eclipse warn tag) as follow:
alfresco\root\${dir.project.3rdparty.lib} does not exist. 
 

Could this be the problem? If that so, how do I can fix it?

Software:
ant 1.8
java 1.7
alfresco 4.2.e

ps: I'm using the default configuration.
5 REPLIES 5

jpotts
World-Class Innovator
World-Class Innovator
Under root you should have a folder called projects and under that 3rd-party. Make sure that is there.

You should also have a build.properties file and in that file you should have dir.project.3rdparty and dir.project.3rdparty.lib defined along with a lot of other essential properties.

Note that there is usually no reason to build the software yourself. You can download one of the pre-compiled binaries from http://wiki.alfresco.com/wiki/Community_file_list_4.2.f (or 4.2.e or whatever version you want).

Jeff

usetelni
Champ in-the-making
Champ in-the-making
Thank you for your reply Jeff.

I had downloaded the community version from repository, for development/study purpose. Well, the directories is set the way you has described, and, I have the properties set correctly.
Could it be some jar missing?

mrogers
Star Contributor
Star Contributor
what build target are you using?    IIRC the default make everything target does something with SVN which could be part of the problem.

I use ant build-tomcat which works for me.

usetelni
Champ in-the-making
Champ in-the-making
Thank you for your reply, mrogers.
Unfortunatly none of the types of build is working, and indeed, is a svn issue.
Here the part of de build where the problem occur(or at least is where it is pointed)


<target name="set-revision-number" depends="init">
      <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
         <classpath refid="classpath.compile" />
      </taskdef>


In that part of the build is where I got this message
alfresco\root\${dir.project.3rdparty.lib} does not exist.

Also here:
 <classpath refid="classpath.compile" />

Any ideia?

usetelni
Champ in-the-making
Champ in-the-making
Solved!

The problem was the subversion plugin on eclipse.

Reinstall the plugin solved the problem.