18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
building from source
I have dowloaded sahi source to my local machine and added log4j.jar and junit.jar to the extlib directory. Then from a command prompt at the base directory I have entered, simply, ANT.
I was expecting sahi to build, but instead I get the following output
Many thanks
Donna
I was expecting sahi to build, but instead I get the following output
What have I missed? I haven't found any further details on building from Source online\sahi>ant
Buildfile: build.xml
all:
clean:
compile:
[javac] Compiling 83 source files to\sahi\classes
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:6: package org.a
pache.xmlrpc.client does not exist
[javac] import org.apache.xmlrpc.client.XmlRpcClient;
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:7: package org.a
pache.xmlrpc.client does not exist
[javac] import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:22: cannot find
symbol
[javac] symbol : class XmlRpcClient
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] private XmlRpcClient rpcClient;
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:31: cannot find
symbol
[javac] symbol : class XmlRpcClient
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] void initializeXmlRpcClient(XmlRpcClient rpcClient, XmlRpcClient
ConfigImpl configImpl) {
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:31: cannot find
symbol
[javac] symbol : class XmlRpcClientConfigImpl
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] void initializeXmlRpcClient(XmlRpcClient rpcClient, XmlRpcClient
ConfigImpl configImpl) {
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:42: cannot find
symbol
[javac] symbol : class XmlRpcClient
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] JiraIssueCreator(XmlRpcClient rpcClient) {
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:28: cannot find
symbol
[javac] symbol : class XmlRpcClient
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] initializeXmlRpcClient(new XmlRpcClient(), new XmlRpcClientC
onfigImpl());
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:28: cannot find
symbol
[javac] symbol : class XmlRpcClientConfigImpl
[javac] location: class net.sf.sahi.issue.JiraIssueCreator
[javac] initializeXmlRpcClient(new XmlRpcClient(), new XmlRpcClientC
onfigImpl());
[javac] ^
[javac]\sahi\src\net\sf\sahi\issue\JiraIssueCreator.java:66: reference to
JiraIssueCreator is ambiguous, both method JiraIssueCreator(java.lang.String) i
n net.sf.sahi.issue.JiraIssueCreator and method JiraIssueCreator(XmlRpcClient) i
n net.sf.sahi.issue.JiraIssueCreator match
[javac] JiraIssueCreator issueCreator = new JiraIssueCreator("");
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 errors
BUILD FAILED
\sahi\build.xml:93: The following error occurred while executing this line:
\sahi\build.xml:18: Compile failed; see the compiler error output for details.
Total time: 3 seconds
Many thanks
Donna
Comments
The jars should be in this folder structure:
extlib/test/ant-launcher.jar
extlib/test/jmock-1.1.0.jar
extlib/test/ant-testutil.jar
extlib/test/jmock-cglib-1.1.0.jar
extlib/xmlrpc/xmlrpc-common-3.0.jar
extlib/xmlrpc/xmlrpc-client-3.0.jar
extlib/xmlrpc/ws-commons-util-1.0.1.jar
extlib/test/cglib-nodep-2.1_3.jar
extlib/test/junit.jar
extlib/test/log4j.jar
Will move it around in svn.