I have a problem importing two packages, for example: import org.tmatesoft.svn.core.wc* import org.tmatesoft.svn.core.*
What I want to do id create a tag (svnkit doCopy) but I need SVNURL from org.tmatesoft.svn.core.SVNURL and SVNCopyClient in org.tmatesoft.svn.core.wc.SVNCopyClient.
I have similar problem when I want to use / apply two of my own modules, how do I do apply from: ‘myLib1.gradle’ and myLib2.gradle so methods from both are available?
the function status.getURL() returns SVNURL so I add this:
SVNURL mySVNURL = status.getURL();
and now I get an error::
Could not compile script ‘C:\work\myLib.gradle’. > startup failed:
script ‘C:\work\SS_PROCREDIT_4_0\myLib.gradle’: 142: unable to resolve class
SVNURL
@ line 142, column 16.
SVNURL mySVNURL = status.getURL();
Now as far as I can tell this would work if I changed the import from
import org.tmatesoft.svn.core.wc*
to
import org.tmatesoft.svn.core.*
but if I do this the initial function will no longer work (and I already have a method to update the working copy that works as well and depends on wc.* import).
I hope the questions is clear now - I want to know how to import both
org.tmatesoft.svn.core.wc* and org.tmatesoft.svn.core.* (or some other).