Re: When is the next release?

2006-01-30 Thread Clifton Craig
January 2006 5:16 pm, Clifton Craig wrote: > Does anybody have an idea about when the next release of Ant is due? I'm > having some trouble getting 1.6.5 to work as I'm getting an error: > Could not create task or type of type: scriptdef. > > Ant could not find the task or a cla

Re: Problems with exec task

2006-01-30 Thread Clifton Craig
Rhino, Here's another shot in the dark. Try using the start command to invoke the vbs. On the command line use: cmd.exe start /path/to/LaunchWdMacro.vbs ...then try the equivalent in Ant. --- Clifton C. Craig, Software Engineer Intelligent Compute

When is the next release?

2006-01-26 Thread Clifton Craig
Does anybody have an idea about when the next release of Ant is due? I'm having some trouble getting 1.6.5 to work as I'm getting an error: Could not create task or type of type: scriptdef. Ant could not find the task or a class this task relies upon. I get this even after copying the bsf.jar an

Re: Unit test a build

2006-01-25 Thread Clifton Craig
I'll see if I can get something working. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Tuesday 24 January 2006 11:50 pm, Stefan Bodewig wrote: > On Tue, 24 Jan 2006, Clifton Craig <[EMAIL PROTECTED]> wrote:

Re: Unit test a build

2006-01-24 Thread Clifton Craig
Carp! The snapshot doesn't look like it has the subprojects in it. On Tuesday 24 January 2006 9:59 am, Nicolas Vervelle wrote: > Clifton Craig wrote: > >Stefan, > > > >That sounds like exactly what I'm looking for. Only there's one big > > problem. I&#

Re: Unit test a build

2006-01-24 Thread Clifton Craig
006 9:59 am, Nicolas Vervelle wrote: > Clifton Craig wrote: > >Stefan, > > > >That sounds like exactly what I'm looking for. Only there's one big > > problem. I'm behind an authenticating HTTP proxy and I can't seem to get > > my svn client to

Re: Unit test a build

2006-01-24 Thread Clifton Craig
Stefan, That sounds like exactly what I'm looking for. Only there's one big problem. I'm behind an authenticating HTTP proxy and I can't seem to get my svn client to get through it. Our in office proxy has traditionally caused me such problems and I faced this about a month ago when I was tryin

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
> > > > > pathsep=","> > > > > > handledirsep="true" /> > > > > >includes="[EMAIL PROTECTED]" /> > > > > > best I can do for now, until we have local properties &g

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Sorry Matt, I don't believe I read your reply correctly. I'll go back and re-read then post again. Thanx! On Monday 23 January 2006 3:29 pm, Matt Benson wrote: > --- Clifton Craig <[EMAIL PROTECTED]> wrote: > > [SNIP] > > > ;) I must clarify that > > my to

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Matt, That's not bad! Thanx for the tip. I haven't tried it yet but I'm sure it will most likely work. I'll work that into my build once I fix an unrelated bug that was dropped into my lap a moment ago. Thanx again. --- Clifton C. Craig, Software E

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
Embarassing! Ok, some I misspelt purest. (Or is that misspelled purist.) Admitting that I'm not the purest I sought out to be ;) I must clarify that my tone was not intended as a heated tone. It is hard to express or interperet tone in text so let me assure you all that I'm not angry at anybody

Re: Unit test a build

2006-01-23 Thread Clifton Craig
On Sunday 22 January 2006 4:55 pm, Steve Loughran wrote: > Clifton Craig wrote: > > Given my passion for TDD I am now looking for a way to apply unit tests > > to my Ant build files. Is there an easy way or framework I can use? > > you need the antunit test framework; its i

Re: Copy a directory list

2006-01-23 Thread Clifton Craig
See, herein lies the problem. I'm not open to Ant-contrib. I'm what you might call a purest. I believe that this should be possible using vanilla Ant declarative syntax. I refuse to muddy up my build with forced procedural logic when it doesn't need to be included. I don't have the list in a fil

Unit test a build

2006-01-21 Thread Clifton Craig
Given my passion for TDD I am now looking for a way to apply unit tests to my Ant build files. Is there an easy way or framework I can use? --- Clifton C. Craig, Software Engineer Intelligent Computer Systems -  A Division of GBG [EMAIL PROTECTED]

Re: Copy a directory list

2006-01-21 Thread Clifton Craig
> Here is the error: the includes attribute should contain patterns > matching the file names you want copied. > The patterns only match the directories. > Try: includes="**/*.jar"" Tommy, I know where the error is my real problem is the property friving the selector needs to be a co

Copy a directory list

2006-01-21 Thread Clifton Craig
I'm having trouble doing something that I think should be really simple. I have a comma separated list of directories that I want to copy to a destination. I want those directories and everything in them to copy. When I use the copy task I get only the directories and not their contents. Eg. I h

Re: Can I substitute jar executable used by ?

2006-01-18 Thread Clifton Craig
On Wednesday 18 January 2006 2:06 pm, Cena, Bernard (IT) wrote: > Is there a way to substitute what executable is used under the hood of > task in similar fashion to executable and compiler attribute for > ? We've found quite slow on large packages and were > wondering if we could substitute for

Re: command execution

2006-01-18 Thread Clifton Craig
Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Wednesday 18 January 2006 9:40 am, Steve Loughran wrote: > Clifton Craig wrote: > > Even better than that, you don't need or . Use > > instead! > >

Re: particular fileset question

2006-01-18 Thread Clifton Craig
On Wednesday 18 January 2006 9:16 am, Markus Innerebner wrote: > Hi > > > > > > > > > > > also your approach does not work in my example. > Did you try it out? > > markus > > - > To unsubscribe, e-mail: [EMAIL P

Re: command execution

2006-01-18 Thread Clifton Craig
Even better than that, you don't need or . Use instead! --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Wednesday 18 January 2006 7:59 am, Jeffrey E Care wrote: > You

Re: particular fileset question

2006-01-18 Thread Clifton Craig
On Wednesday 18 January 2006 8:57 am, RADEMAKERS Tanguy wrote: > >-Original Message- > >My intention is to include all jars in folderA and folderB, ecluding > >jars in folderC. > > how about this: > > > > > > > that should be all jars anywhere except those in folderC > >

Re: particular fileset question

2006-01-18 Thread Clifton Craig
On Wednesday 18 January 2006 8:37 am, Markus Innerebner wrote: > I wrote wrong something: > > this is the right one > > > > > > Markus > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands,

Re: Jar task

2006-01-17 Thread Clifton Craig
ll get the folders named with proper uppercase/lowercase. > > On 1/17/06, Clifton Craig <[EMAIL PROTECTED]> wrote: > > On Tuesday 17 January 2006 6:49 am, Guruprasad R wrote: > > > i am creating a jar file using the below ant script. > > > > > > > &

Re: Jar task

2006-01-17 Thread Clifton Craig
On Tuesday 17 January 2006 6:49 am, Guruprasad R wrote: > i am creating a jar file using the below ant script. > > > > > > > > The created jar file has all the files twice in it, with the same path. ex: > there are 2 files named as weblogic-ejb-jar.xml with the same path. > i have ano

Re: Jar task

2006-01-17 Thread Clifton Craig
On Tuesday 17 January 2006 6:49 am, Guruprasad R wrote: > i am creating a jar file using the below ant script. > > > > > > > > The created jar file has all the files twice in it, with the same path. ex: > there are 2 files named as weblogic-ejb-jar.xml with the same path. > i have ano

Re: How to access an inner jar file that resides in a outer jar?

2006-01-16 Thread Clifton Craig
On Friday 13 January 2006 2:35 pm, Gerd Wütherich wrote: > Hi, > > is there any possibility to access an inner jar file that resides in a > outer jar while using an ant path structure? > > Short example: > > > > > > > > I did not find any information about it, so i

Re: File prefix when building a jar

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 1:02 pm, Steve Pruitt wrote: > I cannot find a way to configure a task building a jar to include files > with a directory prefix. The war tag allows webinf tags which have a > prefix attribute. But, I can't something that works inside the jar tag. > > > Can someone provi

Re: Relative paths

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 8:53 am, Paulo Jorge Guedes wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: sexta-feira, 13 de Janeiro de 2006 13:20 > > To: Ant Users List > > Subject: RE: Relative paths > > > > >It looks on the nbproject path... > >

Re: help please

2006-01-13 Thread Clifton Craig
On Friday 13 January 2006 5:56 am, Ritu Raj Arya wrote: > I have installed ant on my system when i check version > > ant -version > > error message comes > > out of environment space > > kindly help. I suspect you're running on an old Win95 machine? There was a limit under the OS as to how long a

Re: Property not resolving

2006-01-11 Thread Clifton Craig
On Tuesday 10 January 2006 7:44 pm, shreedhar natarajan wrote: > Hi all, > > I have a strange problem. > > I have a filelist defined in say filelist.xml and I have a main build.xml > that imports this filelist.xml. filelist refers to 2 properties. for eg. > > id="bb_db" dir="${prop1}" > fi

Re: Ant War Problem

2006-01-11 Thread Clifton Craig
On Wednesday 11 January 2006 9:14 am, General Email wrote: > Hi, > >I'm using JDev 10g which uses Ant v 1.5.4. > > I'm having difficulty with the WAR task in Ant. I have: > > > > > > and I get an error: > > No directory specified for ZipFileSet > > and it

Re: Perform tasks conditionally

2006-01-09 Thread Clifton Craig
Steve, The jar task compares the timestamps of all the files you wish to jar to the preexisting complete jar (if it had been run before) and will not execute if none of them are later than the timestamp of the existing jar. Working backwards from there you have the javac task which compares the

Re: AW: Force PATH env variable - Enabling .DLL loading

2006-01-09 Thread Clifton Craig
Maybe try forking the java task and using an sub-element with it? Using the tag you can set environment variables for the forked process where the JRE runs. My other suggestion would be to distribute the DLL with the Java library which may or may not make more sense depending on your situatio

Re: Looping in Ant

2005-12-06 Thread Clifton Craig
I wouldn't suggest antcontrib. Instead I'd look at setting up the properties specific to each generation run and then use a task like subant or something with a fileset to execute the build against each individual property setup. For example, using antcontrib task would implied the use of the

Re: doesn't use my authentication...

2005-11-14 Thread Clifton Craig
On Monday 14 November 2005 5:40 am, Steve Loughran wrote: > Clifton Craig wrote: > > I'm trying to go over our company proxy with Ivy and I'm having troubles > > getting the proxy to see my authentication info (user name/password). > > I'm > > > usi

doesn't use my authentication...

2005-11-12 Thread Clifton Craig
I'm trying to go over our company proxy with Ivy and I'm having troubles getting the proxy to see my authentication info (user name/password). I'm using the task and supplying it with my correct authentication info and It still doesn't work. So I dumbed down the problem a bit and tried to just

Re: How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
uding > generation of tree reports showing dependencies). > http://www.jayasoft.org/ivy > > Ben > > -Original Message- > From: Clifton Craig [mailto:[EMAIL PROTECTED] > Sent: Friday, November 11, 2005 1:26 PM > To: user@ant.apache.org > Subject: Re: How t

Re: JUnit task not working

2005-11-11 Thread Clifton Craig
I see you're using the ant-junit.jar file. That is the Ant Task wrapper for Junit and you shouldn't need to reference it ordinarily. It's there to define the JUnit task and doesn't include the JUnit core API. You need to include junit.jar in Ant's CLASSPATH or in the CLASSPATH of an explicit tas

Re: How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
> would ultimately be similar to the way Ant 1.7 works. > > HTH, > Matt > > --- Clifton Craig <[EMAIL PROTECTED]> wrote: > > I need to iterate a propertyset which lists a > > project's dependencies. It's > > basically just a list of name/val pairs matching a >

How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
I need to iterate a propertyset which lists a project's dependencies. It's basically just a list of name/val pairs matching a 3rd party product (or open source jar) with a version. I want to execute an Antcall or something of the like to ask our jar repository for the proper jar file so the buil

Re: How to reuse a fileset as a Class-Path in a manifest

2005-11-08 Thread Clifton Craig
Use the map element! Genius! Why didn't I think of that? Works like a charm and it's MUCH better than the ad-hoc beanshell I was using in the interim! Thanx Dominque! -- Clifton C. Craig, Software Engineer [EMAIL PROTECTED] On Tuesday 08 November 2005 2:41 pm, Dominique Devienne wrote: > > I'm t

How to reuse a fileset as a Class-Path in a manifest

2005-11-08 Thread Clifton Craig
Hello All: I'm trying to re-use a fileset pointing to a lib folder containing all of my jars as a manifest Class-Path entry for my project. In short, my approach is to declare a property referencing the fileset object id. This gives me a value such as this: swixml.jar;jdom.jar I am then look

Re: problems creating war file

2005-11-08 Thread Clifton Craig
It looks like you got some redundancy in your war task there. You're grabbing everything under ${outDir}/web/webapp/WEB-INF with the subelement and then you're going out and specifically grabbing the lib and classes folders under your ${outDir}/web/webapp/WEB-INF folder with the lib and classe

How to reuse a fileset as a Class-Path in a manifest

2005-11-08 Thread Clifton Craig
Hello All: I'm trying to re-use a fileset pointing to a lib folder containing all of my jars as a manifest Class-Path entry for my project. In short, my approach is to declare a property referencing the fileset object id. This gives me a value such as this: swixml.jar;jdom.jar I am then look