> I'm not sure about ~/.ant/lib - but I know if you drop it in
> $ANT_HOME/lib
> it should work with no classpath...
>
> On Thu, 13 Nov 2008, Patrick Waugh wrote:
>
> > I have this:
> >
> > > classpath="${user.home}/.ant/lib/ant-contrib.jar" uri =
> > "http://ant-contrib.sourceforge.net";
>classpath="${user.home}/.ant/lib/bb-ant-tools.jar" />
>classpath="${user.home}/.ant/lib/ant-contrib.jar" uri =
> "http://ant-contrib.sourceforge.net"; description = "Needed to use
> ant-contrib." />
Another way of "installing" would be using Apache Ivy.
http://ant.apache.org/iv
> Ah. Guess I need to go back and read more xml stuff sometime. Yes
> seems like a good practice.
>
> Not sure how it resolves to the right jar with a URL, but as long as
> it works. :)
http://ant.apache.org/manual/CoreTypes/namespace.html
http://ant.apache.org/manual/CoreTypes/antlib.html
2008/11/13 Karr, David <[EMAIL PROTECTED]>:
> I've used both Ant and Maven, and I'm convinced that Maven is a burden
> that is only worthwhile if you really need all of its features. One of
> the big reasons people use Maven is for dependency download and
> management (and sometimes the only reaso
You could use the exec task and the outputproperty attribute...
http://ant.apache.org/manual/CoreTasks/exec.html
On Thu, 13 Nov 2008, Patrick Waugh wrote:
I use Mercurial a DVCS.
I can do this:
[EMAIL PROTECTED]:~/repo/dib/AnimationDemo$ hg id -i
ffd79a345811
which gives me the unique "rev
I use Mercurial a DVCS.
I can do this:
[EMAIL PROTECTED]:~/repo/dib/AnimationDemo$ hg id -i
ffd79a345811
which gives me the unique "revision" which I am compiling. I'd like
to capture that string for use in Ant. What would be the best way to
accomplish this?
Patrick
-
Thanks guys, this works for me:
http://ant-contrib.sourceforge.net"; description = "Needed to use
ant-contrib." />
I'm not sure about ~/.ant/lib - but I know if you drop it in $ANT_HOME/lib
it should work with no classpath...
On Thu, 13 Nov 2008, Patrick Waugh wrote:
I have this:
http://ant-contrib.sourceforge.net"; description = "Needed to use
ant-contrib." />
which works when I specify the c
I have this:
http://ant-contrib.sourceforge.net"; description = "Needed to use
ant-contrib." />
which works when I specify the classpath. It used to work (I'm on
linux obviously) without the classpath entry, as it's supposed to when
you put jar's in the .ant/lib directory.
Anyone know
Ah. Guess I need to go back and read more xml stuff sometime. Yes
seems like a good practice.
Not sure how it resolves to the right jar with a URL, but as long as
it works. :)
On Thu, Nov 13, 2008 at 9:07 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote:
>
> Its a namespace thing you define at th
declaring the xmlns like
and having the jar on the classpath (-lib option)
and you could use the tasks directly without any taskdef.
Jan
>-Ursprüngliche Nachricht-
>Von: Scot P. Floess [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 13. November 2008 16:07
>An: Patrick Waugh
>Cc: A
Have you granted the guest account in Archiva read permission to every
repository?
-Original Message-
From: Burkhardt Stefan (CI/TMP) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 9:56 AM
To: [EMAIL PROTECTED]
Subject: AW: AW: Re: Ivy with archiva
Hi,
Thanks for the repl
Its a namespace thing you define at the top of your build.xml... Mine is
usually
xmlns:ant-contrib = "http://ant-contrib.sourceforge.net";
Thereby making if for me:
On Thu, 13 Nov 2008, Patrick Waugh wrote:
Interesting. works for me, but not
Patrick
On Thu, Nov 13, 2008 at 8:59 AM,
Interesting. works for me, but not
Patrick
On Thu, Nov 13, 2008 at 8:59 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote:
>
> ac is the namespace for Ant Contrib, if - thats the Ant Contrib task if
>
>
>
>
> On Thu, 13 Nov 2008, Patrick Waugh wrote:
>
>> What is ?
>>
>> On Thu, Nov 13, 2008
ac is the namespace for Ant Contrib, if - thats the Ant Contrib task if
On Thu, 13 Nov 2008, Patrick Waugh wrote:
What is ?
On Thu, Nov 13, 2008 at 7:04 AM, <[EMAIL PROTECTED]> wrote:
...
or check the condition with antcontrib if/else in one target
My first version (which works) is:
Hi,
Thanks for the reply. Yes I tried it without the port settings as you
suggested. But with the same result.
Here is the output (just a part) from the console (in debug mode).
Overriding previous definition of reference to ivy.resolved.report
Adding reference: ivy.resolved.report
Overriding p
What is ?
On Thu, Nov 13, 2008 at 7:04 AM, <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>
>>> ...
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> or check the condition with antcontrib if/else in one target
>>>
>>> >>
>>>
>>>
>>>
>>>
>>>
>>>
AntContrib has both:
normal tasks
http://ant-contrib.sourceforge.net/tasks/tasks/index.html
and c++ tasks
http://ant-contrib.sourceforge.net/cpptasks/index.html
Jan
>-Ursprüngliche Nachricht-
>Von: Patrick Waugh [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 13. November 2008 13:
-Original Message-
From: Patrick Waugh [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 1:54 PM
To: Ant Users List
Subject: Re: not working
/*
Thanks. Yes, I can't seem to find the antcontrib... it seems to be
ccptask or something.
I'll check out Antelope. =)
*/
just use
>>
>>
>>
>>
>> ...
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> or check the condition with antcontrib if/else in one target
>>
>> >
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
Thanks. Yes, I can't seem to find the antcontrib... it seems to be
ccptask or something.
I'll check out Antelope. =)
Patrick
On Thu, Nov 13, 2008 at 6:32 AM, Rebhan, Gilbert
<[EMAIL PROTECTED]> wrote:
>
>
> -Original Message-
> From: Patrick Waugh [mailto:[EMAIL PROTECTED]
> Sent: Thur
Patrick Waugh wrote:
> What is wrong?
You need to get ant-contrib :-
http://ant-contrib.sourceforge.net/
--
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: Patrick Waugh [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 1:11 PM
To: Ant Users List
Subject: not working
/*
and line 89 is the . I don't see an task in Ant docs either.
What is wrong?
*/
i wrote =
...
***
or check the condition with antco
I am doing this:
in build.xml, and get this error:
/home/patrick/repo/dib/common/build.xml:89: Problem: failed to create
task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action:
Thanks. Yes, this is the thing I did not understand.
Patrick
On Thu, Nov 13, 2008 at 5:09 AM, Rebhan, Gilbert
<[EMAIL PROTECTED]> wrote:
>
> -Original Message-
> From: Patrick Waugh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2008 11:58 AM
> To: Ant Users List
> Subject: Re:
-Original Message-
From: Patrick Waugh [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 11:58 AM
To: Ant Users List
Subject: Re: Optional if and only if properties file exists?
/*
In other words, I need to test if the property file exists... and then
include that "code" only i
Jan,
On Thu, Nov 13, 2008 at 4:38 AM, <[EMAIL PROTECTED]> wrote:
> , and arent provided by Ant.
> Where do they come from?
bb-ant-tools (Blackberry Ant Tools)
>
>
>
>
> So the subprojects could place that element under or dont.
These aren't "sub-project", and making this a macro do
, and arent provided by Ant.
Where do they come from?
What you could do is defining a makro:
So the subprojects could place that element under or dont.
Jan
>-Ursprüngliche Nachricht-
>Von: Patr
Currently, I use this:
..
and this is in a "common" build.xml. However, there are some projects
that do not require the as they have only one entry point.
Ho
30 matches
Mail list logo