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
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
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
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
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
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
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
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
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
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
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
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.
--
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
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
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
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
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 /
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:
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
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
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
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
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
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
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]
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
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
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
>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
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
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
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,
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]
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
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
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
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
37 matches
Mail list logo