I checked out the latest version of htmlunit from the svn trunk and I am
trying to add two methods to the webclient,
/**
* Set the ip address to be used when making the connection.
*
* @param String for example “192.168.0.10”
*/
public InetAddress setIpAddress(String address) {
try {
ipAddress_ = InetAddress.getByName(address);
}
catch (final IOException e) {
LOG.error("could not get ipaddress", e);
}
return ipAddress_;
}
/**
* Return the object that will use to set the ip address of the
connection.
*
* @return the ip address of the connection
*/
public InetAddress getIpAddress() {
return ipAddress_;
}
The thing is - and this where I am very stuck - i cannot see the new
methods in class of the jar file after compiling with maven
i did
mvn clean compile
mvn package
the html unit target snapshot was created in the target folder and
copied to the artifacts ok - only without my additional methods. does
anyone know what i might be doing wrong??
thanks a million
jason.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email