David Saint wrote:
> I went back to the rev 13652 and rebuilt from scratch but no luck, I get
> the exact same error (using svn). Any idea how to fix or work around it?
>
> Thanks...
> Dave.
>
>
> compile:
> Compiling 6 source files to
> /usr/src/packages/BUILD/sipxconfig-3.11.7/plugins/counterpath/cmcprov/classes
> /usr/src/packages/BUILD/sipxconfig-3.11.7/plugins/counterpath/cmcprov/src/org/sipfoundry/sipxconfig/cmcprov/LoginServlet.java:21:
> package org.apache.commons.logging does not exist
> import org.apache.commons.logging.Log;
> ^
> /usr/src/packages/BUILD/sipxconfig-3.11.7/plugins/counterpath/cmcprov/src/org/sipfoundry/sipxconfig/cmcprov/LoginServlet.java:22:
> package org.apache.commons.logging does not exist
> import org.apache.commons.logging.LogFactory;
> ^
>
Looks like you do not have commons-logging.jar in the compile classpath.
If counterpath plugin build is in any way similar to other plugins (and
there is no reason it should not be) - the location of the .jar is provided
by lib.properties file.
For some reason configure does not set it up properly on your system.
Try this:
cd {build-dir}/sipXconfig
make build.properties
cd {source-dir}/sipXconfig
cat top.build.dir
(make sure that it points to you build directory)
And finally:
cd {source-dir}/sipXconfig/plugins/counterpath/cmcprov
ant -d | grep commons-logging
It should show you where ant would look for that jar.
Report back with your findings and we'll try to get to the bottom of the
problem.
D.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev