Has problem with multiple repositories. I have three
repositores specified in my build.properties. One is
maven on ibiblio, one is jam's repo and the other is my
local corporate repo. Dependencies in jam and
local-corporate repo's dont resolve correctly in
get-libs.xml.
Logged In: YES
user_id=1029679
fixed
Logged In: YES
user_id=1250419
Looks like that will work. New problem is if ther is a
trailing '/' on the url for ${_repo} it will create
something like this (note the '//' after maven):
src="http://www.javagen.org/maven//csp-balancedue/jars/csp
l took that base url from the JAM documentation on setup and
install.
Tried to fix it with this but having problems with the
u:replace thing:
<j:set var="srcurl"
value="${_repo}/${dep.artifactDirectory}/${dep.type}s/${dep.artifact}"/>
<u:replace var="srcurl" value="${srcurl}" old="http://"
new="http:///"/>
<u:replace var="srcurl" value="${srcurl}" old="//"
new="/"/>
<!-- ${srcrul} -->
<get
dest="$${local.repo}/${dep.artifactDirectory}/${dep.type}s/${dep.artifact}"
usetimestamp="true" ignoreerrors="true" src="${srcurl}"/>
Logged In: YES
user_id=1250419
OK, its an old version of jelly utilities, try this instead....
<u:tokenize var="urlparts" delim="/">${_repo}</u:tokenize>
<j:set var="srcurl" value="http:/"/>
<j:forEach var="parts" items="${urlparts}">
<j:if test="${parts}!='http' and ${parts} != ''">
<j:set var="srcurl" value="${srcurl}/${parts}"/>
</j:if>
</j:forEach>
<j:set var="srcurl"
value="${srcurl}/${dep.artifactDirectory}/${dep.type}s/${dep.artifact}"/>
<!-- ${srcrul} -->
Logged In: YES
user_id=1250419
oops, still getting used to jelly, upon closer inspection
had a problem. Here is a betterfix.