che, it just executes:
My repreport.settings are just a normal ivy-settings.xml file, defining the
resolvers I want to use for the report.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
On Fri, May 23, 2014 at 2:05 PM, David R Robison <
drrobi...
provides an attractive style
to the output. The report will include versions and dependencies for all
modules, as well as licences, if specified in the ivy.xml.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
On Fri, May 23, 2014 at 9:12 AM, David R Robison <
drr
The install task is for copying entire modules into a repository. You
typically don't do surgery on the artifacts, filtering by type or
classifier, at this point. Once it's in your repository, you use the
retrieve task to pull specific artifacts from dependencies.
Perhaps you can explain your use
Sure. Just set transitive=false on the dependency. IvyDE will treat it
the same way as ivy:resolve.
--Kirby
Sent from my mobile device
On Jan 13, 2014, at 6:18 PM, "KARR, DAVID" wrote:
> I noticed that I can toggle "transitive" on any "resolve" task, so that
> different projects or depende
n also publish poms to a Maven resolver, by adding an artifact of
type=pom to your ivy.xml and using an m2compatible resolver. See this
StackOverflow answer, for example:
http://stackoverflow.com/questions/8505062/publish-snapshot-artifacts-to-maven-using-ivy-whats-the-magic
Thanks,
---
Kirby Fi
specific subsets, or perhaps
various documentation-generation tasks.
BTW, what is the implication of the "mapped" attribute of the conf
element? I don't see that in the 2.3 documentation.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
The only thing I can think of is to make sure you're running the ant
binary from your ant installation, and not the one RedHat/Centos like
to include via RPM. The distro-installed RPM did at one time have a
hard-coded antlib, which ignored new jars you add.
Thanks,
---
Kirby Files
Sof
used to style the report, which I think I found in one of the
jars, or in the source repository.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
http://www.w3.org/1999/XSL/Transform";>
No dep
You have a syntax error.
should be
And yes, the chain should be listed after the resolvers which it
references.
You should decide if you want the chain to process the resolvers
strictly in the order listed, or find the "best" matching module. I
use personally.
Thanks,
---
K
pattern="/home/zeflasher/Work/test_ivy/repository/[organisation]/[module]/[revision]/ivy.xml"
/>
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
--
On Fri, Dec 2, 2011 at 9:01 AM, Kirby Files wrote:
> Here's what I said at stackoverflow:
>
> Wow, that looks like a very strange overloading of the dependency
> construct. I would stick with a simpler ivy.xml, with a single
> dependency upon moduleB. Just
your dependencies into:
rev="${dependency.rev.moduleB}"
conf="build-release->default;build-milestone->default;build-devs->default">
You can even supply a default value to the property (for IvyDE, for
example) in your ivy-settings.xml:
I use a build.properties file which specifies the path for those filesystem
resolvers. So on my Unix hosts, that property file uses the Unix path to the
mountpoint for the filesystem, and on Windows it uses UNC.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi
mode of operation, if
you thought through the ramifications, not limited to the ones listed
above.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
.
Still others use the Ivy-SVN integration to publish to a subversion
repo, and then use svnweb to access the repo.
All are valid choices; which is best for you will depend upon your
environment, VCS, and toolchain.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
ct in the prod ivy
repository">
artifactspattern="${dist.dir}/[type]s/[artifact]-[revision].[ext]"
resolver="masrep_sftp"
pubrevision="${revision}"
status="release"
"
status="release"
overwrite="true"
update="true" />
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
ooting questions
is to attach your ivy-settings.xml, ivy.xml, build.xml, and any logs.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
set a defaultResolver?
As Alan says, ant -v is helpful, and will tell you the resolver,
chain, etc being used.
Thanks
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Steve,
Steve Prior wrote on 07/25/2011 11:24 PM:
On 7/25/2011 10:39 PM, Kirby Files wrote:
To me, adding a bunch of dependencies, only to later exclude them, seems a
little backward (and awkward). If war is not a superset of runtime or
compile, then I wouldn't make it extend them. I'
n add deps shared by runtime
and war to minimal, and those only needed by runtime to it:
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
From: Steve Prior [spr...@geekster.com]
Sent: Monday, Jul
the project build files into it.
Have you considered SubAnt for building multiple projects, as an
alternative to lumping them into a single buildfile?
http://ant.apache.org/manual/Tasks/subant.html
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
ata is truly inconsistent). So everything in
your repo should be necessary -- a dependency (direct or transitive)
of your project.
Ivy will create its own ivy.xml from poms, though you may desire to
edit it, if the current metadata is a mess.
Thanks,
---
Kirby Files
Software Architect
M
ay use a
filesystem resolver or webdav as a destination).
I also have a bigger hack of a perl script which attempts to read a
directory of jars and guess the org, modul, and rev (validating
against maven2), or prompt the user when it's unclear. See below.
Thanks,
---
Kirby Files
Software Archite
defaultconfmapping, you can still override it on a
per-dependency basis, if you need to (and you will).
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
From: DAVID CORBIN [dcorbi...@gmail.com]
Sent: Wednesday, April 27, 20
tion due to their defining a
number of extra non-standard configurations.
You may also want transitive="false" on any deps which come from Maven, and are
known to have bad poms.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Use the ivy:repreport task?
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
-Original Message-
From: James Carr [mailto:jamesc...@carfax.com]
Sent: Wednesday, April 13, 2011 11:43 AM
To: ivy-user@ant.apache.org
Subject: Read all organizations, artifafact
Your options include Webdav, sftp, or ftp to your web server. We configure
separate resolvers with differnet protocols for resolving from and publishing
to our internal repo.
--kirby
-Original Message-
From: Richard_Senior
Sent: Tuesday, April 12, 2011 12:49 PM
To: ivy-user@ant.apach
with
your private filesystem resolver, which could be restricted to be used
only on build systems. Both the web server and ftp server would give
you a good audit trail. You can use either a URL resolver or VFS
resolver to access HTTP and FTP.
Thanks,
---
Kirby Files
Software Engineer
Masergy
with the
same version. Ivy's caching behavior works really poorly for modules
which are updated with the same version.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications, Inc.
kfi...@masergy.com
It's typical to structure the
repo:
org/module/ivys/ivy-x.x.x.xml
org/module/jars/module-x.x.x.jar
org/module/javadocs/module-x.x.x.zip
Thanks,
---
Kirby Files
Software Architect
Masergy Communications, Inc.
kfi...@masergy.com
From: Richard_Senior [rich
use that for publishing to our internal repo, and it works
fine. We have to add jsch.jar to our ANTLIB (and perhaps your Eclipse
Ant global classpath if using sftp with IvyDE).
jsch.jar is part of Eclipse Helios, and can be downloaded from
http://www.jcraft.com/jsch/
Thanks,
---
Kirby Files
Archie, does IvyRoundup have an xsl stylesheet for transforming the
repreport output to HTML?
Anyone else care to share their work on repreport transforms?
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
proved wording which explains that the matcher
is for matching dependent modules.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
From: Kelly, Sean [sean.ke...@disney.com]
Sent: Friday, December 10, 2010 6:52 PM
To:
,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
t where to find the jars or zips. When a new
version is released, just update the SHA1 sigs for the jars and the
version and publication date, and use ivy:install to populate your
repo. Better yet, submit your packager.xml to Ivy Roundup, and
everyone benefits:
http://code.google.com/p/ivyroundup/
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Martin Weber wrote on 12/08/2010 03:19 PM:
It would be useful, if at least the Ivy preferences in Eclipse would
allow to disable the ivy.jar on Ant's class path, since this breaks
Ivy's plugin loading mechanism.
Please, though, let's not make such behavior the default. It took long
enough to g
ttern.
Also, make sure the configurations you specify for an artifact are
public.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
David Sills wrote on 10/22/2010 03:09 PM:
Mitch:
Thanks so much for the suggestion, but neither adding type nor conf (no
matter w
ake sure the configurations you specify for an artifact are
public.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
David Sills wrote on 10/22/2010 03:09 PM:
Mitch:
Thanks so much for the suggestion, but neither adding type nor conf (no
matter what setting I u
We follow the GWT convention of putting .java files for all client packages in
the runtime jar artifacts which we publish for our GWT modules. This works
fine. See other GWT projects (GXT, tatami, gwt-mosaic) -- they all do this the
same way.
Thanks,
---
Kirby Files
Software Architect
Masergy
py to help.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
From: David Sills [dsi...@datasourceinc.com]
Sent: Tuesday, October 05, 2010 8:11 AM
To: ivy-user@ant.apache.org
Subject: Question about documentation
To whom it m
more typical artifact pattern would be: ${srcRoot}/tmp/jars/[artifact].[ext]
Then each artifact name you specify under publications will attempt to find a
jar matching the above pattern.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Tim Brown wrote on 08/11/2010 02:19 PM:
Apologies for not answering your specific question, but...
Don't do that!
Externalize your configuration and produce a single binary for all
environments.
I'm pretty sure you misunderstood the question. I don't think Simon
was intending on embedding di
n you cannot choose Build Path -> Add Library ->
IvyDE, and select a second ivy.xml? You cannot associate multiple
ivy.xmls with a single managed library container, but I don't see any
reason your needs wouldn't be met just as well with multiple library
containers.
Thanks,
---
Changing=true
kirby
-Original Message-
From: Mike Quilleash
Sent: Thursday, May 13, 2010 10:59 AM
To: ivy-user@ant.apache.org
Subject: Refreshing ivy cache after changing a published version
Hi all,
I have an Ivy repository where we store all our 3rd party libraries. One of
these
ndows exclusive locking is a PITA; I don't experience any of these
problems on Linux.
I have no idea if any of this is relevant to your setup, but I just
thought I'd pass it along.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
-Original Message-
e-x.y.z.jar
I also have a bigger hack of a perl script which attempts to read a
directory of jars and guess the org, module, and rev (validating against
maven2), or prompt the user when it's unclear. See below.
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy
ou see as a headache (maintaining an Ivy
repository or relying on the availability of a thirdparty repo), you
may want to consider the IvySvn resolver, which stores your
"repository" in SVN for you, not unlike the way you do it today --
except with extra metadata to improve indirect depende
For third-party modules, not everyone wants to pull in all of the
dependencies declared by a particular module. I personally don't want to
pull a whole pile of junk jars from Maven, just because some projects
list dozens of dependencies. For maven libs, I tend to just pull in the
artifacts from the
Kirby Files wrote on 06/10/2009 09:31 AM:
I'm not an expert with the way Ivy maps Maven goals to ivy
configurations (if you find documentation on this, let me know), but I'd
try:
conf="compile,sources->default"
Sorry, in copy and pasting, I kept the reversed order of
his
module, if any."/>
description="this configuration contains the javadoc artifact of this
module, if any."/>
description="contains all optional dependencies"/>
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
kaygee wrote on 06/05/2009 03:15 PM:
I'm looking for a description of what the status attribute does in
ivy:publish. I see that it would publish it with certain status, but the
documentation page doesn't really give any hints to valid values. The
examples I see have used "milestone" and "release"
Nicolas Lalevée wrote on 06/04/2009 05:56 PM:
When IvyDE fails to resolve (let's say the repo is unreachable), it
removes the Ivy classpath container from the project. With this gone,
there is no UI for forcing another resolve (e.g., when the repo comes
back online).
This is a known issue, see:
just leave the classpath container there, but mark it with an error?
I have workarounds (close and reopend project; edit IvyDE settings;
restart eclipse), but none are elegant or intuitive for my team. What
do others do in this situation?
Thanks,
---
Kirby Files
Software Architect
Ma
takes
precedence.
Now just publish your utility modules with the appropriate statuses,
and everything should Just Work, right?
Thanks,
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
e:
http://ant.apache.org/ivy/history/2.1.0-rc1/settings/namespaces.html
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Set sync="true" on the retrieve task if you wish to delete previous
dependencies.
--kirby
-Original Message-
From: Alex
Sent: Tuesday, April 28, 2009 12:30 PM
To: ivy-user@ant.apache.org ; a...@writingshow.com
Subject: Re: Deleting previous JARs/revisions - avoiding duplicate JARs
h as "compile", "runtime", etc. I
find this makes transitive dependency conf-mapping easier when using a
mix of enterprise and maven dependencies.
Thanks,
---
Kirby Files
Software Engineer
Masergy Communications
kfi...@masergy.com
attern, and the
to resolver is an SFTP or NFS-based resolver:
module="${module}" revision="${rev}" type="jar"
from="${localjar.resolver}" to="${to.resolver}" />
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
Tom wrote on 04/24/2009 03:54 AM:
OK, many projects have source and jar artifacts with the same name,
so you really want to either set a retrieve pattern which includes
the type of the artifact for disambiguation. If you cannot do this,
you'll need to specify an exclusion rule for your dependen
Tom wrote on 04/23/2009 12:23 PM:
Ok. Just to verify if I have got it right. If I say in my ivy.xml:
Then in slf4j there is:
And again log4j there would be a:
Is this the way the cascading is linked?
Yup, that's about it. In this case, slf4j happens to use the default
configuration
odule just list each of these as a dependency
with transitive=true. You can create basic ivy modules from the maven
repo for each dependency using the ivy:install task with from=ibiblio
to=local-repo.
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
lusion rule for your dependencies to only
include type jar. Here are examples of both:
pattern="${ivy.lib.dir}/[type]/[artifact]-[revision].[ext]"
haltonfailure="true" conf="build" sync="true"/>
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
riki.eng wrote on 04/22/2009 03:14 PM:
Hi guys,
we are using a simple tool that given some coordinates fetches the jar from
maven central and copies it in our enterprise repo using the ivy:install
task.
I am running into a couple of issues and I was wondering if anybody had
similar problems (and
uot;exlcude" and
"include" those that you need for say, compilation, deployment, or
interaction with another framework. Having to use explicit exclusion
rules for each dependency (which sounds like what you're discussing)
would be beyond tedious. Configurations allow a mod
Tom wrote on 04/22/2009 10:41 AM:
I also have the problem that it is not working as expected. Using the
following ivy.xml:
In this case, you're relying on Ivy's default configuration mapping,
which I believe is "*->*", which means you'll get all of the artifacts
(jars) defined by *an
resolves, and N workspace rebuilds -- as opposed to the desired N
resolves and 1 workspace rebuild.
Is there any way to change IvyDE to delay the builds until all
projects have finished resolving?
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
ing artifact statuses and revisions, resolve
and conflict strategies, etc.).
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
e that is to reduce it to
the smallest possible test case, and then post all configurations to
the list (ivysettings.xml, ivy.xml, build.xml...)
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
ext( $node ) } = 1;
}
my @keys = (sort keys %uniq);
if ($#keys == 0) {
return ($keys[0]);
} elsif ($#keys == -1) {
print "Found no module matching $module in Maven repo\n";
return -1;
} else {
print "Found multiple possible orgs for $module in Maven repo:\n";
Sorry, let's try that *with* an attachment.
---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com
-Original Message-
From: Kirby Files [mailto:kirby.fi...@masergy.com]
Sent: Thursday, December 18, 2008 11:27 PM
To: ivy-user@ant.apache.org
Subject: RE: h
y use a filesystem resolver or webdav as
a destination).
I also have a bigger hack of a perl script which attempts to read a directory
of jars and guess the org, modul, and rev (validating against maven2), or
prompt the user when it's unclear. See the attachment.
---
Kirby Files
Software Arc
csanders wrote on 11/21/2008 04:29 PM:
We are a team of about 20 I was hoping to have a publicly shared repo
where all team members could publish their artifacts, maybe I'm taking
the wrong approach ?
Not necessarily. We use an sftp resolver to publish to our central
repo, which is accessed f
Jacob Scott wrote on 08/14/2008 02:23 PM:
I have Eclipse set up with five projects, such that all projects hit the same
ivy repo/have the same ivy config. Is there any easy way to have them all
resolve at once? It is getting tedious to manually trigger each resolve.
Well, I can think of two way
Folks,
Could I please get some advice on publishing -sources artifacts to
a repo? While IvyDE recognizes source, javadoc, etc as valid artifact
types, I'm getting no love from the ivy:publish task when using these.
I tried to use the following publish task:
artifactspattern=
75 matches
Mail list logo