Re: Lots of problems resolving maven dependencies in Ant

2020-05-22 Thread Rick Mann
ain binary files, unzipping all the jars (in case the > URL is a resource file ...). > > Sorry to be late ... > > Cheers, > > Davide > > On 19/05/2020 07:48, Rick Mann wrote: >> Welp, that didn't work. So I downloaded the sources and modified the code

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
gt; -- > so : > a) recompile > b) binary patch or ... > - you could override it in settings. > (or pointing to a mirror, or a local artifactory) > > Good luck, > > Davide > > On 19/05/2020 03:55, Rick Mann wrote: >> Hi there. If anyone can help

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
uot;central"? > > Good luck, > > Davide > > On 19/05/2020 03:55, Rick Mann wrote: >> Hi there. If anyone can help with the following, I'd sure appreciate it: >> >> • Get Ivy to set a classpath (cachepath) >> • Get Maven Artifact Resolve

Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
n bigger mess than it was then. This email only scratches the surface of what I've gone through to try to resurrect this project. Thanks, -- Rick Mann rm...@latencyzero.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: SOLVED: Problems running "pure" JUnit4 tests (get "no runnable method" exception)

2006-08-26 Thread Rick Mann
I figured it out, sorry. My build.xml was causing all classes named "Test*" to run, and I had named a class that way that was not intended to be a test. -- Rick smime.p7s Description: S/MIME cryptographic signature

Problems running "pure" JUnit4 tests (get "no runnable method" exception)

2006-08-26 Thread Rick Mann
I read a thread from back in March where people were discussing the "no runnable method" exception generated when trying to use the latest Ant/JUnit4 against tests written against JUnit3. In my case, I'm running a "pure" JUnit4 test, with a single method annotated with @Test, and I'm gettin

Re: SOLVED Loading resources from my task's JAR?

2006-01-05 Thread Rick Mann
Okay, I found the problem. I'm very sorry to have wasted everyone's time. Although I was dumping the name of the file to the log, I was actually calling getResourceAsStream() with a modified version of the filename (an artifact left over from my first attempt to put the templates in a "temp

Re: AW: Loading resources from my task's JAR?

2006-01-05 Thread Rick Mann
On Jan 5, 2006, at 2:12 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: I did a quick test... and it works for me. Yep, your example works for me, too. Grr. $ ant Buildfile: build.xml build: [mkdir] Created dir: /Users/rmann/Desktop/testtask/build/classes [javac] Compiling 1

Re: Loading resources from my task's JAR?

2006-01-05 Thread Rick Mann
On Jan 5, 2006, at 1:25 AM, Stephen McConnell wrote: Given that the "templates/Class.tmpl" is a relative address (relative to the package namespace of the class returned from getClass()), and if the class is in the package namespece "com/mycompany/tools/dbgen" then woudn't the absolute re

Re: Loading resources from my task's JAR?

2006-01-05 Thread Rick Mann
On Jan 5, 2006, at 1:45 AM, Stephen McConnell wrote: This is not a issue of locating the jar file - after all you running which means you class is loaded which means the JRE has located the class which means the jar is know. If you task class is com/mycompany/tools/dbgen/DBGenAntTask.class

Re: Loading resources from my task's JAR?

2006-01-05 Thread Rick Mann
On Jan 5, 2006, at 1:04 AM, Steve Loughran wrote: this should work. make sure you have put the template into the JAR. the task may need to explicitly ask for it, or you should be using to copy the files from their source dir to build/ classes or wherever. I would have an "unjar" target

Loading resources from my task's JAR?

2006-01-04 Thread Rick Mann
I wrote an Ant task that needs to load some files (it's a source generator that loads template files). I'd like to store those files in the task's .jar file, but so far I've met with no success. I've tried storing the files in various parts of the .jar: templates/Class.tmpl com/mycompany/to

Re: AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Rick Mann
On Jun 13, 2005, at 02:34, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: A fileset has a common base directory. There are no nested filesets. Have you had a look at s? There are some tasks which dont support s, and is one of them [1] - oh, there was some work ... maybe a nightly build

How to use multiple filesets with classpath AND copy

2005-06-10 Thread Rick Mann
Hi. I'm building a handful of Struts webapps, and would like to do this in my build scripts: I want to specify a collection of .jar files from several different directories, and I want to refer to the entire collection with a single id. Now, I can make a fileset or filelist for a directory,