Re: Eclipse 3.4 and IvyDE

2009-01-05 Thread Konstantin Rekk
Using Version: 3.4.1 Build id: M20080911-1700 (linux, Java 1.6) with same updatesite. It works and I was just able to build and run the ivy project (co from svn) after import in Eclipse (although using NB most of the time cause of eclipse plugin nightmare ;-) ). On Mon, 2009-01-05 at 15:42 -

Re: Eclipse 3.4 and IvyDE

2009-01-05 Thread Mondain
Version: 3.4.1 Build id: M20080911-1700 On Mon, Jan 5, 2009 at 3:34 PM, Kay Kay wrote: > Mondain wrote: > >> I'm beyond frustrated at this point, but I will be as succinct as possible >> here. I am a core developer on the Red5 project and I implemented Ivy >> for dependency handling some time ag

Re: Eclipse 3.4 and IvyDE

2009-01-05 Thread Kay Kay
Mondain wrote: I'm beyond frustrated at this point, but I will be as succinct as possible here. I am a core developer on the Red5 project and I implemented Ivy for dependency handling some time ago (>1 year) in lieu of Maven. Eclipse is our IDE of choice so naturally we try to use the IvyDE to ke

Eclipse 3.4 and IvyDE

2009-01-05 Thread Mondain
I'm beyond frustrated at this point, but I will be as succinct as possible here. I am a core developer on the Red5 project and I implemented Ivy for dependency handling some time ago (>1 year) in lieu of Maven. Eclipse is our IDE of choice so naturally we try to use the IvyDE to keep our deps dynam

Re: artifact not found after switch to defaultLatestStrategy="latest-time"

2009-01-05 Thread Maarten Coene
At first sight, it seems like a bug to me, could you open a JIRA ticket? The difference between "latest-time" and the default latest strategy is that I think for latest-time Ivy will need to download the ivy.xml while for the default latest strategy, this ivy.xml is not needed. I guess something

Re: how to put the artifacts in ant classpath?

2009-01-05 Thread Alan Chaney
Thanks Maarten, that's very helpful. I'm reworking my build structure over the next few days and I'll take your comments into account. Alan Maarten Coene wrote: Here is how I use it: I always use ivy:cachpath for "building" tasks like: - compilation - junit testing - PMD/Checkstyle/... repor

Re: how to put the artifacts in ant classpath?

2009-01-05 Thread Maarten Coene
Here is how I use it: I always use ivy:cachpath for "building" tasks like: - compilation - junit testing - PMD/Checkstyle/... reporting I only do a retrieve when creating a zip, war or ear (or anything else that will be distributed) so it can be installed/deployed independently. Maarten ---

Re: how to put the artifacts in ant classpath?

2009-01-05 Thread Alan Chaney
Yes, that makes sense, because after all the build file is probably already dependent upon ivy (it will have all the ivy resolve stuff in it at the very least.) Another thought (I'm not sure if this is OT) - what does IvyDE for eclipse do? I've been trying to find the time to work out whether I

Re: how to put the artifacts in ant classpath?

2009-01-05 Thread Archie Cobbs
I'm not an expert but here's my comment :-) I think we should simply change the comment from "Please prefer the use of retrieve + standard ant path creation" to "You may want to prefer the use of retrieve + standard ant path creation". If you don't care about making your ant build "independent fr

Re: how to put the artifacts in ant classpath?

2009-01-05 Thread Alan Chaney
I wondered about this as well - I've been using ivy:retrieve to pull stuff into local folders and using that for the jar/war builds. This can get a bit messy, so I was quite interested in using ivy:cachepath when it was raised in this thread because then I would only have to have one copy of a

artifact not found after switch to defaultLatestStrategy="latest-time"

2009-01-05 Thread Konstantin Rekk
Hello, I encountered a strange behaviour during retrieve and I don't know if it's a bug or due to my misunderstanding ... (ivy 2 RC2) This works: Case A) This not: Case B) It seems that the publications section is not honored in Case B. Instead ivy is looking f

Ant Difference of Two Relative Paths?

2009-01-05 Thread iamleppert
Is it possible somehow using the pathconvert task to translate one relative path to another, given a "reference point"? E.g. Given the following directory structure: modules/mymodule/resources/css/something.css I have relative paths in something.css like the following: background-image: url(.

RE: how to put the artifacts in ant classpath?

2009-01-05 Thread paul . newport
I wouldn't use cachepath, as one would normally not have the ivy cache present on the deployment target. We use the ivy cache jars via IvyDE for compilation, but ivy retrieve for pulling jars into wars. Target www.targetgroup.net Target is a trading name of Target Group Limited, registe

RE: how to put the artifacts in ant classpath?

2009-01-05 Thread Brown, Carlton
Is cachepath the preferred way to do this? The docs seem to suggest otherwise: "Please prefer the use of retrieve + standard ant path creation, which make your build more independent from ivy (once artifacts are properly retrieved, ivy is not required any more)." This almost sounds like it is de

Re: Invoking remote batch file using ANT

2009-01-05 Thread Steve Loughran
Rohit P wrote: Hi, I have to write a build script that will invoke a batch file on remote m/c if it runs SSH, you can in. If it is just a windows box, install telnet service and run . -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action ht

Invoking remote batch file using ANT

2009-01-05 Thread Rohit P
Hi, I have to write a build script that will invoke a batch file on remote m/c [i have mapped using network drives on local m/c to one of the drives of remote machine]. This batch file uses resources on remote m/c and generates an executable file. I have to then copy that executable for local m/c.