Re: [antxtras] Property helper "n/d" missing

2011-01-03 Thread Wascally Wabbit
Hello Peter, Can you send or post a snippet of your script that's having this problem? -The Wabbit P.N. wrote: Hello! Getting this strange message: [xtras:doforeach] The supplemental property helper "n/d" is not installed. What's wrong? What do I have to install? Using antxtras_3.0.0

Re: [antxtras] Cannot echo variable

2011-01-03 Thread Wascally Wabbit
Hi Peter, Not sure why your original snippet did not work; it should. You're declaring a variable -- so you should use $var: not $ref: (variables and references are distinct). To define a string as a reference, use the scope='project' attribute of the component as in: I've attached an e

Re: [antxtras] Turn off verifying content on start ?

2010-09-12 Thread Wascally Wabbit
Gilbert Rebhan wrote: Using antxtras anyone ? Env = antxtras 2.0.1, ant171, jdk 1.6.0_18 My antscript imports some files with macrodefs right on start via . Some of these macrodefs have attributes that contain properties as desfault value, f.e. attribute="someattr" default="${someproperty} Wh

Re: multiple switch case

2010-05-20 Thread Wascally Wabbit
You can try the task in the AntXtras antlib. URL: http://antxtras.sf.net Marco Gutsche wrote: Hello, it is possible to use multiple case in a switch command, for example: switch value: case a: case b: echo "a or b" case c: echo "c" Thank a

Re: Subversion and ANT

2010-02-01 Thread Wascally Wabbit
Knuplesch, Juergen wrote: Hello, Where do I find a subversion ANT Task to download? I looked at http://ant.apache.org/antlibs/proper.html But I do not find the download for Subversion Task jar. Greetings Juergen You can also try the Svn4Ant project @ http://jwaresoftware.org/wiki/svn4ant

[ANN] AntXtras 2.0.0 (and sub-projects) released.

2009-12-08 Thread Wascally Wabbit
ANNOUNCEMENT: The 2.0.0 release of AntXtras and its major sub-projects has been posted to SourceForge.net for download. Location: http://sf.net/projects/antxtras/ The 2.0.0 release includes a full refresh of all User Guides and improved online documentation. See each project's WHATSNEW file for

[ANN] AntXtras 2.0.0b1 (and sub-projects) released.

2009-03-31 Thread Wascally Wabbit
ANNOUNCEMENT: A new version of AntXtras has been posted to SF.net at http://sf.net/projects/antxtras/. This version of AntXtras represents a significant rework of the last release (0.5.2). In particular, the AntXtras project and its sub-projects have all migrated to a new namespace: 'org.jwareso

Re: execute the final target always

2009-01-17 Thread Wascally Wabbit
Hi Leo, You can try the + combination -OR- the + tryeach option from AntXtras @ http://antxtras.sf.net. Example 1 (using ): This will execute all targets in order even if one or more fail. The 'failproperty' will be set 'true' if at least one failed. You could put a after the

Re: AntX: $map example from guide fails when key is missing?

2008-12-15 Thread Wascally Wabbit
Hi Sagi, A couple of things: 1) Try using ${$prop:p1->@(key)} inside the loop instead of $map: Less overhead and a bit clearer. 2) In AntXtras 0.5.x you cannot assign an empty string to a var (this is fixed in AntXtras 2.0.0 but that's still in alpha) So if the key does not exist in

Re: smoke testing after ant?

2008-11-11 Thread Wascally Wabbit
jpyork wrote: I am just wondering if anyone does automated smoke testing after a build and if so...what program do they use and do they have ant triggering it? I am looking to do a very basic smoke test after my builds and trigger it with ANT...so maybe a login and then hit some basic pages...th

Re: Programmatically create a fileset and reference

2008-05-03 Thread Wascally Wabbit
If you're not averse to creating a little helper class, why not just write a custom file selector that can read your delimited file. Then you can just leverage the built in resource collection mechanisms like: As of 1.7 this item can be used just about wherever the older type was

Re: any while loop task for Ant ?

2008-03-08 Thread Wascally Wabbit
Z W wrote: Hi Is there a while loop task available in Ant ? ant-contrib doesnt seem to have it Look at the task in the antxtras package at antxtras.sf.net. You can supply a condition test and some other goodies. HTH, The Wabbit. --

Re: Iterating a class list

2007-09-30 Thread Wascally Wabbit
If you can use third party libraries see AntXtras(antxtras.sf.net); you can do this like: [your other ant script statements here using ${nextjar}] -The Wabbit James Griggs wrote: I am looking for way to iterate through a property that contains a semicolon delimited list of libraries (jars

Re: Calling a String

2007-07-29 Thread Wascally Wabbit
Not sure what you need to do but if you're trying to print the contents of a object w/o the # information, no luck because both print tasks are 'diagnostic' tasks so currently there's no way to nuke the verbose header junk. But you can try using the Ant echo task with the AntX $ref value URI lik

Re: TImestamping in ANT

2007-07-26 Thread Wascally Wabbit
ating the duration its giving me an error as : Unable to convert 'now' to time duration. compile took -now Here is my code: Is there any thing I have missed. THanks again Wascally Wabbit wrote: Hi, The assign

Re: JWare / AntXTras help

2007-07-24 Thread Wascally Wabbit
utilize a jar in ant buildfiles? Thanks again!!! Wascally Wabbit wrote: You're missing a required jar file: JWare_apis.jar (you need *everything* inside the distro's lib directory). This test script works f

Re: JWare / AntXTras help

2007-07-24 Thread Wascally Wabbit
You're missing a required jar file: JWare_apis.jar (you need *everything* inside the distro's lib directory). This test script works fine (note basedir is "."): warhero wrote: Hey All, I'm trying to get up and running with JWare /

Re: help with some conditional logic..

2007-07-23 Thread Wascally Wabbit
Try the flow control tasks that are in the AntXtras third party package @ antxtras.sf.net. For your example: If you'd like to make sure the property is "true" use: For multiple properties something like: HTH, -The Wabbit warhero wrote:

Re: TImestamping in ANT

2007-07-19 Thread Wascally Wabbit
when I try to run my script after adding assing task it gave an error that " Problem: failed to create task or type assign" THanks Wascally Wabbit wrote: dkhanna01 wrote: I need to find out the time taken by each of the process/target in our build.xml file. Now for doing this I have

Re: Checkout source files from subversion using ANT

2007-07-19 Thread Wascally Wabbit
If you can use thirdparty libraries try the svn4ant library at http://antxtras.sf.net/ You could do what you need like so: User Guide is at: http://antxtras.sf.net/Svn4Ant/docs/pdf/Svn4Ant_UserGuide.pdf -The Wabbit > sarancse wrote: Folks I am working with Red Hat Enterprise Linux environ

Re: TImestamping in ANT

2007-07-19 Thread Wascally Wabbit
dkhanna01 wrote: I need to find out the time taken by each of the process/target in our build.xml file. Now for doing this I have use ANT tstamp task to calculate the start time and end time of the process. Now my question is how do I find out the total time taken by the process, I mean is there

AntXtras v0.5.1 released.

2007-03-25 Thread Wascally Wabbit
ANNOUNCEMENT: Version 0.5.1 of JWare/AntXtras Foundation (AntXtras) is now available for downloading. Change Highlights - o Rebuilt and verified against the latest Ant 1.7 distribution. Resources - Download LATEST from: http://purl.net/jware/download/antx ReleaseN

Version 1.1b1 of Svn4Ant is available.

2007-03-11 Thread Wascally Wabbit
ANNOUNCEMENT: Version 1.1b1 of JWare/AntXtras Svn4Ant (or just 'Svn4Ant') is available from the main AntXtras site, http://antxtras.sourceforge.net/. This release focuses on the CLIENT Svn4Ant components. See the detailed RELEASE-NOTES.txt for a full overview of all changes since 1.0. - Upg

AntXtras/Svn4Ant v1.0 released!

2007-02-11 Thread Wascally Wabbit
ANNOUNCEMENT: Version 1.0 of JWare/AntXtras Svn4Ant (or just 'Svn4Ant') is available from the main AntXtras site, http://antxtras.sourceforge.net/. This is the first all-in-one release that works with working copies and repositories before the big format change in Subversion 1.4.x. Please downlo

[ANN] AntXtras has moved to a new home.

2006-06-15 Thread Wascally Wabbit
The JWare/AntXtras website has moved to SF.net. The new project home URL is now: http://antxtras.sourceforge.net/ Thanks, SSMC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Which command line parameter could get all targets' name in build.xml ?

2005-12-31 Thread Wascally Wabbit
ant -projecthelp gives list of public targets for build.xml in current directory. (Use -f to name alternative build script.) At 04:12 AM 12/31/2005, you wrote: hi all: anybody could give any suggestions ? ant [options] [target [target2 [target3] ...]] Options: -help, -h prin

Re: running mutliple ant files

2005-12-28 Thread Wascally Wabbit
If you can use AntXtras (http://jware.info/) extensions, you could do something like: Example 1: Example 2 (to capture logs per test iff it fails): At 01:51 PM 12/27/2005, you wrote: i'm trying to find a function/loop that will r

Re: api ref doc

2005-04-13 Thread Wascally Wabbit
Luke, for Ant APIs try these: 1) APIs from distrib at: http://antxtras.org/apis/thirdparty/ant/manual/api/ 2) Massaged variant at JDocs (a JavaLobby site thingy): http://www.jdocs.com/ant/1.6.2/api/index.html At 08:50 PM 4/12/2005, you wrote: Hi, I've just subscribed to this list :-) I'm look

Re: Cygwin, Ant, and java.class.path Weirdness

2005-03-18 Thread Wascally Wabbit
>not possible just wait for 1.6.3 out probably by > early > >May I would guess) > > > >unset your CLASSPATH > > > >HTH, > >Matt > > > >--- Wascally Wabbit <[EMAIL PROTECTED]> > >wrote: > > > > > >>Ant Users/Developers

Cygwin, Ant, and java.class.path Weirdness

2005-03-18 Thread Wascally Wabbit
Ant Users/Developers, I noticed some odd Ant behavior on an installation like: Windows 2K Cygwin 1.5.10-3 (will use the 'ant' shell script to run Ant) Bash 2.05b.0(1)-release (i686-pc-cygwin) Ant 1.6.2 Given a CLASSPATH like: U:\pkg\ant-1.6.2\lib\ant.jar;U:\pkg\ant-1.6.2\lib\ant-lau

Re: Internal AntCall and references

2004-12-14 Thread Wascally Wabbit
At 12:06 PM 12/13/2004, you wrote: Don't know about "better" but these are different ways to approach your situation: a) globals (they never die...) b) thread locals c) build listeners Hello, I have created a task that must be 'context' aware. Currently, I stores infor

Re: immutable property

2004-11-03 Thread Wascally Wabbit
This is not quite correct. If you make the "CopyBRBuildArtifacts" target depend on the "prepare" target, then the *project-wide* properties, once created by prepare, would be still available to CopyBRBuildArtifacts. Do like: The ordering of your target execution seems wrong. At 08:53 PM 11/3/2004,

RE: File name to a string

2004-10-24 Thread Wascally Wabbit
At 05:00 PM 10/24/2004, you wrote: <\fileset> ^ TYPO HERE The Wabbit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: auto configuration

2004-10-21 Thread Wascally Wabbit
At 06:29 PM 10/21/2004, you wrote: Your right that would work. I don't know if the build would fail if you try to overwrite a property. It will not. I use this "trick" all the time: loading the properties that should take highest precedence first and those that are basically fallbacks or defaults a

Re: Thinking in Ant...

2004-10-04 Thread Wascally Wabbit
At 10:18 AM 10/4/2004, you wrote: Philosophical discussions of the "Why and Why-Nots of Ant" aside, there are a few Ant extensions that make it easier (than your listed solutions) to do mostly what you want. This group likes Ant-contrib, but I've found lots of other (well supported) extensions that

RE: 's for JDK 1.4+

2004-05-18 Thread Wascally Wabbit
used in constructor documentation. It can only be used in the following types of documentation: class/interface. So I think it's fixed no? My environment: Windoze, Sun JDK 1.4.2_02, Ant 1.6.1, Cygwin At 06:32 PM 5/18/2004, you wrote: > From: Wascally Wabbit [mailto:[EMA

Re: Has anyone written an ant task by extending Task

2003-09-23 Thread Wascally Wabbit
Try "getProject().setNewProperty(THEPROPERTY,THEVALUE);" where THEPROPERTY is the property's name and THEVALUE is the property's value. This sets a write-once, read-many project property (which is what you usually want). - The Wabbit - Original Message - From: "Malik, Yousuff M" <[EMAIL P