Thanks for the feedback.
I verified that the HOSTNAME variable is set, but it doesn't get
resolved during the ant build.
[EMAIL PROTECTED]
~/cruisecontrol/projects/webnew-dec2007/netsoft/webnew
$ echo $HOSTNAME
dev02
[EMAIL PROTECTED]
~/cruisecontrol/projects/webnew-dec2007/netsoft/webnew
$ ant
On 1/4/08, Z W <[EMAIL PROTECTED]> wrote:
> I'm trying to use tasks in ant-contrid.
> So I downloaded ant-contrib-1.0b3-bin and put ant-contrib-1.0b3.jar file in
> $ANT_HOME\lib
> [...]
> xmlns:ac="antlib:net.sf.antcontrib">
> [...]
> [antlib:org.apache.tools.ant] Could not load definitions from re
I think you need to do a taskdef...
Something like
Of course, you probably want to get your namespace inline...
Check the docs :)
Z W wrote:
Hi Gurus
I'm trying to use tasks in ant-contrid.
So I downloaded ant-contrib-1.0b3-bin and put ant-contrib-1.0b3.jar file in
$ANT_HOME\lib
I also do
Hi Gurus
I'm trying to use tasks in ant-contrid.
So I downloaded ant-contrib-1.0b3-bin and put ant-contrib-1.0b3.jar file in
$ANT_HOME\lib
I also do the following
:
:
But I'm getting this error
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apach
e/tools/an
I just tried this on a Solaris VM on my desktop and HOSTNAME is not defined by
default. You may want to issue "export HOSTNAME=`hostname`" in your .profile.
Change this as appropriate for your shell.
Dominique Devienne <[EMAIL PROTECTED]> wrote: On 1/4/08, Barry Pape wrote:
> Hopefully this is
On 1/4/08, Barry Pape <[EMAIL PROTECTED]> wrote:
> Hopefully this is a quick and easy question. Is the environment
> attribute of the property task supported on Solaris?
Yes.
> I've been trying
> to use ${env.HOSTNAME} but it doesn't appear to resolve.
Most likely because you have no such env.
Howdy all,
Hopefully this is a quick and easy question. Is the environment
attribute of the property task supported on Solaris? I've been trying
to use ${env.HOSTNAME} but it doesn't appear to resolve.
For instance:
Using ${hostname} for host name
Here is an alternative.
JBoss has shutdown
Just call the shutdown script. No need to mess with jmx. If jobss is n't
running I have no idea how you are going to access a jmx Boolean flag.
If you want to get fancy, you can inspect the shutdown.bat file
I want to write an Ant script that shuts down a JBoss server if it is
running. I know how to access the JMX console via the calls on the Twiddle
tool in Ant. I also know that there is a class in JBoss representing the
server itself:
jboss.system:service=Server
that has a boolean flag called "Sta
mgainty wrote:
>
> you'll need . in the path e.g.
> SET PATH=.;%PATH%Martin
>
Thank you very much for your answer, Martin, now I get it! Totally forgot
about that Path property of windows.
OK, now for anyone who might have the same problem and doesn't have a clue,
just as I did, in a little
you'll need . in the path e.g.
SET PATH=.;%PATH%Martin
__Disclaimer and confidentiality
noteEverything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not en
That worked thanks. I aggregated the two labeled filesets into one .
Robin Chaddock wrote:
elements can be nested, and so can be aggregated in the way you
describe.
I'd suggest steering clear of handling filesets directly, instead always wrap them in
a .
Unfortunately f
elements can be nested, and so can be aggregated in the way you
describe.
I'd suggest steering clear of handling filesets directly, instead always wrap
them in a .
Unfortunately far too many 3d party tasks do use them directly - which is a
pain :(
- Original Message -
From: Darry
The concept is a "fileset" or "path" is great, but I have to label each
one, I can't aggregate them for 2 or more.
I want the above "fileset" to actually be 2 or more filesets as if I had
written them out like:
But be labeled as a single label "my.fileset.unique".
Maybe a is
Hello,
I know this topic has been handled before, but I still can't find the
solution. Whenever I want to checkout from my CVS via Ant I get a Windows
error=2, which means that the system can't find the cvs.exe. But I have
winCVS installed on my local machine. Also I have a copy of cvs.exe in the
I have a problem compiling with Ant via Eclipse and the FDT plugin and
keep getting this error in red:
[exec] Result: 138
followed by
BUILD SUCCESSFUL
but I don't get a swf.
Two of my colleagues are running the same build xml on near identical
setups without any problems... any suggestions
Hi All,
While styling JUnit tests XML files into HTML reports styling hangs and
there is no HTML report generated, I have a lot of XML test files
generated as a result of junit tests (around 40 in nos. having an
average size of 40 KB each).
Does somebody know, how to cope with this?
Thanks fo
17 matches
Mail list logo